/openbmc/linux/fs/xfs/scrub/ |
H A D | inode.c | 374 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 D | xfs_extfree_item.c | 143 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 D | xfs_inode_item_recover.c | 223 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 D | xfs_itable.c | 67 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 D | xfs_refcount_item.c | 139 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 D | xfs_rmap_item.c | 138 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 D | xfs_bmap_util.h | 76 int whichfork, xfs_extnum_t *nextents,
|
H A D | xfs_quotaops.c | 39 tstate->nextents = ip->i_df.if_nextents; in xfs_qm_fill_state()
|
H A D | xfs_bmap_util.c | 255 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 D | xfs_inode_buf.c | 489 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 D | xfs_inode_fork.h | 165 xfs_extnum_t nextents);
|
H A D | xfs_inode_fork.c | 289 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 D | quota.c | 383 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 D | dquot.c | 2869 tstate->nextents = 1; /* We don't know... */ in dquot_get_state()
|
/openbmc/linux/include/linux/ |
H A D | quota.h | 408 blkcnt_t nextents; /* Number of extents in the file */ member
|
/openbmc/linux/fs/gfs2/ |
H A D | quota.c | 1623 state->s_state[USRQUOTA].nextents = 1; /* unsupported */ in gfs2_quota_get_state()
|