Home
last modified time | relevance | path

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

/openbmc/linux/fs/xfs/scrub/
H A Dinode.c374 xfs_extnum_t nextents; in xchk_dinode() local
533 nextents = xfs_dfork_data_extents(dip); in xchk_dinode()
540 if (nextents > fork_recs) in xchk_dinode()
544 if (nextents <= fork_recs) in xchk_dinode()
548 if (nextents != 0) in xchk_dinode()
644 xfs_extnum_t nextents; in xchk_inode_xref_bmap() local
654 &nextents, &count); in xchk_inode_xref_bmap()
657 if (nextents < xfs_dfork_data_extents(dip)) in xchk_inode_xref_bmap()
661 &nextents, &acount); in xchk_inode_xref_bmap()
664 if (nextents != xfs_dfork_attr_extents(dip)) in xchk_inode_xref_bmap()
/openbmc/linux/fs/xfs/
H A 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()
H A 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()
H A Dxfs_itable.c67 xfs_extnum_t nextents; in xfs_bulkstat_one_int() local
122 nextents = xfs_ifork_nextents(&ip->i_df); in xfs_bulkstat_one_int()
124 buf->bs_extents = min(nextents, XFS_MAX_EXTCNT_DATA_FORK_SMALL); in xfs_bulkstat_one_int()
126 buf->bs_extents64 = nextents; in xfs_bulkstat_one_int()
H A Dxfs_refcount_item.c139 uint nextents) in xfs_cui_init() argument
144 ASSERT(nextents > 0); in xfs_cui_init()
145 if (nextents > XFS_CUI_MAX_FAST_EXTENTS) in xfs_cui_init()
146 cuip = kmem_zalloc(xfs_cui_log_item_sizeof(nextents), in xfs_cui_init()
153 cuip->cui_format.cui_nextents = nextents; in xfs_cui_init()
H A Dxfs_rmap_item.c138 uint nextents) in xfs_rui_init() argument
143 ASSERT(nextents > 0); in xfs_rui_init()
144 if (nextents > XFS_RUI_MAX_FAST_EXTENTS) in xfs_rui_init()
145 ruip = kmem_zalloc(xfs_rui_log_item_sizeof(nextents), 0); in xfs_rui_init()
151 ruip->rui_format.rui_nextents = nextents; in xfs_rui_init()
H A Dxfs_bmap_util.h76 int whichfork, xfs_extnum_t *nextents,
H A Dxfs_quotaops.c39 tstate->nextents = ip->i_df.if_nextents; in xfs_qm_fill_state()
H A 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()
/openbmc/linux/fs/xfs/libxfs/
H A Dxfs_inode_buf.c489 xfs_extnum_t nextents; in xfs_dinode_verify() local
536 nextents = xfs_dfork_data_extents(dip); in xfs_dinode_verify()
541 if (mode && nextents + naextents > nblocks) in xfs_dinode_verify()
544 if (nextents + naextents == 0 && nblocks != 0) in xfs_dinode_verify()
547 if (S_ISDIR(mode) && nextents > mp->m_dir_geo->max_extents) in xfs_dinode_verify()
H A Dxfs_inode_fork.h165 xfs_extnum_t nextents);
H A Dxfs_inode_fork.c289 xfs_extnum_t nextents) in xfs_ifork_init_attr() argument
299 ip->i_af.if_nextents = nextents; in xfs_ifork_init_attr()
/openbmc/linux/fs/quota/
H A 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()
H A Ddquot.c2869 tstate->nextents = 1; /* We don't know... */ in dquot_get_state()
/openbmc/linux/include/linux/
H A Dquota.h408 blkcnt_t nextents; /* Number of extents in the file */ member
/openbmc/linux/fs/gfs2/
H A Dquota.c1623 state->s_state[USRQUOTA].nextents = 1; /* unsupported */ in gfs2_quota_get_state()