Home
last modified time | relevance | path

Searched refs:nextents (Results 1 - 25 of 27) sorted by relevance

12

/kernel/linux/linux-5.10/fs/xfs/scrub/
H A Dinode.c227 uint32_t nextents; in xchk_dinode() local
372 nextents = be32_to_cpu(dip->di_nextents); in xchk_dinode()
376 if (nextents > fork_recs) in xchk_dinode()
380 if (nextents <= fork_recs) in xchk_dinode()
384 if (nextents != 0) in xchk_dinode()
404 nextents = be16_to_cpu(dip->di_anextents); in xchk_dinode()
408 if (nextents > fork_recs) in xchk_dinode()
412 if (nextents <= fork_recs) in xchk_dinode()
416 if (nextents != 0) in xchk_dinode()
481 xfs_extnum_t nextents; in xchk_inode_xref_bmap() local
[all...]
/kernel/linux/linux-5.10/fs/xfs/
H A Dxfs_extfree_item.c152 uint nextents) in xfs_efi_init()
158 ASSERT(nextents > 0); in xfs_efi_init()
159 if (nextents > XFS_EFI_MAX_FAST_EXTENTS) { in xfs_efi_init()
161 ((nextents - 1) * sizeof(xfs_extent_t))); in xfs_efi_init()
169 efip->efi_format.efi_nextents = nextents; in xfs_efi_init()
317 * Allocate an "extent free done" log item that will hold nextents worth of
318 * extents. The caller must use all nextents extents, because we are not
325 unsigned int nextents) in xfs_trans_get_efd()
329 ASSERT(nextents > 0); in xfs_trans_get_efd()
331 if (nextents > XFS_EFD_MAX_FAST_EXTENT in xfs_trans_get_efd()
150 xfs_efi_init( struct xfs_mount *mp, uint nextents) xfs_efi_init() argument
322 xfs_trans_get_efd( struct xfs_trans *tp, struct xfs_efi_log_item *efip, unsigned int nextents) xfs_trans_get_efd() argument
[all...]
H A Dxfs_refcount_item.c136 uint nextents) in xfs_cui_init()
141 ASSERT(nextents > 0); in xfs_cui_init()
142 if (nextents > XFS_CUI_MAX_FAST_EXTENTS) in xfs_cui_init()
143 cuip = kmem_zalloc(xfs_cui_log_item_sizeof(nextents), in xfs_cui_init()
150 cuip->cui_format.cui_nextents = nextents; in xfs_cui_init()
134 xfs_cui_init( struct xfs_mount *mp, uint nextents) xfs_cui_init() argument
H A Dxfs_rmap_item.c135 uint nextents) in xfs_rui_init()
140 ASSERT(nextents > 0); in xfs_rui_init()
141 if (nextents > XFS_RUI_MAX_FAST_EXTENTS) in xfs_rui_init()
142 ruip = kmem_zalloc(xfs_rui_log_item_sizeof(nextents), 0); in xfs_rui_init()
148 ruip->rui_format.rui_nextents = nextents; in xfs_rui_init()
133 xfs_rui_init( struct xfs_mount *mp, uint nextents) xfs_rui_init() argument
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.c211 xfs_extnum_t *nextents, in xfs_bmap_count_blocks()
220 *nextents = 0; in xfs_bmap_count_blocks()
249 *nextents = xfs_bmap_count_leaves(ifp, count); in xfs_bmap_count_blocks()
207 xfs_bmap_count_blocks( struct xfs_trans *tp, struct xfs_inode *ip, int whichfork, xfs_extnum_t *nextents, xfs_filblks_t *count) xfs_bmap_count_blocks() argument
/kernel/linux/linux-6.6/fs/xfs/
H A Dxfs_extfree_item.c143 uint nextents) in xfs_efi_init()
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()
307 * Allocate an "extent free done" log item that will hold nextents worth of
308 * extents. The caller must use all nextents extents, because we are not
315 unsigned int nextents) in xfs_trans_get_efd()
319 ASSERT(nextents > 0); in xfs_trans_get_efd()
321 if (nextents > XFS_EFD_MAX_FAST_EXTENT in xfs_trans_get_efd()
141 xfs_efi_init( struct xfs_mount *mp, uint nextents) xfs_efi_init() argument
312 xfs_trans_get_efd( struct xfs_trans *tp, struct xfs_efi_log_item *efip, unsigned int nextents) xfs_trans_get_efd() argument
[all...]
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()
260 "Bad inode 0x%llx, large extent counts %d, nextents 0x%llx, anextents 0x%x, nblocks 0x%llx", 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_refcount_item.c139 uint nextents) in xfs_cui_init()
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()
137 xfs_cui_init( struct xfs_mount *mp, uint nextents) xfs_cui_init() argument
H A Dxfs_rmap_item.c138 uint nextents) in xfs_rui_init()
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()
136 xfs_rui_init( struct xfs_mount *mp, uint nextents) xfs_rui_init() argument
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_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()
264 *nextents = 0; in xfs_bmap_count_blocks()
291 *nextents = xfs_bmap_count_leaves(ifp, count); in xfs_bmap_count_blocks()
251 xfs_bmap_count_blocks( struct xfs_trans *tp, struct xfs_inode *ip, int whichfork, xfs_extnum_t *nextents, xfs_filblks_t *count) xfs_bmap_count_blocks() argument
/kernel/linux/linux-6.6/fs/xfs/scrub/
H A Dinode.c370 xfs_extnum_t nextents; in xchk_dinode() local
529 nextents = xfs_dfork_data_extents(dip); in xchk_dinode()
536 if (nextents > fork_recs) in xchk_dinode()
540 if (nextents <= fork_recs) in xchk_dinode()
544 if (nextents != 0) in xchk_dinode()
640 xfs_extnum_t nextents; in xchk_inode_xref_bmap() local
648 /* Walk all the extents to check nextents/naextents/nblocks. */ in xchk_inode_xref_bmap()
650 &nextents, &count); in xchk_inode_xref_bmap()
653 if (nextents < xfs_dfork_data_extents(dip)) in xchk_inode_xref_bmap()
657 &nextents, in xchk_inode_xref_bmap()
[all...]
/kernel/linux/linux-6.6/fs/xfs/libxfs/
H A Dxfs_inode_buf.c466 xfs_extnum_t nextents; in xfs_dinode_verify() local
503 nextents = xfs_dfork_data_extents(dip); in xfs_dinode_verify()
508 if (mode && nextents + naextents > nblocks) in xfs_dinode_verify()
511 if (nextents + naextents == 0 && nblocks != 0) in xfs_dinode_verify()
514 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()
299 ip->i_af.if_nextents = nextents; in xfs_ifork_init_attr()
286 xfs_ifork_init_attr( struct xfs_inode *ip, enum xfs_dinode_fmt format, xfs_extnum_t nextents) xfs_ifork_init_attr() argument
/kernel/linux/linux-5.10/fs/quota/
H A Dquota.c380 fqs->qs_uquota.qfs_nextents = state.s_state[USRQUOTA].nextents; in quota_getstate()
385 fqs->qs_gquota.qfs_nextents = state.s_state[GRPQUOTA].nextents; in quota_getstate()
398 state.s_state[PRJQUOTA].nextents; in quota_getstate()
478 fqs->qs_uquota.qfs_nextents = state.s_state[USRQUOTA].nextents; in quota_getstatev()
483 fqs->qs_gquota.qfs_nextents = state.s_state[GRPQUOTA].nextents; in quota_getstatev()
488 fqs->qs_pquota.qfs_nextents = state.s_state[PRJQUOTA].nextents; in quota_getstatev()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/include/linux/
H A Dquota.h408 blkcnt_t nextents; /* Number of extents in the file */ member
/kernel/linux/linux-6.6/include/linux/
H A Dquota.h408 blkcnt_t nextents; /* Number of extents in the file */ member
/kernel/linux/linux-5.10/fs/gfs2/
H A Dquota.c1636 state->s_state[USRQUOTA].nextents = 1; /* unsupported */ in gfs2_quota_get_state()
/kernel/linux/linux-6.6/fs/gfs2/
H A Dquota.c1637 state->s_state[USRQUOTA].nextents = 1; /* unsupported */ in gfs2_quota_get_state()

Completed in 27 milliseconds

12