Home
last modified time | relevance | path

Searched refs:nextents (Results 1 – 16 of 16) sorted by relevance

/Linux-v6.1/fs/xfs/scrub/
Dinode.c235 xfs_extnum_t nextents; in xchk_dinode() local
394 nextents = xfs_dfork_data_extents(dip); in xchk_dinode()
401 if (nextents > fork_recs) in xchk_dinode()
405 if (nextents <= fork_recs) in xchk_dinode()
409 if (nextents != 0) in xchk_dinode()
505 xfs_extnum_t nextents; in xchk_inode_xref_bmap() local
515 &nextents, &count); in xchk_inode_xref_bmap()
518 if (nextents < xfs_dfork_data_extents(dip)) in xchk_inode_xref_bmap()
522 &nextents, &acount); in xchk_inode_xref_bmap()
525 if (nextents != xfs_dfork_attr_extents(dip)) in xchk_inode_xref_bmap()
/Linux-v6.1/fs/xfs/
Dxfs_extfree_item.c143 uint nextents) in xfs_efi_init() argument
148 ASSERT(nextents > 0); in xfs_efi_init()
149 if (nextents > XFS_EFI_MAX_FAST_EXTENTS) { in xfs_efi_init()
150 efip = kzalloc(xfs_efi_log_item_sizeof(nextents), in xfs_efi_init()
158 efip->efi_format.efi_nextents = nextents; in xfs_efi_init()
315 unsigned int nextents) in xfs_trans_get_efd() argument
319 ASSERT(nextents > 0); in xfs_trans_get_efd()
321 if (nextents > XFS_EFD_MAX_FAST_EXTENTS) { in xfs_trans_get_efd()
322 efdp = kzalloc(xfs_efd_log_item_sizeof(nextents), in xfs_trans_get_efd()
332 efdp->efd_format.efd_nextents = nextents; in xfs_trans_get_efd()
Dxfs_inode_item_recover.c223 xfs_extnum_t nextents; in xlog_dinode_verify_extent_counts() local
239 nextents = ldip->di_big_nextents; in xlog_dinode_verify_extent_counts()
252 nextents = ldip->di_nextents; in xlog_dinode_verify_extent_counts()
256 if (unlikely(nextents + anextents > ldip->di_nblocks)) { in xlog_dinode_verify_extent_counts()
261 ldip->di_ino, xfs_has_large_extent_counts(mp), nextents, in xlog_dinode_verify_extent_counts()
Dxfs_itable.c67 xfs_extnum_t nextents; in xfs_bulkstat_one_int() local
111 nextents = xfs_ifork_nextents(&ip->i_df); in xfs_bulkstat_one_int()
113 buf->bs_extents = min(nextents, XFS_MAX_EXTCNT_DATA_FORK_SMALL); in xfs_bulkstat_one_int()
115 buf->bs_extents64 = nextents; in xfs_bulkstat_one_int()
Dxfs_refcount_item.c138 uint nextents) in xfs_cui_init() argument
143 ASSERT(nextents > 0); in xfs_cui_init()
144 if (nextents > XFS_CUI_MAX_FAST_EXTENTS) in xfs_cui_init()
145 cuip = kmem_zalloc(xfs_cui_log_item_sizeof(nextents), in xfs_cui_init()
152 cuip->cui_format.cui_nextents = nextents; in xfs_cui_init()
Dxfs_rmap_item.c137 uint nextents) in xfs_rui_init() argument
142 ASSERT(nextents > 0); in xfs_rui_init()
143 if (nextents > XFS_RUI_MAX_FAST_EXTENTS) in xfs_rui_init()
144 ruip = kmem_zalloc(xfs_rui_log_item_sizeof(nextents), 0); in xfs_rui_init()
150 ruip->rui_format.rui_nextents = nextents; in xfs_rui_init()
Dxfs_bmap_util.h76 int whichfork, xfs_extnum_t *nextents,
Dxfs_quotaops.c39 tstate->nextents = ip->i_df.if_nextents; in xfs_qm_fill_state()
Dxfs_bmap_util.c255 xfs_extnum_t *nextents, in xfs_bmap_count_blocks() argument
264 *nextents = 0; in xfs_bmap_count_blocks()
291 *nextents = xfs_bmap_count_leaves(ifp, count); in xfs_bmap_count_blocks()
/Linux-v6.1/fs/xfs/libxfs/
Dxfs_inode_buf.c465 xfs_extnum_t nextents; in xfs_dinode_verify() local
502 nextents = xfs_dfork_data_extents(dip); in xfs_dinode_verify()
507 if (mode && nextents + naextents > nblocks) in xfs_dinode_verify()
510 if (S_ISDIR(mode) && nextents > mp->m_dir_geo->max_extents) in xfs_dinode_verify()
Dxfs_inode_fork.h164 xfs_extnum_t nextents);
Dxfs_inode_fork.c283 xfs_extnum_t nextents) in xfs_ifork_init_attr() argument
286 ip->i_af.if_nextents = nextents; in xfs_ifork_init_attr()
/Linux-v6.1/fs/quota/
Dquota.c383 fqs->qs_uquota.qfs_nextents = state.s_state[USRQUOTA].nextents; in quota_getstate()
388 fqs->qs_gquota.qfs_nextents = state.s_state[GRPQUOTA].nextents; in quota_getstate()
401 state.s_state[PRJQUOTA].nextents; in quota_getstate()
482 fqs->qs_uquota.qfs_nextents = state.s_state[USRQUOTA].nextents; in quota_getstatev()
487 fqs->qs_gquota.qfs_nextents = state.s_state[GRPQUOTA].nextents; in quota_getstatev()
492 fqs->qs_pquota.qfs_nextents = state.s_state[PRJQUOTA].nextents; in quota_getstatev()
Ddquot.c2809 tstate->nextents = 1; /* We don't know... */ in dquot_get_state()
/Linux-v6.1/include/linux/
Dquota.h406 blkcnt_t nextents; /* Number of extents in the file */ member
/Linux-v6.1/fs/gfs2/
Dquota.c1599 state->s_state[USRQUOTA].nextents = 1; /* unsupported */ in gfs2_quota_get_state()