/fs/xfs/libxfs/ |
D | xfs_bmap.c | 1277 struct xfs_bmbt_irec got; in xfs_bmap_first_unused() local 1297 for_each_xfs_iext(ifp, &icur, &got) { in xfs_bmap_first_unused() 1301 if (got.br_startoff >= lowest + len && in xfs_bmap_first_unused() 1302 got.br_startoff - max >= len) in xfs_bmap_first_unused() 1304 lastaddr = got.br_startoff + got.br_blockcount; in xfs_bmap_first_unused() 1326 struct xfs_bmbt_irec got; in xfs_bmap_last_before() local 1348 if (!xfs_iext_lookup_extent_before(ip, ifp, last_block, &icur, &got)) in xfs_bmap_last_before() 1496 struct xfs_bmbt_irec *new = &bma->got; in xfs_bmap_add_extent_delay_real() 3225 if (!isnullstartblock(ap->got.br_startblock)) { in xfs_bmap_adjacent() 3229 adjust = gotdiff = ap->got.br_startoff - ap->offset; in xfs_bmap_adjacent() [all …]
|
D | xfs_bmap.h | 25 struct xfs_bmbt_irec got; /* extent after, or delayed */ member 216 struct xfs_iext_cursor *cur, struct xfs_bmbt_irec *got, 219 struct xfs_iext_cursor *cur, struct xfs_bmbt_irec *got, 234 struct xfs_bmbt_irec *got, struct xfs_iext_cursor *cur,
|
D | xfs_inode_fork.h | 164 #define for_each_xfs_iext(ifp, ext, got) \ argument 166 xfs_iext_get_extent((ifp), (ext), (got)); \
|
D | xfs_da_btree.c | 2150 int nmap, error, got, i, mapi; in xfs_da_grow_inode_int() local 2204 for (i = 0, got = 0; i < mapi; i++) in xfs_da_grow_inode_int() 2205 got += mapp[i].br_blockcount; in xfs_da_grow_inode_int() 2206 if (got != count || mapp[0].br_startoff != *bno || in xfs_da_grow_inode_int()
|
/fs/xfs/ |
D | xfs_reflink.c | 248 struct xfs_bmbt_irec got; in xfs_reflink_convert_cow_locked() local 253 if (!xfs_iext_lookup_extent(ip, ip->i_cowfp, offset_fsb, &icur, &got)) in xfs_reflink_convert_cow_locked() 257 if (got.br_startoff >= offset_fsb + count_fsb) in xfs_reflink_convert_cow_locked() 259 if (got.br_state == XFS_EXT_NORM) in xfs_reflink_convert_cow_locked() 261 if (WARN_ON_ONCE(isnullstartblock(got.br_startblock))) in xfs_reflink_convert_cow_locked() 264 xfs_trim_extent(&got, offset_fsb, count_fsb); in xfs_reflink_convert_cow_locked() 265 if (!got.br_blockcount) in xfs_reflink_convert_cow_locked() 268 got.br_state = XFS_EXT_NORM; in xfs_reflink_convert_cow_locked() 270 XFS_COW_FORK, &icur, &dummy_cur, &got, in xfs_reflink_convert_cow_locked() 274 } while (xfs_iext_next_extent(ip->i_cowfp, &icur, &got)); in xfs_reflink_convert_cow_locked() [all …]
|
D | xfs_bmap_util.c | 87 error = xfs_bmap_extsize_align(mp, &ap->got, &ap->prev, in xfs_bmap_rtalloc() 189 struct xfs_bmbt_irec got; in xfs_bmap_count_leaves() local 192 for_each_xfs_iext(ifp, &icur, &got) { in xfs_bmap_count_leaves() 193 if (!isnullstartblock(got.br_startblock)) { in xfs_bmap_count_leaves() 194 *count += got.br_blockcount; in xfs_bmap_count_leaves() 262 struct xfs_bmbt_irec *got) in xfs_getbmap_report_one() argument 268 error = xfs_reflink_trim_around_shared(ip, got, &shared); in xfs_getbmap_report_one() 272 if (isnullstartblock(got->br_startblock) || in xfs_getbmap_report_one() 273 got->br_startblock == DELAYSTARTBLOCK) { in xfs_getbmap_report_one() 282 if (got->br_startoff < XFS_B_TO_FSB(ip->i_mount, XFS_ISIZE(ip))) in xfs_getbmap_report_one() [all …]
|
D | xfs_iomap.c | 369 struct xfs_bmbt_irec prev, got; in xfs_iomap_prealloc_size() local 404 while (xfs_iext_prev_extent(ifp, &ncur, &got)) { in xfs_iomap_prealloc_size() 406 isnullstartblock(got.br_startblock) || in xfs_iomap_prealloc_size() 407 got.br_startoff + got.br_blockcount != prev.br_startoff || in xfs_iomap_prealloc_size() 408 got.br_startblock + got.br_blockcount != prev.br_startblock) in xfs_iomap_prealloc_size() 410 plen += got.br_blockcount; in xfs_iomap_prealloc_size() 411 prev = got; in xfs_iomap_prealloc_size()
|
D | xfs_dquot.c | 726 struct xfs_bmbt_irec got; in xfs_dq_get_next_id() local 751 if (xfs_iext_lookup_extent(quotip, "ip->i_df, start, &cur, &got)) { in xfs_dq_get_next_id() 753 if (got.br_startoff < start) in xfs_dq_get_next_id() 754 got.br_startoff = start; in xfs_dq_get_next_id() 755 *id = got.br_startoff * mp->m_quotainfo->qi_dqperchunk; in xfs_dq_get_next_id()
|
D | xfs_super.c | 607 struct xfs_bmbt_irec got; in xfs_check_delalloc() local 610 if (!ifp || !xfs_iext_lookup_extent(ip, ifp, 0, &icur, &got)) in xfs_check_delalloc() 613 if (isnullstartblock(got.br_startblock)) { in xfs_check_delalloc() 618 got.br_startoff, got.br_blockcount); in xfs_check_delalloc() 620 } while (xfs_iext_next_extent(ifp, &icur, &got)); in xfs_check_delalloc()
|
/fs/xfs/scrub/ |
D | dir.c | 649 struct xfs_bmbt_irec got; in xchk_directory_blocks() local 680 found = xfs_iext_lookup_extent(sc->ip, ifp, lblk, &icur, &got); in xchk_directory_blocks() 684 (got.br_startoff > 0 || in xchk_directory_blocks() 685 got.br_blockcount != args.geo->fsbcount)) { in xchk_directory_blocks() 687 got.br_startoff); in xchk_directory_blocks() 692 if (got.br_startoff >= leaf_lblk) in xchk_directory_blocks() 706 for (lblk = roundup((xfs_dablk_t)got.br_startoff, in xchk_directory_blocks() 708 lblk < got.br_startoff + got.br_blockcount; in xchk_directory_blocks() 715 dabno = got.br_startoff + got.br_blockcount; in xchk_directory_blocks() 717 found = xfs_iext_lookup_extent(sc->ip, ifp, lblk, &icur, &got); in xchk_directory_blocks() [all …]
|
/fs/ceph/ |
D | addr.c | 334 int got = 0; in start_read() local 342 true, &got); in start_read() 345 } else if (!(got & want)) { in start_read() 350 if (got) in start_read() 351 ceph_put_cap_refs(ci, got); in start_read() 429 if (got) in start_read() 430 ceph_put_cap_refs(ci, got); in start_read() 443 if (got) in start_read() 444 ceph_put_cap_refs(ci, got); in start_read() 1495 int want, got, err; in ceph_filemap_fault() local [all …]
|
D | file.c | 453 int got = 0, want = CEPH_CAP_FILE_EXCL | CEPH_CAP_DIR_CREATE; in try_prep_async_create() local 491 got = want; in try_prep_async_create() 494 return got; in try_prep_async_create() 1553 int want, got = 0; in ceph_read_iter() local 1570 &got, &pinned_page); in ceph_read_iter() 1579 if ((got & (CEPH_CAP_FILE_CACHE|CEPH_CAP_FILE_LAZYIO)) == 0 || in ceph_read_iter() 1585 ceph_cap_string(got)); in ceph_read_iter() 1600 CEPH_DEFINE_RW_CONTEXT(rw_ctx, got); in ceph_read_iter() 1603 ceph_cap_string(got)); in ceph_read_iter() 1610 inode, ceph_vinop(inode), ceph_cap_string(got), (int)ret); in ceph_read_iter() [all …]
|
D | caps.c | 2679 void ceph_take_cap_refs(struct ceph_inode_info *ci, int got, in ceph_take_cap_refs() argument 2684 if (got & CEPH_CAP_PIN) in ceph_take_cap_refs() 2686 if (got & CEPH_CAP_FILE_RD) in ceph_take_cap_refs() 2688 if (got & CEPH_CAP_FILE_CACHE) in ceph_take_cap_refs() 2690 if (got & CEPH_CAP_FILE_EXCL) in ceph_take_cap_refs() 2692 if (got & CEPH_CAP_FILE_WR) { in ceph_take_cap_refs() 2700 if (got & CEPH_CAP_FILE_BUFFER) { in ceph_take_cap_refs() 2729 loff_t endoff, int flags, int *got) in try_get_cap_refs() argument 2815 *got = need | want; in try_get_cap_refs() 2817 *got = need; in try_get_cap_refs() [all …]
|
D | dir.c | 1092 int got = 0, want = CEPH_CAP_FILE_EXCL | CEPH_CAP_DIR_UNLINK; in get_caps_for_async_unlink() local 1097 got = want; in get_caps_for_async_unlink() 1102 if (!got) in get_caps_for_async_unlink() 1117 if (want == got) in get_caps_for_async_unlink() 1118 return got; in get_caps_for_async_unlink() 1120 ceph_put_cap_refs(ci, got); in get_caps_for_async_unlink()
|
D | super.h | 1154 loff_t endoff, int *got, struct page **pinned_page); 1156 int need, int want, bool nonblock, int *got);
|
/fs/proc/ |
D | base.c | 224 int ret, got; in get_mm_proctitle() local 234 got = access_remote_vm(mm, arg_start, page, PAGE_SIZE, FOLL_ANON); in get_mm_proctitle() 235 if (got > 0) { in get_mm_proctitle() 236 int len = strnlen(page, got); in get_mm_proctitle() 239 if (len < got) in get_mm_proctitle() 321 int got; in get_mm_cmdline() local 324 got = access_remote_vm(mm, pos, page, size, FOLL_ANON); in get_mm_cmdline() 325 if (got <= 0) in get_mm_cmdline() 327 got -= copy_to_user(buf, page, got); in get_mm_cmdline() 328 if (unlikely(!got)) { in get_mm_cmdline() [all …]
|
/fs/ubifs/ |
D | ubifs.h | 1577 const u8 *expected, const u8 *got) in ubifs_check_hash() argument 1579 return crypto_memneq(expected, got, c->hash_len); in ubifs_check_hash() 1592 const u8 *expected, const u8 *got) in ubifs_check_hmac() argument 1594 return crypto_memneq(expected, got, c->hmac_desc_len); in ubifs_check_hmac()
|
/fs/jffs2/ |
D | TODO | 30 got a match, and in readdir().
|
/fs/ext2/ |
D | ialloc.c | 507 goto got; in ext2_new_inode() 516 got: in ext2_new_inode()
|
/fs/affs/ |
D | Changes | 14 Alas, I've got no alpha to debug. :-( 162 This was fixed before, but somehow got lost.
|
/fs/quota/ |
D | dquot.c | 1518 struct dquot **dquots, *got[MAXQUOTAS] = {}; in __dquot_initialize() local 1573 got[cnt] = dquot; in __dquot_initialize() 1590 if (!got[cnt]) in __dquot_initialize() 1593 dquots[cnt] = got[cnt]; in __dquot_initialize() 1594 got[cnt] = NULL; in __dquot_initialize() 1615 dqput_all(got); in __dquot_initialize()
|
/fs/f2fs/ |
D | node.c | 698 goto got; in get_node_path() 706 goto got; in get_node_path() 714 goto got; in get_node_path() 724 goto got; in get_node_path() 734 goto got; in get_node_path() 749 goto got; in get_node_path() 753 got: in get_node_path()
|
/fs/ext4/ |
D | ialloc.c | 1112 goto got; /* we grabbed the inode! */ in __ext4_new_inode() 1123 got: in __ext4_new_inode()
|
/fs/reiserfs/ |
D | README | 126 textbook he got the algorithm from in the code. Note that his analysis
|
/fs/befs/ |
D | ChangeLog | 328 Make sure inode we got was the one we asked for.
|