Home
last modified time | relevance | path

Searched refs:got (Results 1 – 24 of 24) sorted by relevance

/fs/xfs/libxfs/
Dxfs_bmap.c1314 struct xfs_bmbt_irec got; in xfs_bmap_first_unused() local
1336 for_each_xfs_iext(ifp, &icur, &got) { in xfs_bmap_first_unused()
1340 if (got.br_startoff >= lowest + len && in xfs_bmap_first_unused()
1341 got.br_startoff - max >= len) in xfs_bmap_first_unused()
1343 lastaddr = got.br_startoff + got.br_blockcount; in xfs_bmap_first_unused()
1365 struct xfs_bmbt_irec got; in xfs_bmap_last_before() local
1386 if (!xfs_iext_lookup_extent_before(ip, ifp, last_block, &icur, &got)) in xfs_bmap_last_before()
1533 struct xfs_bmbt_irec *new = &bma->got; in xfs_bmap_add_extent_delay_real()
3139 if (!isnullstartblock(ap->got.br_startblock)) { in xfs_bmap_adjacent()
3143 adjust = gotdiff = ap->got.br_startoff - ap->offset; in xfs_bmap_adjacent()
[all …]
Dxfs_bmap.h25 struct xfs_bmbt_irec got; /* extent after, or delayed */ member
211 struct xfs_iext_cursor *cur, struct xfs_bmbt_irec *got,
214 struct xfs_iext_cursor *cur, struct xfs_bmbt_irec *got,
228 struct xfs_bmbt_irec *got, struct xfs_iext_cursor *cur,
Dxfs_inode_fork.h168 #define for_each_xfs_iext(ifp, ext, got) \ argument
170 xfs_iext_get_extent((ifp), (ext), (got)); \
Dxfs_da_btree.c2070 int nmap, error, got, i, mapi; in xfs_da_grow_inode_int() local
2124 for (i = 0, got = 0; i < mapi; i++) in xfs_da_grow_inode_int()
2125 got += mapp[i].br_blockcount; in xfs_da_grow_inode_int()
2126 if (got != count || mapp[0].br_startoff != *bno || in xfs_da_grow_inode_int()
/fs/xfs/
Dxfs_reflink.c250 struct xfs_bmbt_irec got; in xfs_reflink_convert_cow_locked() local
255 if (!xfs_iext_lookup_extent(ip, ip->i_cowfp, offset_fsb, &icur, &got)) in xfs_reflink_convert_cow_locked()
259 if (got.br_startoff >= offset_fsb + count_fsb) in xfs_reflink_convert_cow_locked()
261 if (got.br_state == XFS_EXT_NORM) in xfs_reflink_convert_cow_locked()
263 if (WARN_ON_ONCE(isnullstartblock(got.br_startblock))) in xfs_reflink_convert_cow_locked()
266 xfs_trim_extent(&got, offset_fsb, count_fsb); in xfs_reflink_convert_cow_locked()
267 if (!got.br_blockcount) in xfs_reflink_convert_cow_locked()
270 got.br_state = XFS_EXT_NORM; in xfs_reflink_convert_cow_locked()
272 XFS_COW_FORK, &icur, &dummy_cur, &got, in xfs_reflink_convert_cow_locked()
276 } while (xfs_iext_next_extent(ip->i_cowfp, &icur, &got)); in xfs_reflink_convert_cow_locked()
[all …]
Dxfs_bmap_util.c86 error = xfs_bmap_extsize_align(mp, &ap->got, &ap->prev, in xfs_bmap_rtalloc()
218 struct xfs_bmbt_irec got; in xfs_bmap_count_leaves() local
221 for_each_xfs_iext(ifp, &icur, &got) { in xfs_bmap_count_leaves()
222 if (!isnullstartblock(got.br_startblock)) { in xfs_bmap_count_leaves()
223 *count += got.br_blockcount; in xfs_bmap_count_leaves()
401 struct xfs_bmbt_irec *got) in xfs_getbmap_report_one() argument
407 error = xfs_reflink_trim_around_shared(ip, got, &shared); in xfs_getbmap_report_one()
411 if (isnullstartblock(got->br_startblock) || in xfs_getbmap_report_one()
412 got->br_startblock == DELAYSTARTBLOCK) { in xfs_getbmap_report_one()
421 if (got->br_startoff < XFS_B_TO_FSB(ip->i_mount, XFS_ISIZE(ip))) in xfs_getbmap_report_one()
[all …]
Dxfs_dquot.c612 struct xfs_bmbt_irec got; in xfs_dq_get_next_id() local
637 if (xfs_iext_lookup_extent(quotip, &quotip->i_df, start, &cur, &got)) { in xfs_dq_get_next_id()
639 if (got.br_startoff < start) in xfs_dq_get_next_id()
640 got.br_startoff = start; in xfs_dq_get_next_id()
641 *id = got.br_startoff * mp->m_quotainfo->qi_dqperchunk; in xfs_dq_get_next_id()
Dxfs_super.c903 struct xfs_bmbt_irec got; in xfs_check_delalloc() local
906 if (!ifp || !xfs_iext_lookup_extent(ip, ifp, 0, &icur, &got)) in xfs_check_delalloc()
909 if (isnullstartblock(got.br_startblock)) { in xfs_check_delalloc()
914 got.br_startoff, got.br_blockcount); in xfs_check_delalloc()
916 } while (xfs_iext_next_extent(ifp, &icur, &got)); in xfs_check_delalloc()
/fs/xfs/scrub/
Ddir.c627 struct xfs_bmbt_irec got; in xchk_directory_blocks() local
659 found = xfs_iext_lookup_extent(sc->ip, ifp, lblk, &icur, &got); in xchk_directory_blocks()
663 (got.br_startoff > 0 || in xchk_directory_blocks()
664 got.br_blockcount != args.geo->fsbcount)) { in xchk_directory_blocks()
666 got.br_startoff); in xchk_directory_blocks()
671 if (got.br_startoff >= leaf_lblk) in xchk_directory_blocks()
685 for (lblk = roundup((xfs_dablk_t)got.br_startoff, in xchk_directory_blocks()
687 lblk < got.br_startoff + got.br_blockcount; in xchk_directory_blocks()
694 dabno = got.br_startoff + got.br_blockcount; in xchk_directory_blocks()
696 found = xfs_iext_lookup_extent(sc->ip, ifp, lblk, &icur, &got); in xchk_directory_blocks()
[all …]
/fs/ceph/
Daddr.c322 int got = 0; in start_read() local
330 true, &got); in start_read()
333 } else if (!(got & want)) { in start_read()
338 if (got) in start_read()
339 ceph_put_cap_refs(ci, got); in start_read()
417 if (got) in start_read()
418 ceph_put_cap_refs(ci, got); in start_read()
431 if (got) in start_read()
432 ceph_put_cap_refs(ci, got); in start_read()
1431 int want, got, err; in ceph_filemap_fault() local
[all …]
Dfile.c1264 int want, got = 0; in ceph_read_iter() local
1281 &got, &pinned_page); in ceph_read_iter()
1290 if ((got & (CEPH_CAP_FILE_CACHE|CEPH_CAP_FILE_LAZYIO)) == 0 || in ceph_read_iter()
1296 ceph_cap_string(got)); in ceph_read_iter()
1311 CEPH_DEFINE_RW_CONTEXT(rw_ctx, got); in ceph_read_iter()
1314 ceph_cap_string(got)); in ceph_read_iter()
1321 inode, ceph_vinop(inode), ceph_cap_string(got), (int)ret); in ceph_read_iter()
1326 ceph_put_cap_refs(ci, got); in ceph_read_iter()
1420 int err, want, got; in ceph_write_iter() local
1492 got = 0; in ceph_write_iter()
[all …]
Dcaps.c2497 static void __take_cap_refs(struct ceph_inode_info *ci, int got, in __take_cap_refs() argument
2500 if (got & CEPH_CAP_PIN) in __take_cap_refs()
2502 if (got & CEPH_CAP_FILE_RD) in __take_cap_refs()
2504 if (got & CEPH_CAP_FILE_CACHE) in __take_cap_refs()
2506 if (got & CEPH_CAP_FILE_WR) { in __take_cap_refs()
2514 if (got & CEPH_CAP_FILE_BUFFER) { in __take_cap_refs()
2541 loff_t endoff, int flags, int *got) in try_get_cap_refs() argument
2636 *got = need | (have & want); in try_get_cap_refs()
2638 !(*got & CEPH_CAP_FILE_CACHE)) in try_get_cap_refs()
2640 __take_cap_refs(ci, *got, true); in try_get_cap_refs()
[all …]
Dsuper.h1077 loff_t endoff, int *got, struct page **pinned_page);
1079 int need, int want, bool nonblock, int *got);
/fs/ocfs2/dlmfs/
Ddlmfs.c230 ssize_t readlen, got; in dlmfs_file_read() local
256 got = user_dlm_read_lvb(inode, lvb_buf, readlen); in dlmfs_file_read()
257 if (got) { in dlmfs_file_read()
258 BUG_ON(got != readlen); in dlmfs_file_read()
/fs/proc/
Dbase.c222 int ret, got; in get_mm_proctitle() local
232 got = access_remote_vm(mm, arg_start, page, PAGE_SIZE, FOLL_ANON); in get_mm_proctitle()
233 if (got > 0) { in get_mm_proctitle()
234 int len = strnlen(page, got); in get_mm_proctitle()
237 if (len < got) in get_mm_proctitle()
319 int got; in get_mm_cmdline() local
322 got = access_remote_vm(mm, pos, page, size, FOLL_ANON); in get_mm_cmdline()
323 if (got <= 0) in get_mm_cmdline()
325 got -= copy_to_user(buf, page, got); in get_mm_cmdline()
326 if (unlikely(!got)) { in get_mm_cmdline()
[all …]
/fs/ubifs/
Dubifs.h1574 const u8 *expected, const u8 *got) in ubifs_check_hash() argument
1576 return crypto_memneq(expected, got, c->hash_len); in ubifs_check_hash()
1589 const u8 *expected, const u8 *got) in ubifs_check_hmac() argument
1591 return crypto_memneq(expected, got, c->hmac_desc_len); in ubifs_check_hmac()
/fs/jffs2/
DTODO30 got a match, and in readdir().
/fs/ext2/
Dialloc.c506 goto got; in ext2_new_inode()
515 got: in ext2_new_inode()
/fs/f2fs/
Dnode.c657 goto got; in get_node_path()
665 goto got; in get_node_path()
673 goto got; in get_node_path()
683 goto got; in get_node_path()
693 goto got; in get_node_path()
708 goto got; in get_node_path()
712 got: in get_node_path()
/fs/affs/
DChanges14 Alas, I've got no alpha to debug. :-(
162 This was fixed before, but somehow got lost.
/fs/quota/
Ddquot.c1434 struct dquot **dquots, *got[MAXQUOTAS] = {}; in __dquot_initialize() local
1489 got[cnt] = dquot; in __dquot_initialize()
1506 if (!got[cnt]) in __dquot_initialize()
1509 dquots[cnt] = got[cnt]; in __dquot_initialize()
1510 got[cnt] = NULL; in __dquot_initialize()
1531 dqput_all(got); in __dquot_initialize()
/fs/ext4/
Dialloc.c955 goto got; /* we grabbed the inode! */ in __ext4_new_inode()
966 got: in __ext4_new_inode()
/fs/reiserfs/
DREADME126 textbook he got the algorithm from in the code. Note that his analysis
/fs/befs/
DChangeLog328 Make sure inode we got was the one we asked for.