/fs/xfs/libxfs/ |
D | xfs_bmap.c | 1211 struct xfs_bmbt_irec got; in xfs_bmap_first_unused() local 1229 for_each_xfs_iext(ifp, &icur, &got) { in xfs_bmap_first_unused() 1233 if (got.br_startoff >= lowest + len && in xfs_bmap_first_unused() 1234 got.br_startoff - max >= len) in xfs_bmap_first_unused() 1236 lastaddr = got.br_startoff + got.br_blockcount; in xfs_bmap_first_unused() 1258 struct xfs_bmbt_irec got; in xfs_bmap_last_before() local 1278 if (!xfs_iext_lookup_extent_before(ip, ifp, last_block, &icur, &got)) in xfs_bmap_last_before() 1392 struct xfs_bmbt_irec *new = &bma->got; in xfs_bmap_add_extent_delay_real() 3121 if (!isnullstartblock(ap->got.br_startblock)) { in xfs_bmap_adjacent() 3125 adjust = gotdiff = ap->got.br_startoff - ap->offset; in xfs_bmap_adjacent() [all …]
|
D | xfs_bmap.h | 23 struct xfs_bmbt_irec got; /* extent after, or delayed */ member 197 struct xfs_iext_cursor *cur, struct xfs_bmbt_irec *got, 200 struct xfs_iext_cursor *cur, struct xfs_bmbt_irec *got, 215 struct xfs_bmbt_irec *got, struct xfs_iext_cursor *cur,
|
D | xfs_inode_fork.h | 246 #define for_each_xfs_iext(ifp, ext, got) \ argument 248 xfs_iext_get_extent((ifp), (ext), (got)); \
|
D | xfs_da_btree.c | 2162 int nmap, error, got, i, mapi; in xfs_da_grow_inode_int() local 2216 for (i = 0, got = 0; i < mapi; i++) in xfs_da_grow_inode_int() 2217 got += mapp[i].br_blockcount; in xfs_da_grow_inode_int() 2218 if (got != count || mapp[0].br_startoff != *bno || in xfs_da_grow_inode_int()
|
/fs/xfs/ |
D | xfs_reflink.c | 251 struct xfs_bmbt_irec got; in xfs_reflink_convert_cow_locked() local 256 if (!xfs_iext_lookup_extent(ip, ip->i_cowfp, offset_fsb, &icur, &got)) in xfs_reflink_convert_cow_locked() 260 if (got.br_startoff >= offset_fsb + count_fsb) in xfs_reflink_convert_cow_locked() 262 if (got.br_state == XFS_EXT_NORM) in xfs_reflink_convert_cow_locked() 264 if (WARN_ON_ONCE(isnullstartblock(got.br_startblock))) in xfs_reflink_convert_cow_locked() 267 xfs_trim_extent(&got, offset_fsb, count_fsb); in xfs_reflink_convert_cow_locked() 268 if (!got.br_blockcount) in xfs_reflink_convert_cow_locked() 271 got.br_state = XFS_EXT_NORM; in xfs_reflink_convert_cow_locked() 273 XFS_COW_FORK, &icur, &dummy_cur, &got, in xfs_reflink_convert_cow_locked() 277 } 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 | 371 struct xfs_bmbt_irec prev, got; in xfs_iomap_prealloc_size() local 406 while (xfs_iext_prev_extent(ifp, &ncur, &got)) { in xfs_iomap_prealloc_size() 408 isnullstartblock(got.br_startblock) || in xfs_iomap_prealloc_size() 409 got.br_startoff + got.br_blockcount != prev.br_startoff || in xfs_iomap_prealloc_size() 410 got.br_startblock + got.br_blockcount != prev.br_startblock) in xfs_iomap_prealloc_size() 412 plen += got.br_blockcount; in xfs_iomap_prealloc_size() 413 prev = got; in xfs_iomap_prealloc_size()
|
D | xfs_dquot.c | 705 struct xfs_bmbt_irec got; in xfs_dq_get_next_id() local 728 if (xfs_iext_lookup_extent(quotip, "ip->i_df, start, &cur, &got)) { in xfs_dq_get_next_id() 730 if (got.br_startoff < start) in xfs_dq_get_next_id() 731 got.br_startoff = start; in xfs_dq_get_next_id() 732 *id = got.br_startoff * mp->m_quotainfo->qi_dqperchunk; in xfs_dq_get_next_id()
|
D | xfs_icache.c | 1785 struct xfs_bmbt_irec got; in xfs_check_delalloc() local 1788 if (!ifp || !xfs_iext_lookup_extent(ip, ifp, 0, &icur, &got)) in xfs_check_delalloc() 1791 if (isnullstartblock(got.br_startblock)) { in xfs_check_delalloc() 1796 got.br_startoff, got.br_blockcount); in xfs_check_delalloc() 1798 } while (xfs_iext_next_extent(ifp, &icur, &got)); in xfs_check_delalloc()
|
/fs/xfs/scrub/ |
D | dir.c | 668 struct xfs_bmbt_irec got; in xchk_directory_blocks() local 700 found = xfs_iext_lookup_extent(sc->ip, ifp, lblk, &icur, &got); in xchk_directory_blocks() 703 if (got.br_startoff >= leaf_lblk) in xchk_directory_blocks() 717 for (lblk = roundup((xfs_dablk_t)got.br_startoff, in xchk_directory_blocks() 719 lblk < got.br_startoff + got.br_blockcount; in xchk_directory_blocks() 727 dabno = got.br_startoff + got.br_blockcount; in xchk_directory_blocks() 729 found = xfs_iext_lookup_extent(sc->ip, ifp, lblk, &icur, &got); in xchk_directory_blocks() 736 if (xfs_iext_lookup_extent(sc->ip, ifp, leaf_lblk, &icur, &got) && in xchk_directory_blocks() 737 got.br_startoff == leaf_lblk && in xchk_directory_blocks() 738 got.br_blockcount == args.geo->fsbcount && in xchk_directory_blocks() [all …]
|
/fs/ceph/ |
D | addr.c | 390 int got = 0, want = CEPH_CAP_FILE_CACHE; in ceph_init_request() local 419 ret = ceph_try_get_caps(inode, CEPH_CAP_FILE_RD, want, true, &got); in ceph_init_request() 425 if (!(got & want)) { in ceph_init_request() 435 priv->caps = got; in ceph_init_request() 1467 int want, got, err; in ceph_filemap_fault() local 1483 got = 0; in ceph_filemap_fault() 1484 err = ceph_get_caps(vma->vm_file, CEPH_CAP_FILE_RD, want, -1, &got); in ceph_filemap_fault() 1489 inode, off, ceph_cap_string(got)); in ceph_filemap_fault() 1491 if ((got & (CEPH_CAP_FILE_CACHE | CEPH_CAP_FILE_LAZYIO)) || in ceph_filemap_fault() 1493 CEPH_DEFINE_RW_CONTEXT(rw_ctx, got); in ceph_filemap_fault() [all …]
|
D | file.c | 471 int got = 0, want = CEPH_CAP_FILE_EXCL | CEPH_CAP_DIR_CREATE; in try_prep_async_create() local 509 got = want; in try_prep_async_create() 512 return got; in try_prep_async_create() 1609 int want = 0, got = 0; in ceph_read_iter() local 1629 ret = ceph_get_caps(filp, CEPH_CAP_FILE_RD, want, -1, &got); in ceph_read_iter() 1638 if ((got & (CEPH_CAP_FILE_CACHE|CEPH_CAP_FILE_LAZYIO)) == 0 || in ceph_read_iter() 1644 ceph_cap_string(got)); in ceph_read_iter() 1659 CEPH_DEFINE_RW_CONTEXT(rw_ctx, got); in ceph_read_iter() 1662 ceph_cap_string(got)); in ceph_read_iter() 1669 inode, ceph_vinop(inode), ceph_cap_string(got), (int)ret); in ceph_read_iter() [all …]
|
D | caps.c | 2638 void ceph_take_cap_refs(struct ceph_inode_info *ci, int got, in ceph_take_cap_refs() argument 2643 if (got & CEPH_CAP_PIN) in ceph_take_cap_refs() 2645 if (got & CEPH_CAP_FILE_RD) in ceph_take_cap_refs() 2647 if (got & CEPH_CAP_FILE_CACHE) in ceph_take_cap_refs() 2649 if (got & CEPH_CAP_FILE_EXCL) in ceph_take_cap_refs() 2651 if (got & CEPH_CAP_FILE_WR) { in ceph_take_cap_refs() 2659 if (got & CEPH_CAP_FILE_BUFFER) { in ceph_take_cap_refs() 2688 loff_t endoff, int flags, int *got) in try_get_cap_refs() argument 2778 *got = need | (want & ~exclude); in try_get_cap_refs() 2780 *got = need; in try_get_cap_refs() [all …]
|
D | dir.c | 1146 int got = 0, want = CEPH_CAP_FILE_EXCL | CEPH_CAP_DIR_UNLINK; in get_caps_for_async_unlink() local 1151 got = want; in get_caps_for_async_unlink() 1156 if (!got) in get_caps_for_async_unlink() 1171 if (want == got) in get_caps_for_async_unlink() 1172 return got; in get_caps_for_async_unlink() 1174 ceph_put_cap_refs(ci, got); in get_caps_for_async_unlink()
|
D | super.h | 1240 loff_t endoff, int *got); 1242 int need, int want, bool nonblock, int *got);
|
/fs/proc/ |
D | base.c | 225 int ret, got; in get_mm_proctitle() local 235 got = access_remote_vm(mm, arg_start, page, PAGE_SIZE, FOLL_ANON); in get_mm_proctitle() 236 if (got > 0) { in get_mm_proctitle() 237 int len = strnlen(page, got); in get_mm_proctitle() 240 if (len < got) in get_mm_proctitle() 322 int got; in get_mm_cmdline() local 325 got = access_remote_vm(mm, pos, page, size, FOLL_ANON); in get_mm_cmdline() 326 if (got <= 0) in get_mm_cmdline() 328 got -= copy_to_user(buf, page, got); in get_mm_cmdline() 329 if (unlikely(!got)) { in get_mm_cmdline() [all …]
|
/fs/ubifs/ |
D | ubifs.h | 1606 const u8 *expected, const u8 *got) in ubifs_check_hash() argument 1608 return crypto_memneq(expected, got, c->hash_len); in ubifs_check_hash() 1621 const u8 *expected, const u8 *got) in ubifs_check_hmac() argument 1623 return crypto_memneq(expected, got, c->hmac_desc_len); in ubifs_check_hmac()
|
/fs/ext2/ |
D | ialloc.c | 501 goto got; in ext2_new_inode() 510 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 | 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/smb/client/ |
D | file.c | 4711 unsigned int i, got, rsize; in cifs_readahead() local 4797 got = __readahead_batch(ractl, rdata->pages, nr_pages); in cifs_readahead() 4798 if (got != nr_pages) { in cifs_readahead() 4800 got, nr_pages); in cifs_readahead() 4801 nr_pages = got; in cifs_readahead()
|
/fs/befs/ |
D | ChangeLog | 328 Make sure inode we got was the one we asked for.
|