Home
last modified time | relevance | path

Searched refs:done (Results 1 – 25 of 172) sorted by relevance

1234567

/fs/xfs/libxfs/
Dxfs_rmap.c115 goto done; in xfs_rmap_insert()
116 XFS_WANT_CORRUPTED_GOTO(rcur->bc_mp, i == 0, done); in xfs_rmap_insert()
125 goto done; in xfs_rmap_insert()
126 XFS_WANT_CORRUPTED_GOTO(rcur->bc_mp, i == 1, done); in xfs_rmap_insert()
127 done: in xfs_rmap_insert()
151 goto done; in xfs_rmap_delete()
152 XFS_WANT_CORRUPTED_GOTO(rcur->bc_mp, i == 1, done); in xfs_rmap_delete()
156 goto done; in xfs_rmap_delete()
157 XFS_WANT_CORRUPTED_GOTO(rcur->bc_mp, i == 1, done); in xfs_rmap_delete()
158 done: in xfs_rmap_delete()
[all …]
Dxfs_bmap.c847 goto done; in xfs_bmap_local_to_extents()
872 goto done; in xfs_bmap_local_to_extents()
911 done: in xfs_bmap_local_to_extents()
1654 goto done; in xfs_bmap_add_extent_delay_real()
1655 XFS_WANT_CORRUPTED_GOTO(mp, i == 1, done); in xfs_bmap_add_extent_delay_real()
1658 goto done; in xfs_bmap_add_extent_delay_real()
1659 XFS_WANT_CORRUPTED_GOTO(mp, i == 1, done); in xfs_bmap_add_extent_delay_real()
1662 goto done; in xfs_bmap_add_extent_delay_real()
1663 XFS_WANT_CORRUPTED_GOTO(mp, i == 1, done); in xfs_bmap_add_extent_delay_real()
1666 goto done; in xfs_bmap_add_extent_delay_real()
[all …]
/fs/affs/
Damigaffs.c154 goto done; in affs_remove_link()
164 goto done; in affs_remove_link()
169 goto done; in affs_remove_link()
181 goto done; in affs_remove_link()
189 goto done; in affs_remove_link()
198 goto done; in affs_remove_link()
218 goto done; in affs_remove_link()
223 goto done; in affs_remove_link()
226 done: in affs_remove_link()
243 goto done; in affs_empty_dir()
[all …]
/fs/
Dfs_pin.c17 pin->done = 1; in pin_remove()
40 if (likely(!p->done)) { in pin_kill()
41 p->done = -1; in pin_kill()
47 if (p->done > 0) { in pin_kill()
63 if (p->done > 0) { in pin_kill()
Dfs-writeback.c56 struct wb_completion *done; /* set if the caller waits */ member
163 struct wb_completion *done = work->done; in finish_writeback_work() local
167 if (done) { in finish_writeback_work()
168 wait_queue_head_t *waitq = done->waitq; in finish_writeback_work()
171 if (atomic_dec_and_test(&done->cnt)) in finish_writeback_work()
181 if (work->done) in wb_queue_work()
182 atomic_inc(&work->done->cnt); in wb_queue_work()
205 void wb_wait_for_completion(struct wb_completion *done) in wb_wait_for_completion() argument
207 atomic_dec(&done->cnt); /* put down the initial count */ in wb_wait_for_completion()
208 wait_event(*done->waitq, !atomic_read(&done->cnt)); in wb_wait_for_completion()
[all …]
/fs/ecryptfs/
Dkthread.c19 struct completion done; member
64 complete(&req->done); in ecryptfs_threadfn()
99 complete(&req->done); in ecryptfs_destroy_kthread()
125 init_completion(&req.done); in ecryptfs_privileged_open()
153 wait_for_completion(&req.done); in ecryptfs_privileged_open()
/fs/iomap/
Dbuffered-io.c227 goto done; in iomap_readpage_actor()
232 goto done; in iomap_readpage_actor()
248 goto done; in iomap_readpage_actor()
278 done: in iomap_readpage_actor()
326 loff_t length, loff_t *done) in iomap_next_page() argument
345 *done += PAGE_SIZE; in iomap_next_page()
357 loff_t done, ret; in iomap_readpages_actor() local
359 for (done = 0; done < length; done += ret) { in iomap_readpages_actor()
360 if (ctx->cur_page && offset_in_page(pos + done) == 0) { in iomap_readpages_actor()
368 pos, length, &done); in iomap_readpages_actor()
[all …]
/fs/btrfs/
Dtree-defrag.c128 goto done; in btrfs_defrag_leaves()
130 goto done; in btrfs_defrag_leaves()
132 goto done; in btrfs_defrag_leaves()
135 done: in btrfs_defrag_leaves()
/fs/ocfs2/
Djournal.c835 goto done; in ocfs2_journal_init()
842 goto done; in ocfs2_journal_init()
855 goto done; in ocfs2_journal_init()
865 goto done; in ocfs2_journal_init()
877 goto done; in ocfs2_journal_init()
894 done: in ocfs2_journal_init()
967 goto done; in ocfs2_journal_shutdown()
972 goto done; in ocfs2_journal_shutdown()
1030 done: in ocfs2_journal_shutdown()
1064 goto done; in ocfs2_journal_load()
[all …]
Dextent_map.c967 int i, count, done = 0; in ocfs2_read_virt_blocks() local
979 while (done < nr) { in ocfs2_read_virt_blocks()
981 rc = ocfs2_extent_map_get_blocks(inode, v_block + done, in ocfs2_read_virt_blocks()
994 (unsigned long long)(v_block + done) << in ocfs2_read_virt_blocks()
999 count = nr - done; in ocfs2_read_virt_blocks()
1009 if (!bhs[done + i]) in ocfs2_read_virt_blocks()
1011 BUG_ON(bhs[done + i]->b_blocknr != (p_block + i)); in ocfs2_read_virt_blocks()
1015 bhs + done, flags, validate); in ocfs2_read_virt_blocks()
1020 done += count; in ocfs2_read_virt_blocks()
/fs/hfsplus/
Dbitmap.c111 goto done; in hfsplus_block_allocate()
114 goto done; in hfsplus_block_allocate()
151 done: in hfsplus_block_allocate()
211 goto done; in hfsplus_block_free()
226 done: in hfsplus_block_free()
Dunicode.c153 goto done; in hfsplus_uni2asc()
165 goto done; in hfsplus_uni2asc()
172 goto done; in hfsplus_uni2asc()
221 goto done; in hfsplus_uni2asc()
235 done: in hfsplus_uni2asc()
/fs/xfs/scrub/
Drefcount.c179 goto done; in xchk_refcountbt_process_rmap_fragments()
189 goto done; in xchk_refcountbt_process_rmap_fragments()
204 goto done; in xchk_refcountbt_process_rmap_fragments()
226 goto done; in xchk_refcountbt_process_rmap_fragments()
242 goto done; in xchk_refcountbt_process_rmap_fragments()
252 goto done; in xchk_refcountbt_process_rmap_fragments()
256 done: in xchk_refcountbt_process_rmap_fragments()
/fs/hfs/
Dbitmap.c81 goto done; in hfs_find_set_zero_bits()
84 goto done; in hfs_find_set_zero_bits()
106 done: in hfs_find_set_zero_bits()
/fs/orangefs/
Dxattr.c441 goto done; in orangefs_listxattr()
451 goto done; in orangefs_listxattr()
461 goto done; in orangefs_listxattr()
475 goto done; in orangefs_listxattr()
478 goto done; in orangefs_listxattr()
513 done: in orangefs_listxattr()
/fs/qnx6/
Ddir.c121 bool done = false; in qnx6_readdir() local
127 for ( ; !done && n < npages; n++, start = 0) { in qnx6_readdir()
153 done = true; in qnx6_readdir()
162 done = true; in qnx6_readdir()
/fs/xfs/
Dxfs_icache.c795 int done; in xfs_inode_ag_walk() local
799 done = 0; in xfs_inode_ag_walk()
832 if (done || xfs_inode_ag_walk_grab(ip, iter_flags)) in xfs_inode_ag_walk()
851 done = 1; in xfs_inode_ag_walk()
879 } while (nr_found && !done); in xfs_inode_ag_walk()
1255 int done = 0; in xfs_reclaim_inodes_ag() local
1281 done = 1; in xfs_reclaim_inodes_ag()
1293 if (done || xfs_reclaim_inode_grab(ip, flags)) in xfs_reclaim_inodes_ag()
1315 done = 1; in xfs_reclaim_inodes_ag()
1333 } while (nr_found && !done && *nr_to_scan > 0); in xfs_reclaim_inodes_ag()
[all …]
/fs/ext4/
Dsymlink.c28 struct delayed_call *done) in ext4_encrypted_get_link() argument
49 paddr = fscrypt_get_symlink(inode, caddr, max_size, done); in ext4_encrypted_get_link()
/fs/nfs/
Dsymlink.c49 struct delayed_call *done) in nfs_get_link() argument
74 set_delayed_call(done, page_put_link, page); in nfs_get_link()
/fs/gfs2/
Dlops.c457 bool *done) in gfs2_jhead_process_page() argument
465 *done = true; in gfs2_jhead_process_page()
467 if (!*done) in gfs2_jhead_process_page()
468 *done = gfs2_jhead_pg_srch(jd, head, page); in gfs2_jhead_process_page()
498 bool done = false; in gfs2_find_jhead() local
515 done = true; in gfs2_find_jhead()
551 gfs2_jhead_process_page(jd, blocks_read >> shift, head, &done); in gfs2_find_jhead()
553 if (done) in gfs2_find_jhead()
562 gfs2_jhead_process_page(jd, blocks_read >> shift, head, &done); in gfs2_find_jhead()
/fs/proc/
Dself.c13 struct delayed_call *done) in proc_self_get_link() argument
26 set_delayed_call(done, kfree_link, name); in proc_self_get_link()
Dthread_self.c13 struct delayed_call *done) in proc_thread_self_get_link() argument
26 set_delayed_call(done, kfree_link, name); in proc_thread_self_get_link()
/fs/ntfs/
Dquota.c32 goto done; in ntfs_mark_quotas_out_of_date()
93 done: in ntfs_mark_quotas_out_of_date()
/fs/sysv/
Dballoc.c214 done: in sysv_count_free_blocks()
231 goto done; in sysv_count_free_blocks()
239 goto done; in sysv_count_free_blocks()
/fs/afs/
Drxrpc.c476 if (call->type->done) in afs_make_call()
477 call->type->done(call); in afs_make_call()
551 goto done; in afs_deliver_to_call()
557 goto done; in afs_deliver_to_call()
584 done: in afs_deliver_to_call()
585 if (call->type->done) in afs_deliver_to_call()
586 call->type->done(call); in afs_deliver_to_call()
598 goto done; in afs_deliver_to_call()

1234567