/linux-2.4.37.9/crypto/ |
D | scatterwalk.c | 31 void *scatterwalk_whichbuf(struct scatter_walk *walk, unsigned int nbytes, void *scratch) in scatterwalk_whichbuf() argument 33 if (nbytes <= walk->len_this_page && in scatterwalk_whichbuf() 34 (((unsigned long)walk->data) & (PAGE_CACHE_SIZE - 1)) + nbytes <= in scatterwalk_whichbuf() 36 return walk->data; in scatterwalk_whichbuf() 49 void scatterwalk_start(struct scatter_walk *walk, struct scatterlist *sg) in scatterwalk_start() argument 53 walk->sg = sg; in scatterwalk_start() 55 walk->page = sg->page; in scatterwalk_start() 56 walk->len_this_segment = sg->length; in scatterwalk_start() 59 walk->len_this_page = min(sg->length, rest_of_page); in scatterwalk_start() 60 walk->offset = sg->offset; in scatterwalk_start() [all …]
|
D | scatterwalk.h | 45 void *scatterwalk_whichbuf(struct scatter_walk *walk, unsigned int nbytes, void *scratch); 46 void scatterwalk_start(struct scatter_walk *walk, struct scatterlist *sg); 47 int scatterwalk_copychunks(void *buf, struct scatter_walk *walk, size_t nbytes, int out); 48 void scatterwalk_map(struct scatter_walk *walk, int out); 49 void scatterwalk_done(struct scatter_walk *walk, int out, int more);
|
/linux-2.4.37.9/fs/ntfs/ |
D | dir.c | 113 static int ntfs_allocate_index_block(ntfs_iterate_s *walk) in ntfs_allocate_index_block() argument 119 ntfs_volume *vol = walk->dir->vol; in ntfs_allocate_index_block() 122 allocation = ntfs_find_attr(walk->dir, vol->at_index_allocation, I30); in ntfs_allocate_index_block() 126 error = ntfs_create_attr(walk->dir, vol->at_index_allocation, in ntfs_allocate_index_block() 131 error = ntfs_create_attr(walk->dir, vol->at_bitmap, I30, bmp, in ntfs_allocate_index_block() 136 bitmap = ntfs_find_attr(walk->dir, vol->at_bitmap, I30); in ntfs_allocate_index_block() 153 error = ntfs_read_attr(walk->dir, vol->at_bitmap, I30, 0, &io); in ntfs_allocate_index_block() 173 error = ntfs_read_attr(walk->dir, vol->at_bitmap, I30, i, &io); in ntfs_allocate_index_block() 182 walk->newblock = (i * 8 + bit) * walk->dir->u.index.clusters_per_record; in ntfs_allocate_index_block() 184 error = ntfs_write_attr(walk->dir, vol->at_bitmap, I30, i, &io); in ntfs_allocate_index_block() [all …]
|
D | dir.h | 35 int ntfs_getdir_byname(ntfs_iterate_s *walk); 41 int ntfs_getdir_byposition(ntfs_iterate_s *walk);
|
D | fs.c | 526 ntfs_iterate_s walk; in ntfs_lookup() local 531 walk.name = NULL; in ntfs_lookup() 532 walk.namelen = 0; in ntfs_lookup() 535 d->d_name.len, &walk.name, &walk.namelen); in ntfs_lookup() 545 walk.type = BY_NAME; in ntfs_lookup() 546 walk.dir = NTFS_LINO2NINO(dir); in ntfs_lookup() 547 walk.result = item; in ntfs_lookup() 548 if (ntfs_getdir_byname(&walk)) in ntfs_lookup() 552 ntfs_free(walk.name); in ntfs_lookup() 556 ntfs_free(walk.name); in ntfs_lookup()
|
/linux-2.4.37.9/arch/sparc64/kernel/ |
D | pci_common.c | 18 struct list_head *walk = &pbus->devices; in pci_fixup_host_bridge_self() local 20 walk = walk->next; in pci_fixup_host_bridge_self() 21 while (walk != &pbus->devices) { in pci_fixup_host_bridge_self() 22 struct pci_dev *pdev = pci_dev_b(walk); in pci_fixup_host_bridge_self() 29 walk = walk->next; in pci_fixup_host_bridge_self() 234 struct list_head *walk = &pbus->devices; in pci_fill_in_pbm_cookies() local 239 walk = walk->next; in pci_fill_in_pbm_cookies() 240 while (walk != &pbus->devices) { in pci_fill_in_pbm_cookies() 241 struct pci_dev *pdev = pci_dev_b(walk); in pci_fill_in_pbm_cookies() 242 struct list_head *walk_next = walk->next; in pci_fill_in_pbm_cookies() [all …]
|
D | pci.c | 211 struct list_head *walk = pci_onboard->next; in pci_reorder_devs() local 213 while (walk != pci_onboard) { in pci_reorder_devs() 214 struct pci_dev *pdev = pci_dev_g(walk); in pci_reorder_devs() 215 struct list_head *walk_next = walk->next; in pci_reorder_devs() 218 list_del(walk); in pci_reorder_devs() 219 list_add(walk, pci_onboard); in pci_reorder_devs() 222 walk = walk_next; in pci_reorder_devs()
|
D | pci_sabre.c | 1144 struct list_head *walk = &sabre_bus->devices; in apb_init() local 1146 for (walk = walk->next; walk != &sabre_bus->devices; walk = walk->next) { in apb_init() 1147 struct pci_dev *pdev = pci_dev_b(walk); in apb_init() 1202 struct list_head *walk; in sabre_scan_bus() local 1242 walk = &sabre_bus->children; in sabre_scan_bus() 1243 for (walk = walk->next; walk != &sabre_bus->children; walk = walk->next) { in sabre_scan_bus() 1244 struct pci_bus *pbus = pci_bus_b(walk); in sabre_scan_bus()
|
/linux-2.4.37.9/fs/fat/ |
D | cache.c | 158 struct fat_cache *walk; in fat_cache_lookup() local 164 for (walk = fat_cache; walk; walk = walk->next) in fat_cache_lookup() 165 if (inode->i_dev == walk->device in fat_cache_lookup() 166 && walk->start_cluster == first in fat_cache_lookup() 167 && walk->file_cluster <= cluster in fat_cache_lookup() 168 && walk->file_cluster > *f_clu) { in fat_cache_lookup() 169 *d_clu = walk->disk_cluster; in fat_cache_lookup() 171 printk("cache hit: %d (%d)\n",walk->file_cluster,*d_clu); in fat_cache_lookup() 173 if ((*f_clu = walk->file_cluster) == cluster) { in fat_cache_lookup() 188 struct fat_cache *walk; in list_cache() local [all …]
|
D | misc.c | 60 char *walk; in fat_is_binary() local 68 for (walk = ascii_extensions; *walk; walk += 3) in fat_is_binary() 69 if (!strncmp(extension,walk,3)) return 0; in fat_is_binary()
|
/linux-2.4.37.9/net/atm/ |
D | addr.c | 67 struct atm_dev_addr **walk; in atm_add_addr() local 74 for (walk = &dev->local; *walk; walk = &(*walk)->next) in atm_add_addr() 75 if (identical(&(*walk)->addr,addr)) { in atm_add_addr() 79 *walk = kmalloc(sizeof(struct atm_dev_addr), GFP_ATOMIC); in atm_add_addr() 80 if (!*walk) { in atm_add_addr() 84 (*walk)->addr = *addr; in atm_add_addr() 85 (*walk)->next = NULL; in atm_add_addr() 95 struct atm_dev_addr **walk,*this; in atm_del_addr() local 102 for (walk = &dev->local; *walk; walk = &(*walk)->next) in atm_del_addr() 103 if (identical(&(*walk)->addr,addr)) break; in atm_del_addr() [all …]
|
D | atm_misc.c | 49 struct atm_vcc *walk; in check_ci() local 52 walk = s->protinfo.af_atm; in check_ci() 53 if (walk->dev != vcc->dev) in check_ci() 55 if (test_bit(ATM_VF_ADDR,&walk->flags) && walk->vpi == vpi && in check_ci() 56 walk->vci == vci && ((walk->qos.txtp.traffic_class != in check_ci() 58 (walk->qos.rxtp.traffic_class != ATM_NONE && in check_ci()
|
D | clip.c | 95 struct clip_vcc **walk; in unlink_clip_vcc() local 103 for (walk = &entry->vccs; *walk; walk = &(*walk)->next) in unlink_clip_vcc() 104 if (*walk == clip_vcc) { in unlink_clip_vcc() 107 *walk = clip_vcc->next; /* atomic */ in unlink_clip_vcc()
|
/linux-2.4.37.9/arch/sparc/mm/ |
D | extable.c | 17 const struct exception_table_entry *walk; in search_one_table() local 33 for (walk = start; walk <= end; walk++) { in search_one_table() 34 if (walk->fixup == 0) { in search_one_table() 36 walk++; in search_one_table() 40 if (walk->insn == value) in search_one_table() 41 return walk->fixup; in search_one_table() 45 for (walk = start; walk <= (end - 1); walk++) { in search_one_table() 46 if (walk->fixup) in search_one_table() 49 if (walk[0].insn <= value && in search_one_table() 50 walk[1].insn > value) { in search_one_table() [all …]
|
/linux-2.4.37.9/arch/sparc64/mm/ |
D | extable.c | 17 const struct exception_table_entry *walk; in search_one_table() local 33 for (walk = start; walk <= end; walk++) { in search_one_table() 34 if (walk->fixup == 0) { in search_one_table() 36 walk++; in search_one_table() 40 if (walk->insn == value) in search_one_table() 41 return walk->fixup; in search_one_table() 45 for (walk = start; walk <= (end - 1); walk++) { in search_one_table() 46 if (walk->fixup) in search_one_table() 49 if (walk[0].insn <= value && in search_one_table() 50 walk[1].insn > value) { in search_one_table() [all …]
|
/linux-2.4.37.9/drivers/atm/ |
D | idt77105.c | 90 struct idt77105_priv *walk; in idt77105_stats_timer_func() local 95 for (walk = idt77105_all; walk; walk = walk->next) { in idt77105_stats_timer_func() 96 dev = walk->dev; in idt77105_stats_timer_func() 98 stats = &walk->stats; in idt77105_stats_timer_func() 119 struct idt77105_priv *walk; in idt77105_restart_timer_func() local 124 for (walk = idt77105_all; walk; walk = walk->next) { in idt77105_restart_timer_func() 125 dev = walk->dev; in idt77105_restart_timer_func() 139 PUT( walk->old_mcr ,MCR); in idt77105_restart_timer_func() 331 struct idt77105_priv *walk, *prev; in idt77105_stop() local 339 for (prev = NULL, walk = idt77105_all ; in idt77105_stop() [all …]
|
D | suni.c | 61 struct suni_priv *walk; in suni_hz() local 65 for (walk = sunis; walk; walk = walk->next) { in suni_hz() 66 dev = walk->dev; in suni_hz() 67 stats = &walk->sonet_stats; in suni_hz() 269 struct suni_priv **walk; in suni_stop() local 274 for (walk = &sunis; *walk != PRIV(dev); in suni_stop() 275 walk = &PRIV((*walk)->dev)->next); in suni_stop() 276 *walk = PRIV((*walk)->dev)->next; in suni_stop()
|
D | atmtcp.c | 243 struct atm_vcc *walk; in atmtcp_c_close() local 255 walk = s->protinfo.af_atm; in atmtcp_c_close() 256 if (walk->dev != atmtcp_dev) in atmtcp_c_close() 258 wake_up(&walk->sleep); in atmtcp_c_close()
|
/linux-2.4.37.9/arch/arm/kernel/ |
D | bios32.c | 373 struct list_head *walk; in pcibios_fixup_bus() local 383 for (walk = bus->devices.next; walk != &bus->devices; walk = walk->next) { in pcibios_fixup_bus() 384 struct pci_dev *dev = pci_dev_b(walk); in pcibios_fixup_bus() 417 for (walk = bus->devices.next; walk != &bus->devices; walk = walk->next) { in pcibios_fixup_bus() 418 struct pci_dev *dev = pci_dev_b(walk); in pcibios_fixup_bus()
|
/linux-2.4.37.9/net/sched/ |
D | cls_tcindex.c | 178 struct tcindex_filter **walk = NULL; in __tcindex_delete() local 181 for (walk = p->h+i; *walk; walk = &(*walk)->next) in __tcindex_delete() 182 if (&(*walk)->result == r) in __tcindex_delete() 187 f = *walk; in __tcindex_delete() 190 *walk = f->next; in __tcindex_delete() 227 struct tcindex_filter **walk; in tcindex_change() local 356 for (walk = p->h+(handle % p->hash); *walk; walk = &(*walk)->next) in tcindex_change() 359 *walk = f; in tcindex_change()
|
D | sch_atm.c | 95 struct atm_flow_data *walk; in find_flow() local 98 for (walk = qdisc->flows; walk; walk = walk->next) in find_flow() 99 if (walk == flow) return 1; in find_flow()
|
/linux-2.4.37.9/fs/msdos/ |
D | namei.c | 54 char *walk; in msdos_format_name() local 70 for (walk = res; len && walk-res < 8; walk++) { in msdos_format_name() 84 if((res==walk) && (c==0xE5)) c=0x05; in msdos_format_name() 87 *walk = (!opts->nocase && c >= 'a' && c <= 'z') ? c-32 : c; in msdos_format_name() 97 while (walk-res < 8) *walk++ = ' '; in msdos_format_name() 98 while (len > 0 && walk-res < MSDOS_NAME) { in msdos_format_name() 116 *walk++ = (!opts->nocase && c >= 'a' && c <= 'z') ? c-32 : c; in msdos_format_name() 121 while (walk-res < MSDOS_NAME) *walk++ = ' '; in msdos_format_name()
|
/linux-2.4.37.9/arch/sparc/kernel/ |
D | pcic.c | 641 struct list_head *walk; in pcibios_fixup_bus() local 663 walk = &bus->devices; in pcibios_fixup_bus() 664 for (walk = walk->next; walk != &bus->devices; walk = walk->next) { in pcibios_fixup_bus() 665 struct pci_dev *dev = pci_dev_b(walk); in pcibios_fixup_bus()
|
/linux-2.4.37.9/net/bridge/ |
D | br_fdb.c | 206 struct __fdb_entry *walk; in br_fdb_get_entries() local 209 walk = (struct __fdb_entry *)_buf; in br_fdb_get_entries() 237 err = copy_to_user(walk, &ent, sizeof(struct __fdb_entry)); in br_fdb_get_entries() 251 walk++; in br_fdb_get_entries()
|
/linux-2.4.37.9/drivers/block/ |
D | genhd.c | 145 walk_gendisk(int (*walk)(struct gendisk *, void *), void *data) in walk_gendisk() 153 if ((error = walk(gp, data))) in walk_gendisk()
|