Home
last modified time | relevance | path

Searched refs:loop (Results 1 – 25 of 30) sorted by relevance

12

/fs/afs/
Dvolume.c51 int ret, loop; in afs_volume_lookup() local
71 for (loop = 0; loop < vlocation->vldb.nservers; loop++) in afs_volume_lookup()
72 srvtmask |= vlocation->vldb.srvtmask[loop]; in afs_volume_lookup()
116 for (loop = 0; loop < 8; loop++) { in afs_volume_lookup()
117 if (vlocation->vldb.srvtmask[loop] & (1 << volume->type)) { in afs_volume_lookup()
119 volume->cell, &vlocation->vldb.servers[loop]); in afs_volume_lookup()
162 for (loop = volume->nservers - 1; loop >= 0; loop--) in afs_volume_lookup()
163 afs_put_server(volume->servers[loop]); in afs_volume_lookup()
175 int loop; in afs_put_volume() local
206 for (loop = volume->nservers - 1; loop >= 0; loop--) in afs_put_volume()
[all …]
Dvlclient.c67 int loop; in afs_deliver_vl_get_entry_by_xxx() local
82 for (loop = 0; loop < 64; loop++) in afs_deliver_vl_get_entry_by_xxx()
83 entry->name[loop] = ntohl(*bp++); in afs_deliver_vl_get_entry_by_xxx()
84 entry->name[loop] = 0; in afs_deliver_vl_get_entry_by_xxx()
90 for (loop = 0; loop < 8; loop++) in afs_deliver_vl_get_entry_by_xxx()
91 entry->servers[loop].s_addr = *bp++; in afs_deliver_vl_get_entry_by_xxx()
95 for (loop = 0; loop < 8; loop++) { in afs_deliver_vl_get_entry_by_xxx()
97 entry->srvtmask[loop] = 0; in afs_deliver_vl_get_entry_by_xxx()
99 entry->srvtmask[loop] |= AFS_VOL_VTM_RW; in afs_deliver_vl_get_entry_by_xxx()
101 entry->srvtmask[loop] |= AFS_VOL_VTM_RO; in afs_deliver_vl_get_entry_by_xxx()
[all …]
Dcmservice.c170 int ret, loop; in afs_deliver_cb_callback() local
219 for (loop = call->count; loop > 0; loop--, cb++) { in afs_deliver_cb_callback()
261 for (loop = call->count; loop > 0; loop--, cb++) { in afs_deliver_cb_callback()
438 unsigned loop; in afs_deliver_cb_probe_uuid() local
480 for (loop = 0; loop < 6; loop++) in afs_deliver_cb_probe_uuid()
481 r->node[loop] = ntohl(b[loop + 5]); in afs_deliver_cb_probe_uuid()
510 int loop, nifs; in SRXAFSCB_TellMeAboutYourself() local
547 for (loop = 0; loop < 6; loop++) in SRXAFSCB_TellMeAboutYourself()
548 reply.ia.uuid[loop + 5] = htonl((s8) afs_uuid.node[loop]); in SRXAFSCB_TellMeAboutYourself()
551 for (loop = 0; loop < nifs; loop++) { in SRXAFSCB_TellMeAboutYourself()
[all …]
Dsecurity.c55 int loop; in afs_zap_permits() local
59 for (loop = permits->count - 1; loop >= 0; loop--) in afs_zap_permits()
60 key_put(permits->permits[loop].key); in afs_zap_permits()
134 int count, loop; in afs_cache_permit() local
177 for (loop = count; loop > 0; loop--) { in afs_cache_permit()
224 int loop, ret; in afs_check_permit() local
249 for (loop = permits->count; loop > 0; loop--) { in afs_check_permit()
Dwrite.c281 unsigned count, loop; in afs_kill_pages() local
298 for (loop = 0; loop < count; loop++) { in afs_kill_pages()
299 ClearPageUptodate(pv.pages[loop]); in afs_kill_pages()
301 SetPageError(pv.pages[loop]); in afs_kill_pages()
302 end_page_writeback(pv.pages[loop]); in afs_kill_pages()
322 int loop, ret; in afs_write_back_from_locked_page() local
356 for (loop = 0; loop < n; loop++) { in afs_write_back_from_locked_page()
357 page = pages[loop]; in afs_write_back_from_locked_page()
374 count += loop; in afs_write_back_from_locked_page()
375 if (loop < n) { in afs_write_back_from_locked_page()
[all …]
Drxrpc.c248 unsigned count, n, loop, offset, to; in afs_send_pages() local
266 loop = 0; in afs_send_pages()
270 if (first + loop >= last) in afs_send_pages()
274 iov->iov_base = kmap(pages[loop]) + offset; in afs_send_pages()
286 if (first + loop >= last) in afs_send_pages()
290 kunmap(pages[loop]); in afs_send_pages()
293 } while (++loop < count); in afs_send_pages()
296 for (loop = 0; loop < count; loop++) in afs_send_pages()
297 put_page(pages[loop]); in afs_send_pages()
Dcache.c375 int loop, nr_pages; in afs_vnode_cache_now_uncached() local
391 for (loop = 0; loop < nr_pages; loop++) in afs_vnode_cache_now_uncached()
392 ClearPageFsCache(pvec.pages[loop]); in afs_vnode_cache_now_uncached()
Dfsclient.c559 int loop; in afs_fs_give_up_callbacks() local
589 for (loop = ncallbacks; loop > 0; loop--) { in afs_fs_give_up_callbacks()
/fs/ramfs/
Dfile-nommu.c64 unsigned long npages, xpages, loop; in ramfs_nommu_expand_for_mapping() local
94 for (loop = npages; loop < xpages; loop++) in ramfs_nommu_expand_for_mapping()
95 __free_page(pages + loop); in ramfs_nommu_expand_for_mapping()
103 for (loop = 0; loop < npages; loop++) { in ramfs_nommu_expand_for_mapping()
104 struct page *page = pages + loop; in ramfs_nommu_expand_for_mapping()
106 ret = add_to_page_cache_lru(page, inode->i_mapping, loop, in ramfs_nommu_expand_for_mapping()
122 while (loop < npages) in ramfs_nommu_expand_for_mapping()
123 __free_page(pages + loop++); in ramfs_nommu_expand_for_mapping()
204 unsigned long maxpages, lpages, nr, loop, ret; in ramfs_nommu_get_unmapped_area() local
238 for (loop = lpages; loop > 1; loop--) in ramfs_nommu_get_unmapped_area()
[all …]
/fs/cachefiles/
Dkey.c42 int loop, len, max, seg, mark, print; in cachefiles_cook_key() local
50 for (loop = 2; loop < keylen; loop++) { in cachefiles_cook_key()
51 ch = raw[loop]; in cachefiles_cook_key()
102 for (loop = keylen; loop > 0; loop--) { in cachefiles_cook_key()
121 for (loop = keylen; loop > 0; loop--) { in cachefiles_cook_key()
Dnamei.c36 unsigned keylen, loop; in __cachefiles_printk_object() local
73 for (loop = 0; loop < keylen; loop++) in __cachefiles_printk_object()
74 printk("%02x", keybuf[loop]); in __cachefiles_printk_object()
/fs/
Dbinfmt_elf_fdpic.c129 int retval, loop; in elf_fdpic_fetch_phdrs() local
148 for (loop = 0; loop < params->hdr.e_phnum; loop++, phdr++) { in elf_fdpic_fetch_phdrs()
488 int loop; in create_elf_fdpic_tables() local
669 for (loop = bprm->argc; loop > 0; loop--) { in create_elf_fdpic_tables()
681 for (loop = bprm->envc; loop > 0; loop--) { in create_elf_fdpic_tables()
753 int loop, ret; in elf_fdpic_map_file() local
757 for (loop = 0; loop < params->hdr.e_phnum; loop++) in elf_fdpic_map_file()
758 if (params->phdrs[loop].p_type == PT_LOAD) in elf_fdpic_map_file()
797 for (loop = loadmap->nsegs; loop > 0; loop--, seg++) { in elf_fdpic_map_file()
813 for (loop = 0; loop < params->hdr.e_phnum; loop++, phdr++) { in elf_fdpic_map_file()
[all …]
Dinode.c1658 unsigned int loop; in inode_init_early() local
1676 for (loop = 0; loop < (1U << i_hash_shift); loop++) in inode_init_early()
1677 INIT_HLIST_HEAD(&inode_hashtable[loop]); in inode_init_early()
1682 unsigned int loop; in inode_init() local
1706 for (loop = 0; loop < (1U << i_hash_shift); loop++) in inode_init()
1707 INIT_HLIST_HEAD(&inode_hashtable[loop]); in inode_init()
Ddcache.c3020 unsigned int loop; in dcache_init_early() local
3038 for (loop = 0; loop < (1U << d_hash_shift); loop++) in dcache_init_early()
3039 INIT_HLIST_BL_HEAD(dentry_hashtable + loop); in dcache_init_early()
3044 unsigned int loop; in dcache_init() local
3068 for (loop = 0; loop < (1U << d_hash_shift); loop++) in dcache_init()
3069 INIT_HLIST_BL_HEAD(dentry_hashtable + loop); in dcache_init()
/fs/nfs/
Dfscache-index.c267 int loop, nr_pages; in nfs_fscache_inode_now_uncached() local
283 for (loop = 0; loop < nr_pages; loop++) in nfs_fscache_inode_now_uncached()
284 ClearPageFsCache(pvec.pages[loop]); in nfs_fscache_inode_now_uncached()
/fs/cifs/
Dcache.c300 int loop, nr_pages; in cifs_fscache_inode_now_uncached() local
314 for (loop = 0; loop < nr_pages; loop++) in cifs_fscache_inode_now_uncached()
315 ClearPageFsCache(pvec.pages[loop]); in cifs_fscache_inode_now_uncached()
/fs/9p/
Dcache.c159 int loop, nr_pages; in v9fs_cache_inode_now_uncached() local
171 for (loop = 0; loop < nr_pages; loop++) in v9fs_cache_inode_now_uncached()
172 ClearPageFsCache(pvec.pages[loop]); in v9fs_cache_inode_now_uncached()
/fs/fscache/
Dpage.c929 unsigned long loop; in fscache_mark_pages_cached() local
935 for (loop = 0; loop < pagevec->nr; loop++) { in fscache_mark_pages_cached()
936 struct page *page = pagevec->pages[loop]; in fscache_mark_pages_cached()
/fs/exofs/
DBUGS3 unmounted and mounted the kernel can get into an endless loop doing a readdir.
/fs/btrfs/
Dextent-tree.c5438 int loop = 0; in find_free_extent() local
5555 goto loop; in find_free_extent()
5569 goto loop; in find_free_extent()
5625 if (loop >= LOOP_NO_EMPTY_SIZE && in find_free_extent()
5637 if (loop >= LOOP_NO_EMPTY_SIZE) { in find_free_extent()
5663 } else if (!cached && loop > LOOP_CACHING_NOWAIT in find_free_extent()
5681 goto loop; in find_free_extent()
5690 goto loop; in find_free_extent()
5706 loop > LOOP_CACHING_NOWAIT) { in find_free_extent()
5714 goto loop; in find_free_extent()
[all …]
Dtransaction.c60 loop: in join_transaction()
100 goto loop; in join_transaction()
Dvolumes.c162 loop: in run_scheduled_bios()
309 goto loop; in run_scheduled_bios()
2600 goto loop; in __btrfs_balance()
2606 goto loop; in __btrfs_balance()
2622 loop: in __btrfs_balance()
/fs/jbd/
Djournal.c146 loop: in kjournald()
159 goto loop; in kjournald()
209 goto loop; in kjournald()
/fs/jbd2/
Djournal.c150 loop: in kjournald2()
163 goto loop; in kjournald2()
213 goto loop; in kjournald2()
/fs/logfs/
Dreadwrite.c289 int loop = 0; in logfs_lock_write_page() local
292 if (loop++ > 0x1000) { in logfs_lock_write_page()
294 printk(KERN_ERR "stack at %p\n", &loop); in logfs_lock_write_page()

12