/linux-2.4.37.9/arch/mips/kernel/ |
D | cpu-probe.c | 69 struct cpuinfo_mips *c = ¤t_cpu_data; in check_wait() local 72 switch (c->cputype) { in check_wait() 175 static inline void cpu_probe_legacy(struct cpuinfo_mips *c) in cpu_probe_legacy() argument 177 switch (c->processor_id & 0xff00) { in cpu_probe_legacy() 179 c->cputype = CPU_R2000; in cpu_probe_legacy() 180 c->isa_level = MIPS_CPU_ISA_I; in cpu_probe_legacy() 181 c->options = MIPS_CPU_TLB | MIPS_CPU_NOFPUEX; in cpu_probe_legacy() 183 c->options |= MIPS_CPU_FPU; in cpu_probe_legacy() 184 c->tlbsize = 64; in cpu_probe_legacy() 187 if ((c->processor_id & 0xff) == PRID_REV_R3000A) in cpu_probe_legacy() [all …]
|
/linux-2.4.37.9/drivers/net/wan/ |
D | z85230.c | 107 static void z8530_rx_done(struct z8530_channel *c); 108 static void z8530_tx_done(struct z8530_channel *c); 122 static inline u8 read_zsreg(struct z8530_channel *c, u8 reg) in read_zsreg() argument 125 z8530_write_port(c->ctrlio, reg); in read_zsreg() 126 return z8530_read_port(c->ctrlio); in read_zsreg() 137 static inline u8 read_zsdata(struct z8530_channel *c) in read_zsdata() argument 140 r=z8530_read_port(c->dataio); in read_zsdata() 155 static inline void write_zsreg(struct z8530_channel *c, u8 reg, u8 val) in write_zsreg() argument 159 spin_lock_irqsave(c->lock, flags); in write_zsreg() 162 z8530_write_port(c->ctrlio, reg); in write_zsreg() [all …]
|
/linux-2.4.37.9/arch/mips64/kernel/ |
D | cpu-probe.c | 74 struct cpuinfo_mips *c = ¤t_cpu_data; in check_wait() local 77 switch (c->cputype) { in check_wait() 469 static inline void cpu_probe_legacy(struct cpuinfo_mips *c) in cpu_probe_legacy() argument 471 switch (c->processor_id & 0xff00) { in cpu_probe_legacy() 473 c->cputype = CPU_R2000; in cpu_probe_legacy() 474 c->isa_level = MIPS_CPU_ISA_I; in cpu_probe_legacy() 475 c->options = MIPS_CPU_TLB | MIPS_CPU_NOFPUEX; in cpu_probe_legacy() 477 c->options |= MIPS_CPU_FPU; in cpu_probe_legacy() 478 c->tlbsize = 64; in cpu_probe_legacy() 481 if ((c->processor_id & 0xff) == PRID_REV_R3000A) in cpu_probe_legacy() [all …]
|
/linux-2.4.37.9/fs/hfs/ |
D | trans.c | 82 static inline __attribute_const__ unsigned char dehex(char c) { in dehex() argument 83 if ((c>='0')&&(c<='9')) { in dehex() 84 return c-'0'; in dehex() 86 if ((c>='a')&&(c<='f')) { in dehex() 87 return c-'a'+10; in dehex() 89 if ((c>='A')&&(c<='F')) { in dehex() 90 return c-'A'+10; in dehex() 112 unsigned char c; in hfs_mac2nat() local 125 c = *p++; in hfs_mac2nat() 126 if ((c<32) || (c=='/') || (c>126) || (!count && (c=='.'))) { in hfs_mac2nat() [all …]
|
D | ChangeLog | 3 * file.c (hfs_get_block): added hfs_get_block for regular files. 7 * file_hdr.c (hdr_read): added rootinfo behaviour for DID header. 11 * super.c (parse_options): added s_version so that we can select 19 * file_hdr.c: added netatalk appledouble v2 compatible headers. 23 * catalog.c (hfs_cat_move): fixed corruption problem with 28 * file_hdr.c (get/set_dates): got rid of broken afpd times. NOTE: 33 * bdelete.c (del_root): assign bthLNode and bthFNode only if the 41 * sysdep.c (hfs_revalidate_dentry): fix inode dates when there's a 46 * extent.c (new_extent): expand block size variables to handle 49 * mdb.c (hfs_mdb_get): AlBlkSiz shouldn't be capped at 65535. we [all …]
|
/linux-2.4.37.9/fs/jffs2/ |
D | super.c | 76 struct jffs2_sb_info *c = JFFS2_SB_INFO(sb); in jffs2_statfs() local 81 buf->f_blocks = c->flash_size >> PAGE_SHIFT; in jffs2_statfs() 86 spin_lock_bh(&c->erase_completion_lock); in jffs2_statfs() 88 avail = c->dirty_size + c->free_size; in jffs2_statfs() 89 if (avail > c->sector_size * JFFS2_RESERVED_BLOCKS_WRITE) in jffs2_statfs() 90 avail -= c->sector_size * JFFS2_RESERVED_BLOCKS_WRITE; in jffs2_statfs() 98 printk(KERN_DEBUG "flash_size: %08x\n", c->flash_size); in jffs2_statfs() 99 printk(KERN_DEBUG "used_size: %08x\n", c->used_size); in jffs2_statfs() 100 printk(KERN_DEBUG "dirty_size: %08x\n", c->dirty_size); in jffs2_statfs() 101 printk(KERN_DEBUG "free_size: %08x\n", c->free_size); in jffs2_statfs() [all …]
|
D | nodemgmt.c | 65 static int jffs2_do_reserve_space(struct jffs2_sb_info *c, __u32 minsize, __u32 *ofs, __u32 *len); 67 int jffs2_reserve_space(struct jffs2_sb_info *c, __u32 minsize, __u32 *ofs, __u32 *len, int prio) in jffs2_reserve_space() argument 78 down(&c->alloc_sem); in jffs2_reserve_space() 82 spin_lock_bh(&c->erase_completion_lock); in jffs2_reserve_space() 86 while(c->nr_free_blocks + c->nr_erasing_blocks < blocksneeded) { in jffs2_reserve_space() 89 up(&c->alloc_sem); in jffs2_reserve_space() 90 if (c->dirty_size < c->sector_size) { in jffs2_reserve_space() 91 …e, but total dirty size 0x%08x < sector size 0x%08x, so -ENOSPC\n", c->dirty_size, c->sector_size)… in jffs2_reserve_space() 92 spin_unlock_bh(&c->erase_completion_lock); in jffs2_reserve_space() 96 …c->nr_free_blocks, c->nr_erasing_blocks, c->free_size, c->dirty_size, c->used_size, c->erasing_siz… in jffs2_reserve_space() [all …]
|
D | erase.c | 47 struct jffs2_sb_info *c; member 51 static void jffs2_free_all_node_refs(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb); 53 void jffs2_erase_block(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb) in jffs2_erase_block() argument 61 spin_lock_bh(&c->erase_completion_lock); in jffs2_erase_block() 63 list_add(&jeb->list, &c->erase_pending_list); in jffs2_erase_block() 64 c->erasing_size -= c->sector_size; in jffs2_erase_block() 65 spin_unlock_bh(&c->erase_completion_lock); in jffs2_erase_block() 71 instr->mtd = c->mtd; in jffs2_erase_block() 73 instr->len = c->sector_size; in jffs2_erase_block() 78 ((struct erase_priv_struct *)instr->priv)->c = c; in jffs2_erase_block() [all …]
|
D | background.c | 51 static int thread_should_wake(struct jffs2_sb_info *c); 53 void jffs2_garbage_collect_trigger(struct jffs2_sb_info *c) in jffs2_garbage_collect_trigger() argument 55 spin_lock_bh(&c->erase_completion_lock); in jffs2_garbage_collect_trigger() 56 if (c->gc_task && thread_should_wake(c)) in jffs2_garbage_collect_trigger() 57 send_sig(SIGHUP, c->gc_task, 1); in jffs2_garbage_collect_trigger() 58 spin_unlock_bh(&c->erase_completion_lock); in jffs2_garbage_collect_trigger() 62 int jffs2_start_garbage_collect_thread(struct jffs2_sb_info *c) in jffs2_start_garbage_collect_thread() argument 67 if (c->gc_task) in jffs2_start_garbage_collect_thread() 70 init_MUTEX_LOCKED(&c->gc_thread_start); in jffs2_start_garbage_collect_thread() 71 init_completion(&c->gc_thread_exit); in jffs2_start_garbage_collect_thread() [all …]
|
/linux-2.4.37.9/include/linux/ |
D | ctype.h | 22 #define isalnum(c) ((__ismask(c)&(_U|_L|_D)) != 0) argument 23 #define isalpha(c) ((__ismask(c)&(_U|_L)) != 0) argument 24 #define iscntrl(c) ((__ismask(c)&(_C)) != 0) argument 25 #define isdigit(c) ((__ismask(c)&(_D)) != 0) argument 26 #define isgraph(c) ((__ismask(c)&(_P|_U|_L|_D)) != 0) argument 27 #define islower(c) ((__ismask(c)&(_L)) != 0) argument 28 #define isprint(c) ((__ismask(c)&(_P|_U|_L|_D|_SP)) != 0) argument 29 #define ispunct(c) ((__ismask(c)&(_P)) != 0) argument 30 #define isspace(c) ((__ismask(c)&(_S)) != 0) argument 31 #define isupper(c) ((__ismask(c)&(_U)) != 0) argument [all …]
|
D | jhash.h | 24 #define __jhash_mix(a, b, c) \ argument 26 a -= b; a -= c; a ^= (c>>13); \ 27 b -= c; b -= a; b ^= (a<<8); \ 28 c -= a; c -= b; c ^= (b>>13); \ 29 a -= b; a -= c; a ^= (c>>12); \ 30 b -= c; b -= a; b ^= (a<<16); \ 31 c -= a; c -= b; c ^= (b>>5); \ 32 a -= b; a -= c; a ^= (c>>3); \ 33 b -= c; b -= a; b ^= (a<<10); \ 34 c -= a; c -= b; c ^= (b>>15); \ [all …]
|
/linux-2.4.37.9/drivers/message/i2o/ |
D | i2o_pci.c | 48 static void i2o_pci_dispose(struct i2o_controller *c) in i2o_pci_dispose() argument 50 I2O_IRQ_WRITE32(c,0xFFFFFFFF); in i2o_pci_dispose() 51 if(c->bus.pci.irq > 0) in i2o_pci_dispose() 52 free_irq(c->bus.pci.irq, c); in i2o_pci_dispose() 53 iounmap(((u8 *)c->post_port)-0x40); in i2o_pci_dispose() 56 if(c->bus.pci.mtrr_reg0 > 0) in i2o_pci_dispose() 57 mtrr_del(c->bus.pci.mtrr_reg0, 0, 0); in i2o_pci_dispose() 58 if(c->bus.pci.mtrr_reg1 > 0) in i2o_pci_dispose() 59 mtrr_del(c->bus.pci.mtrr_reg1, 0, 0); in i2o_pci_dispose() 72 static int i2o_pci_bind(struct i2o_controller *c, struct i2o_device *dev) in i2o_pci_bind() argument [all …]
|
D | i2o_core.c | 91 static int i2o_systab_send(struct i2o_controller *c); 208 static void i2o_core_reply(struct i2o_handler *h, struct i2o_controller *c, in i2o_core_reply() argument 217 u32 *preserved_msg = (u32*)(c->mem_offset + msg[7]); in i2o_core_reply() 230 i2o_post_message(c, msg[7]); in i2o_core_reply() 255 events[evt_in].iop = c; in i2o_core_reply() 272 up(&c->lct_sem); in i2o_core_reply() 284 c->name); in i2o_core_reply() 353 int i2o_install_device(struct i2o_controller *c, struct i2o_device *d) in i2o_install_device() argument 358 d->controller=c; in i2o_install_device() 360 d->next=c->devices; in i2o_install_device() [all …]
|
/linux-2.4.37.9/lib/zlib_inflate/ |
D | infcodes.c | 23 inflate_codes_statef *c; local 25 c = &WS(z)->working_state; 27 c->mode = START; 28 c->lbits = (Byte)bl; 29 c->dbits = (Byte)bd; 30 c->ltree = tl; 31 c->dtree = td; 33 return c; 52 inflate_codes_statef *c = s->sub.decode.codes; /* codes state */ local 58 while (1) switch (c->mode) [all …]
|
/linux-2.4.37.9/arch/mips/mm/ |
D | c-r4k.c | 648 struct cpuinfo_mips *c = ¤t_cpu_data; in probe_pcache() local 654 switch (c->cputype) { in probe_pcache() 660 c->icache.linesz = 16 << ((config & CONF_IB) >> 5); in probe_pcache() 661 c->icache.ways = 2; in probe_pcache() 662 c->icache.waybit = ffs(icache_size/2) - 1; in probe_pcache() 665 c->dcache.linesz = 16 << ((config & CONF_DB) >> 4); in probe_pcache() 666 c->dcache.ways = 2; in probe_pcache() 667 c->dcache.waybit= ffs(dcache_size/2) - 1; in probe_pcache() 669 c->options |= MIPS_CPU_CACHE_CDEX_P; in probe_pcache() 675 c->icache.linesz = 16 << ((config & CONF_IB) >> 5); in probe_pcache() [all …]
|
/linux-2.4.37.9/arch/mips64/mm/ |
D | c-r4k.c | 648 struct cpuinfo_mips *c = ¤t_cpu_data; in probe_pcache() local 654 switch (c->cputype) { in probe_pcache() 660 c->icache.linesz = 16 << ((config & CONF_IB) >> 5); in probe_pcache() 661 c->icache.ways = 2; in probe_pcache() 662 c->icache.waybit = ffs(icache_size/2) - 1; in probe_pcache() 665 c->dcache.linesz = 16 << ((config & CONF_DB) >> 4); in probe_pcache() 666 c->dcache.ways = 2; in probe_pcache() 667 c->dcache.waybit= ffs(dcache_size/2) - 1; in probe_pcache() 669 c->options |= MIPS_CPU_CACHE_CDEX_P; in probe_pcache() 675 c->icache.linesz = 16 << ((config & CONF_IB) >> 5); in probe_pcache() [all …]
|
/linux-2.4.37.9/crypto/ |
D | sha1.c | 61 u32 a, b, c, d, e; in sha1_transform() local 71 c = state[2]; in sha1_transform() 76 R0(a,b,c,d,e, 0); R0(e,a,b,c,d, 1); R0(d,e,a,b,c, 2); R0(c,d,e,a,b, 3); in sha1_transform() 77 R0(b,c,d,e,a, 4); R0(a,b,c,d,e, 5); R0(e,a,b,c,d, 6); R0(d,e,a,b,c, 7); in sha1_transform() 78 R0(c,d,e,a,b, 8); R0(b,c,d,e,a, 9); R0(a,b,c,d,e,10); R0(e,a,b,c,d,11); in sha1_transform() 79 R0(d,e,a,b,c,12); R0(c,d,e,a,b,13); R0(b,c,d,e,a,14); R0(a,b,c,d,e,15); in sha1_transform() 80 R1(e,a,b,c,d,16); R1(d,e,a,b,c,17); R1(c,d,e,a,b,18); R1(b,c,d,e,a,19); in sha1_transform() 81 R2(a,b,c,d,e,20); R2(e,a,b,c,d,21); R2(d,e,a,b,c,22); R2(c,d,e,a,b,23); in sha1_transform() 82 R2(b,c,d,e,a,24); R2(a,b,c,d,e,25); R2(e,a,b,c,d,26); R2(d,e,a,b,c,27); in sha1_transform() 83 R2(c,d,e,a,b,28); R2(b,c,d,e,a,29); R2(a,b,c,d,e,30); R2(e,a,b,c,d,31); in sha1_transform() [all …]
|
D | md5.c | 45 u32 a, b, c, d; in md5_transform() local 49 c = hash[2]; in md5_transform() 52 MD5STEP(F1, a, b, c, d, in[0] + 0xd76aa478, 7); in md5_transform() 53 MD5STEP(F1, d, a, b, c, in[1] + 0xe8c7b756, 12); in md5_transform() 54 MD5STEP(F1, c, d, a, b, in[2] + 0x242070db, 17); in md5_transform() 55 MD5STEP(F1, b, c, d, a, in[3] + 0xc1bdceee, 22); in md5_transform() 56 MD5STEP(F1, a, b, c, d, in[4] + 0xf57c0faf, 7); in md5_transform() 57 MD5STEP(F1, d, a, b, c, in[5] + 0x4787c62a, 12); in md5_transform() 58 MD5STEP(F1, c, d, a, b, in[6] + 0xa8304613, 17); in md5_transform() 59 MD5STEP(F1, b, c, d, a, in[7] + 0xfd469501, 22); in md5_transform() [all …]
|
D | md4.c | 61 #define ROUND1(a,b,c,d,k,s) (a = lshift(a + F(b,c,d) + k, s)) argument 62 #define ROUND2(a,b,c,d,k,s) (a = lshift(a + G(b,c,d) + k + (u32)0x5A827999,s)) argument 63 #define ROUND3(a,b,c,d,k,s) (a = lshift(a + H(b,c,d) + k + (u32)0x6ED9EBA1,s)) argument 84 u32 a, b, c, d; in md4_transform() local 88 c = hash[2]; in md4_transform() 91 ROUND1(a, b, c, d, in[0], 3); in md4_transform() 92 ROUND1(d, a, b, c, in[1], 7); in md4_transform() 93 ROUND1(c, d, a, b, in[2], 11); in md4_transform() 94 ROUND1(b, c, d, a, in[3], 19); in md4_transform() 95 ROUND1(a, b, c, d, in[4], 3); in md4_transform() [all …]
|
/linux-2.4.37.9/drivers/video/ |
D | vgacon.c | 85 static void vgacon_init(struct vc_data *c, int init); 86 static void vgacon_deinit(struct vc_data *c); 87 static void vgacon_cursor(struct vc_data *c, int mode); 88 static int vgacon_switch(struct vc_data *c); 89 static int vgacon_blank(struct vc_data *c, int blank); 90 static int vgacon_font_op(struct vc_data *c, struct console_font_op *op); 91 static int vgacon_set_palette(struct vc_data *c, unsigned char *table); 92 static int vgacon_scrolldelta(struct vc_data *c, int lines); 93 static int vgacon_set_origin(struct vc_data *c); 94 static void vgacon_save_screen(struct vc_data *c); [all …]
|
/linux-2.4.37.9/arch/x86_64/kernel/ |
D | setup.c | 366 static int __init get_model_name(struct cpuinfo_x86 *c) in get_model_name() argument 373 v = (unsigned int *) c->x86_model_id; in get_model_name() 377 c->x86_model_id[48] = 0; in get_model_name() 382 static void __init display_cacheinfo(struct cpuinfo_x86 *c) in display_cacheinfo() argument 396 c->x86_cache_size=(ecx>>24)+(edx>>24); in display_cacheinfo() 403 c->x86_cache_size = ecx_2 >> 16; in display_cacheinfo() 404 c->x86_tlbsize = ((ebx>>16)&0xff) + ((ebx_2>>16)&0xfff) + in display_cacheinfo() 408 cpuid(0x80000007, &dummy, &dummy, &dummy, &c->x86_power); in display_cacheinfo() 411 c->x86_virt_bits = (eax >> 8) & 0xff; in display_cacheinfo() 412 c->x86_phys_bits = eax & 0xff; in display_cacheinfo() [all …]
|
/linux-2.4.37.9/drivers/pci/ |
D | gen-devlist.c | 13 pq(FILE *f, const char *c) in pq() argument 15 while (*c) { in pq() 16 if (*c == '"') in pq() 19 fputc(*c, f); in pq() 20 if (*c == '?' && c[1] == '?') { in pq() 25 c++; in pq() 32 char line[1024], *c, *bra, vend[8]; in main() local 48 if ((c = strchr(line, '\n'))) in main() 49 *c = 0; in main() 66 c = line + 5; in main() [all …]
|
/linux-2.4.37.9/arch/ppc64/xmon/ |
D | start.c | 93 int i, c, ct; in xmon_write() 101 c = p[i]; in xmon_write() 102 if (c == '\n' && !ct) { in xmon_write() 103 c = '\r'; in xmon_write() 108 printk("%c", c); in xmon_write() 112 *sccd = c; in xmon_write() 127 int i, c; in xmon_read() 136 c = *sccd; in xmon_read() 137 } while (c == 0x11 || c == 0x13); in xmon_read() 138 *p++ = c; in xmon_read() [all …]
|
/linux-2.4.37.9/arch/ppc/boot/common/ |
D | misc-common.c | 52 void putc(const char c); 66 extern void serial_putc(unsigned long com_port, unsigned char c); 106 putc(const char c) in putc() argument 111 serial_putc(com_port, c); in putc() 112 if ( c == '\n' ) in putc() 119 if ( c == '\n' ) { in putc() 125 } else if (c == '\r') { in putc() 127 } else if (c == '\b') { in putc() 132 vidmem [ ( x + cols * y ) * 2 ] = c; in putc() 151 char c; in puts() local [all …]
|
/linux-2.4.37.9/Documentation/DocBook/ |
D | Makefile | 35 %.sgml: %.c 56 wanbook.sgml: wanbook.tmpl $(TOPDIR)/drivers/net/wan/syncppp.c 57 $(TOPDIR)/scripts/docgen $(TOPDIR)/drivers/net/wan/syncppp.c \ 60 z8530book.sgml: z8530book.tmpl $(TOPDIR)/drivers/net/wan/z85230.c 61 $(TOPDIR)/scripts/docgen $(TOPDIR)/drivers/net/wan/z85230.c \ 64 via-audio.sgml: via-audio.tmpl $(TOPDIR)/drivers/sound/via82cxxx_audio.c 65 $(TOPDIR)/scripts/docgen $(TOPDIR)/drivers/sound/via82cxxx_audio.c \ 71 sis900.sgml: sis900.tmpl $(TOPDIR)/drivers/net/sis900.c 72 $(TOPDIR)/scripts/docgen $(TOPDIR)/drivers/net/sis900.c \ 78 mcabook.sgml: mcabook.tmpl $(TOPDIR)/arch/i386/kernel/mca.c [all …]
|