/fs/xfs/libxfs/ |
D | xfs_bmap.c | 1264 struct xfs_bmbt_irec got; in xfs_bmap_first_unused() local 1282 for_each_xfs_iext(ifp, &icur, &got) { in xfs_bmap_first_unused() 1286 if (got.br_startoff >= lowest + len && in xfs_bmap_first_unused() 1287 got.br_startoff - max >= len) in xfs_bmap_first_unused() 1289 lastaddr = got.br_startoff + got.br_blockcount; in xfs_bmap_first_unused() 1311 struct xfs_bmbt_irec got; in xfs_bmap_last_before() local 1331 if (!xfs_iext_lookup_extent_before(ip, ifp, last_block, &icur, &got)) in xfs_bmap_last_before() 1445 struct xfs_bmbt_irec *new = &bma->got; in xfs_bmap_add_extent_delay_real() 3174 if (!isnullstartblock(ap->got.br_startblock)) { in xfs_bmap_adjacent() 3178 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 215 struct xfs_iext_cursor *cur, struct xfs_bmbt_irec *got, 218 struct xfs_iext_cursor *cur, struct xfs_bmbt_irec *got, 233 struct xfs_bmbt_irec *got, struct xfs_iext_cursor *cur,
|
D | xfs_inode_fork.h | 219 #define for_each_xfs_iext(ifp, ext, got) \ argument 221 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 | 93 error = xfs_bmap_extsize_align(mp, &ap->got, &ap->prev, in xfs_bmap_rtalloc() 233 struct xfs_bmbt_irec got; in xfs_bmap_count_leaves() local 236 for_each_xfs_iext(ifp, &icur, &got) { in xfs_bmap_count_leaves() 237 if (!isnullstartblock(got.br_startblock)) { in xfs_bmap_count_leaves() 238 *count += got.br_blockcount; in xfs_bmap_count_leaves() 304 struct xfs_bmbt_irec *got) in xfs_getbmap_report_one() argument 310 error = xfs_reflink_trim_around_shared(ip, got, &shared); in xfs_getbmap_report_one() 314 if (isnullstartblock(got->br_startblock) || in xfs_getbmap_report_one() 315 got->br_startblock == DELAYSTARTBLOCK) { in xfs_getbmap_report_one() 324 if (got->br_startoff < XFS_B_TO_FSB(ip->i_mount, XFS_ISIZE(ip))) in xfs_getbmap_report_one() [all …]
|
D | xfs_iomap.c | 362 struct xfs_bmbt_irec prev, got; in xfs_iomap_prealloc_size() local 397 while (xfs_iext_prev_extent(ifp, &ncur, &got)) { in xfs_iomap_prealloc_size() 399 isnullstartblock(got.br_startblock) || in xfs_iomap_prealloc_size() 400 got.br_startoff + got.br_blockcount != prev.br_startoff || in xfs_iomap_prealloc_size() 401 got.br_startblock + got.br_blockcount != prev.br_startblock) in xfs_iomap_prealloc_size() 403 plen += got.br_blockcount; in xfs_iomap_prealloc_size() 404 prev = got; in xfs_iomap_prealloc_size()
|
D | xfs_dquot.c | 732 struct xfs_bmbt_irec got; in xfs_dq_get_next_id() local 755 if (xfs_iext_lookup_extent(quotip, "ip->i_df, start, &cur, &got)) { in xfs_dq_get_next_id() 757 if (got.br_startoff < start) in xfs_dq_get_next_id() 758 got.br_startoff = start; in xfs_dq_get_next_id() 759 *id = got.br_startoff * mp->m_quotainfo->qi_dqperchunk; in xfs_dq_get_next_id()
|
D | xfs_icache.c | 1793 struct xfs_bmbt_irec got; in xfs_check_delalloc() local 1796 if (!ifp || !xfs_iext_lookup_extent(ip, ifp, 0, &icur, &got)) in xfs_check_delalloc() 1799 if (isnullstartblock(got.br_startblock)) { in xfs_check_delalloc() 1804 got.br_startoff, got.br_blockcount); in xfs_check_delalloc() 1806 } while (xfs_iext_next_extent(ifp, &icur, &got)); in xfs_check_delalloc()
|
/fs/xfs/scrub/ |
D | dir.c | 663 struct xfs_bmbt_irec got; in xchk_directory_blocks() local 694 found = xfs_iext_lookup_extent(sc->ip, ifp, lblk, &icur, &got); in xchk_directory_blocks() 697 if (got.br_startoff >= leaf_lblk) in xchk_directory_blocks() 711 for (lblk = roundup((xfs_dablk_t)got.br_startoff, in xchk_directory_blocks() 713 lblk < got.br_startoff + got.br_blockcount; in xchk_directory_blocks() 720 dabno = got.br_startoff + got.br_blockcount; in xchk_directory_blocks() 722 found = xfs_iext_lookup_extent(sc->ip, ifp, lblk, &icur, &got); in xchk_directory_blocks() 729 if (xfs_iext_lookup_extent(sc->ip, ifp, leaf_lblk, &icur, &got) && in xchk_directory_blocks() 730 got.br_startoff == leaf_lblk && in xchk_directory_blocks() 731 got.br_blockcount == args.geo->fsbcount && in xchk_directory_blocks() [all …]
|
/fs/ceph/ |
D | addr.c | 302 int got = (uintptr_t)priv; in ceph_readahead_cleanup() local 304 if (got) in ceph_readahead_cleanup() 305 ceph_put_cap_refs(ci, got); in ceph_readahead_cleanup() 354 int got = 0; in ceph_readahead() local 368 ret = ceph_try_get_caps(inode, CEPH_CAP_FILE_RD, want, true, &got); in ceph_readahead() 371 else if (!(got & want)) in ceph_readahead() 377 netfs_readahead(ractl, &ceph_netfs_read_ops, (void *)(uintptr_t)got); in ceph_readahead() 1355 int want, got, err; in ceph_filemap_fault() local 1368 got = 0; in ceph_filemap_fault() 1369 err = ceph_get_caps(vma->vm_file, CEPH_CAP_FILE_RD, want, -1, &got); in ceph_filemap_fault() [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() 1557 int want, got = 0; in ceph_read_iter() local 1573 ret = ceph_get_caps(filp, CEPH_CAP_FILE_RD, want, -1, &got); in ceph_read_iter() 1582 if ((got & (CEPH_CAP_FILE_CACHE|CEPH_CAP_FILE_LAZYIO)) == 0 || in ceph_read_iter() 1588 ceph_cap_string(got)); in ceph_read_iter() 1603 CEPH_DEFINE_RW_CONTEXT(rw_ctx, got); in ceph_read_iter() 1606 ceph_cap_string(got)); in ceph_read_iter() 1613 inode, ceph_vinop(inode), ceph_cap_string(got), (int)ret); in ceph_read_iter() [all …]
|
D | caps.c | 2599 void ceph_take_cap_refs(struct ceph_inode_info *ci, int got, in ceph_take_cap_refs() argument 2604 if (got & CEPH_CAP_PIN) in ceph_take_cap_refs() 2606 if (got & CEPH_CAP_FILE_RD) in ceph_take_cap_refs() 2608 if (got & CEPH_CAP_FILE_CACHE) in ceph_take_cap_refs() 2610 if (got & CEPH_CAP_FILE_EXCL) in ceph_take_cap_refs() 2612 if (got & CEPH_CAP_FILE_WR) { in ceph_take_cap_refs() 2620 if (got & CEPH_CAP_FILE_BUFFER) { in ceph_take_cap_refs() 2649 loff_t endoff, int flags, int *got) in try_get_cap_refs() argument 2735 *got = need | want; in try_get_cap_refs() 2737 *got = need; in try_get_cap_refs() [all …]
|
D | dir.c | 1111 int got = 0, want = CEPH_CAP_FILE_EXCL | CEPH_CAP_DIR_UNLINK; in get_caps_for_async_unlink() local 1116 got = want; in get_caps_for_async_unlink() 1121 if (!got) in get_caps_for_async_unlink() 1136 if (want == got) in get_caps_for_async_unlink() 1137 return got; in get_caps_for_async_unlink() 1139 ceph_put_cap_refs(ci, got); in get_caps_for_async_unlink()
|
D | super.h | 1184 loff_t endoff, int *got); 1186 int need, int want, bool nonblock, int *got);
|
/fs/proc/ |
D | base.c | 226 int ret, got; in get_mm_proctitle() local 236 got = access_remote_vm(mm, arg_start, page, PAGE_SIZE, FOLL_ANON); in get_mm_proctitle() 237 if (got > 0) { in get_mm_proctitle() 238 int len = strnlen(page, got); in get_mm_proctitle() 241 if (len < got) in get_mm_proctitle() 323 int got; in get_mm_cmdline() local 326 got = access_remote_vm(mm, pos, page, size, FOLL_ANON); in get_mm_cmdline() 327 if (got <= 0) in get_mm_cmdline() 329 got -= copy_to_user(buf, page, got); in get_mm_cmdline() 330 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/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 | 1516 struct dquot **dquots, *got[MAXQUOTAS] = {}; in __dquot_initialize() local 1571 got[cnt] = dquot; in __dquot_initialize() 1588 if (!got[cnt]) in __dquot_initialize() 1591 dquots[cnt] = got[cnt]; in __dquot_initialize() 1592 got[cnt] = NULL; in __dquot_initialize() 1613 dqput_all(got); in __dquot_initialize()
|
/fs/f2fs/ |
D | node.c | 697 goto got; in get_node_path() 705 goto got; in get_node_path() 713 goto got; in get_node_path() 723 goto got; in get_node_path() 733 goto got; in get_node_path() 748 goto got; in get_node_path() 752 got: in get_node_path()
|
/fs/ext4/ |
D | ialloc.c | 1113 goto got; /* we grabbed the inode! */ in __ext4_new_inode() 1124 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.
|