Home
last modified time | relevance | path

Searched refs:found (Results 1 – 25 of 129) sorted by relevance

123456

/fs/xfs/libxfs/
Dxfs_bit.c53 goto found; in xfs_contig_bits()
59 goto found; in xfs_contig_bits()
64 found: in xfs_contig_bits()
93 goto found; in xfs_next_bit()
99 goto found; in xfs_next_bit()
104 found: in xfs_next_bit()
/fs/btrfs/tests/
Dextent-io-tests.c70 bool found; in test_find_delalloc() local
116 found = find_lock_delalloc_range(inode, locked_page, &start, in test_find_delalloc()
118 if (!found) { in test_find_delalloc()
147 found = find_lock_delalloc_range(inode, locked_page, &start, in test_find_delalloc()
149 if (!found) { in test_find_delalloc()
181 found = find_lock_delalloc_range(inode, locked_page, &start, in test_find_delalloc()
183 if (found) { in test_find_delalloc()
202 found = find_lock_delalloc_range(inode, locked_page, &start, in test_find_delalloc()
204 if (!found) { in test_find_delalloc()
243 found = find_lock_delalloc_range(inode, locked_page, &start, in test_find_delalloc()
[all …]
/fs/ubifs/
Dtnc.c1480 int found, n, err, safely = 0, gc_seq1; in ubifs_tnc_locate() local
1486 found = ubifs_lookup_level0(c, key, &znode, &n); in ubifs_tnc_locate()
1487 if (!found) { in ubifs_tnc_locate()
1490 } else if (found < 0) { in ubifs_tnc_locate()
1491 err = found; in ubifs_tnc_locate()
1848 int found, n, err; in do_lookup_nm() local
1853 found = ubifs_lookup_level0(c, key, &znode, &n); in do_lookup_nm()
1854 if (!found) { in do_lookup_nm()
1857 } else if (found < 0) { in do_lookup_nm()
1858 err = found; in do_lookup_nm()
[all …]
Dfind.c254 goto found; in ubifs_find_dirty_leb()
259 goto found; in ubifs_find_dirty_leb()
307 goto found; in ubifs_find_dirty_leb()
320 found: in ubifs_find_dirty_leb()
830 goto found; in find_dirty_idx_leb()
835 goto found; in find_dirty_idx_leb()
840 goto found; in find_dirty_idx_leb()
850 found: in find_dirty_idx_leb()
/fs/btrfs/
Dspace-info.c176 struct btrfs_space_info *found; in btrfs_clear_space_info_full() local
178 list_for_each_entry(found, head, list) in btrfs_clear_space_info_full()
179 found->full = 0; in btrfs_clear_space_info_full()
263 struct btrfs_space_info *found; in btrfs_update_space_info() local
268 found = btrfs_find_space_info(info, flags); in btrfs_update_space_info()
269 ASSERT(found); in btrfs_update_space_info()
270 spin_lock(&found->lock); in btrfs_update_space_info()
271 found->total_bytes += total_bytes; in btrfs_update_space_info()
272 found->disk_total += total_bytes * factor; in btrfs_update_space_info()
273 found->bytes_used += bytes_used; in btrfs_update_space_info()
[all …]
Dsuper.c2186 struct btrfs_space_info *found; in btrfs_statfs() local
2198 list_for_each_entry(found, &fs_info->space_info, list) { in btrfs_statfs()
2199 if (found->flags & BTRFS_BLOCK_GROUP_DATA) { in btrfs_statfs()
2202 total_free_data += found->disk_total - found->disk_used; in btrfs_statfs()
2204 btrfs_account_ro_block_groups_free_space(found); in btrfs_statfs()
2207 if (!list_empty(&found->block_groups[i])) in btrfs_statfs()
2216 if (!mixed && found->flags & BTRFS_BLOCK_GROUP_METADATA) { in btrfs_statfs()
2217 if (found->flags & BTRFS_BLOCK_GROUP_DATA) in btrfs_statfs()
2220 total_free_meta += found->disk_total - in btrfs_statfs()
2221 found->disk_used; in btrfs_statfs()
[all …]
/fs/ocfs2/
Dreservations.c412 int offset, start, found; in ocfs2_resmap_find_free_bits() local
417 found = best_start = best_len = 0; in ocfs2_resmap_find_free_bits()
428 found++; in ocfs2_resmap_find_free_bits()
433 found = 1; in ocfs2_resmap_find_free_bits()
436 if (found > best_len) { in ocfs2_resmap_find_free_bits()
437 best_len = found; in ocfs2_resmap_find_free_bits()
438 best_start = start - found; in ocfs2_resmap_find_free_bits()
441 if (found >= wanted) in ocfs2_resmap_find_free_bits()
/fs/ext2/
Dialloc.c305 goto found; in find_group_orlov()
340 goto found; in find_group_orlov()
350 goto found; in find_group_orlov()
364 found: in find_group_orlov()
382 goto found; in find_group_other()
406 goto found; in find_group_other()
419 goto found; in find_group_other()
424 found: in find_group_other()
/fs/xfs/
Dxfs_reflink.c311 bool *found) in xfs_find_trim_cow_extent() argument
317 *found = false; in xfs_find_trim_cow_extent()
339 *found = true; in xfs_find_trim_cow_extent()
358 bool found; in xfs_reflink_allocate_cow() local
368 error = xfs_find_trim_cow_extent(ip, imap, cmap, shared, &found); in xfs_reflink_allocate_cow()
371 if (found) in xfs_reflink_allocate_cow()
393 error = xfs_find_trim_cow_extent(ip, imap, cmap, shared, &found); in xfs_reflink_allocate_cow()
396 if (found) { in xfs_reflink_allocate_cow()
1370 bool found; in xfs_reflink_inode_has_shared_extents() local
1381 found = xfs_iext_lookup_extent(ip, ifp, 0, &icur, &got); in xfs_reflink_inode_has_shared_extents()
[all …]
Dxfs_log_recover.c781 int found = 0; in xlog_rseek_logrec_hdr() local
800 if (++found == count) in xlog_rseek_logrec_hdr()
810 if (tail_blk >= head_blk && found != count) { in xlog_rseek_logrec_hdr()
821 if (++found == count) in xlog_rseek_logrec_hdr()
827 return found; in xlog_rseek_logrec_hdr()
855 int found = 0; in xlog_seek_logrec_hdr() local
874 if (++found == count) in xlog_seek_logrec_hdr()
883 if (tail_blk > head_blk && found != count) { in xlog_seek_logrec_hdr()
894 if (++found == count) in xlog_seek_logrec_hdr()
900 return found; in xlog_seek_logrec_hdr()
[all …]
/fs/hfs/
Dbitmap.c51 goto found; in hfs_find_set_zero_bits()
63 goto found; in hfs_find_set_zero_bits()
69 found: in hfs_find_set_zero_bits()
/fs/gfs2/
Drecovery.c59 int found = 0; in gfs2_revoke_add() local
63 found = 1; in gfs2_revoke_add()
68 if (found) { in gfs2_revoke_add()
88 int found = 0; in gfs2_revoke_check() local
92 found = 1; in gfs2_revoke_check()
97 if (!found) in gfs2_revoke_check()
Dquota.c459 int found = 0; in qd_fish() local
469 found = qd_check_sync(sdp, qd, &sdp->sd_quota_sync_gen); in qd_fish()
470 if (found) in qd_fish()
474 if (!found) in qd_fish()
1143 int found; in gfs2_quota_unlock() local
1160 found = qd_check_sync(sdp, qd, NULL); in gfs2_quota_unlock()
1163 if (!found) in gfs2_quota_unlock()
1370 unsigned int found = 0; in gfs2_quota_init() local
1447 found++; in gfs2_quota_init()
1455 if (found) in gfs2_quota_init()
[all …]
/fs/autofs/
Dexpire.c429 struct dentry *found; in autofs_expire_indirect() local
461 found = should_expire(expired, mnt, timeout, how); in autofs_expire_indirect()
462 if (found != expired) { // something has changed, continue in autofs_expire_indirect()
463 dput(found); in autofs_expire_indirect()
471 goto found; in autofs_expire_indirect()
481 found: in autofs_expire_indirect()
/fs/isofs/
Dnamei.c155 int found; in isofs_lookup() local
165 found = isofs_find_entry(dir, dentry, in isofs_lookup()
171 inode = found ? isofs_iget(dir->i_sb, block, offset) : NULL; in isofs_lookup()
/fs/ocfs2/dlm/
Ddlmunlock.c399 int found = 0, i; in dlm_unlock_lock_handler() local
442 found = 0; in dlm_unlock_lock_handler()
470 found = 1; in dlm_unlock_lock_handler()
474 if (found) in dlm_unlock_lock_handler()
480 if (!found) { in dlm_unlock_lock_handler()
510 if (!found) in dlm_unlock_lock_handler()
/fs/
Ddcache.c1488 long found; member
1503 data->found++; in select_collect()
1509 data->found++; in select_collect()
1574 if (!data.found) in shrink_dcache_parent()
2156 struct dentry *found, *res; in d_add_ci() local
2162 found = d_hash_and_lookup(dentry->d_parent, name); in d_add_ci()
2163 if (found) { in d_add_ci()
2165 return found; in d_add_ci()
2168 found = d_alloc_parallel(dentry->d_parent, name, in d_add_ci()
2170 if (IS_ERR(found) || !d_in_lookup(found)) { in d_add_ci()
[all …]
Ddcookies.c68 struct dcookie_struct *found = NULL; in find_dcookie() local
78 found = dcs; in find_dcookie()
83 return found; in find_dcookie()
/fs/nfsd/
Dtrace.h495 TP_PROTO(struct inode *inode, unsigned int hash, int found),
496 TP_ARGS(inode, hash, found),
500 __field(int, found)
505 __entry->found = found;
508 __entry->inode, __entry->found)
513 TP_PROTO(struct inode *inode, unsigned int hash, int found), \
514 TP_ARGS(inode, hash, found))
/fs/hfsplus/
Dbitmap.c58 goto found; in hfsplus_block_allocate()
72 goto found; in hfsplus_block_allocate()
97 found: in hfsplus_block_allocate()
/fs/nilfs2/
Dbtnode.c89 goto found; in nilfs_btnode_submit_block()
118 goto found; in nilfs_btnode_submit_block()
129 found: in nilfs_btnode_submit_block()
/fs/xfs/scrub/
Ddir.c658 bool found; in xchk_directory_blocks() local
680 found = xfs_iext_lookup_extent(sc->ip, ifp, lblk, &icur, &got); in xchk_directory_blocks()
681 while (found && !(sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT)) { in xchk_directory_blocks()
717 found = xfs_iext_lookup_extent(sc->ip, ifp, lblk, &icur, &got); in xchk_directory_blocks()
743 found = xfs_iext_lookup_extent(sc->ip, ifp, lblk, &icur, &got); in xchk_directory_blocks()
744 while (found && !(sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT)) { in xchk_directory_blocks()
781 found = xfs_iext_lookup_extent(sc->ip, ifp, lblk, &icur, &got); in xchk_directory_blocks()
/fs/qnx6/
Ddir.c248 goto found; in qnx6_find_entry()
255 goto found; in qnx6_find_entry()
267 found: in qnx6_find_entry()
/fs/ceph/
Dcache.c314 bool found = false; in ceph_fscache_unregister_fs() local
321 found = true; in ceph_fscache_unregister_fs()
325 WARN_ON_ONCE(!found); in ceph_fscache_unregister_fs()
/fs/nfs/blocklayout/
Dextent_tree.c348 bool found = false; in ext_tree_lookup() local
352 found = __ext_tree_lookup(&bl->bl_ext_ro, isect, ret); in ext_tree_lookup()
353 if (!found) in ext_tree_lookup()
354 found = __ext_tree_lookup(&bl->bl_ext_rw, isect, ret); in ext_tree_lookup()
357 return found; in ext_tree_lookup()

123456