Home
last modified time | relevance | path

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

/Linux-v5.4/fs/xfs/scrub/
Dinode.c209 uint32_t nextents; in xchk_dinode() local
357 nextents = be32_to_cpu(dip->di_nextents); in xchk_dinode()
361 if (nextents > fork_recs) in xchk_dinode()
365 if (nextents <= fork_recs) in xchk_dinode()
369 if (nextents != 0) in xchk_dinode()
389 nextents = be16_to_cpu(dip->di_anextents); in xchk_dinode()
393 if (nextents > fork_recs) in xchk_dinode()
397 if (nextents <= fork_recs) in xchk_dinode()
401 if (nextents != 0) in xchk_dinode()
467 xfs_extnum_t nextents; in xchk_inode_xref_bmap() local
[all …]
/Linux-v5.4/fs/xfs/
Dxfs_extfree_item.c156 uint nextents) in xfs_efi_init() argument
162 ASSERT(nextents > 0); in xfs_efi_init()
163 if (nextents > XFS_EFI_MAX_FAST_EXTENTS) { in xfs_efi_init()
165 ((nextents - 1) * sizeof(xfs_extent_t))); in xfs_efi_init()
172 efip->efi_format.efi_nextents = nextents; in xfs_efi_init()
327 unsigned int nextents) in xfs_trans_get_efd() argument
331 ASSERT(nextents > 0); in xfs_trans_get_efd()
333 if (nextents > XFS_EFD_MAX_FAST_EXTENTS) { in xfs_trans_get_efd()
335 (nextents - 1) * sizeof(struct xfs_extent), in xfs_trans_get_efd()
344 efdp->efd_format.efd_nextents = nextents; in xfs_trans_get_efd()
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()
152 cuip->cui_format.cui_nextents = nextents; in xfs_cui_init()
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()
150 ruip->rui_format.rui_nextents = nextents; in xfs_rui_init()
Dxfs_bmap_util.h80 int whichfork, xfs_extnum_t *nextents,
Dxfs_bmap_util.c262 xfs_extnum_t *nextents, in xfs_bmap_count_tree() argument
299 error = xfs_bmap_count_tree(mp, tp, ifp, bno, level, nextents, in xfs_bmap_count_tree()
313 (*nextents) += numrecs; in xfs_bmap_count_tree()
340 xfs_extnum_t *nextents, in xfs_bmap_count_blocks() argument
353 *nextents = 0; in xfs_bmap_count_blocks()
361 *nextents = xfs_bmap_count_leaves(ifp, count); in xfs_bmap_count_blocks()
383 nextents, count); in xfs_bmap_count_blocks()
Dxfs_quotaops.c39 tstate->nextents = ip->i_d.di_nextents; in xfs_qm_fill_state()
/Linux-v5.4/fs/quota/
Dquota.c363 fqs->qs_uquota.qfs_nextents = state.s_state[USRQUOTA].nextents; in quota_getstate()
368 fqs->qs_gquota.qfs_nextents = state.s_state[GRPQUOTA].nextents; in quota_getstate()
381 state.s_state[PRJQUOTA].nextents; in quota_getstate()
429 fqs->qs_uquota.qfs_nextents = state.s_state[USRQUOTA].nextents; in quota_getstatev()
434 fqs->qs_gquota.qfs_nextents = state.s_state[GRPQUOTA].nextents; in quota_getstatev()
439 fqs->qs_pquota.qfs_nextents = state.s_state[PRJQUOTA].nextents; in quota_getstatev()
Ddquot.c2805 tstate->nextents = 1; /* We don't know... */ in dquot_get_state()
/Linux-v5.4/include/linux/
Dquota.h406 blkcnt_t nextents; /* Number of extents in the file */ member
/Linux-v5.4/fs/xfs/libxfs/
Dxfs_bmap.c1169 xfs_extnum_t nextents = XFS_IFORK_NEXTENTS(ip, whichfork); in xfs_iread_extents() local
1232 if (unlikely(i + num_recs > nextents)) { in xfs_iread_extents()
1547 xfs_extnum_t *nextents; in xfs_bmap_add_extent_delay_real() local
1553 nextents = (whichfork == XFS_COW_FORK ? &bma->ip->i_cnextents : in xfs_bmap_add_extent_delay_real()
1646 (*nextents)--; in xfs_bmap_add_extent_delay_real()
1736 (*nextents)++; in xfs_bmap_add_extent_delay_real()
1792 (*nextents)++; in xfs_bmap_add_extent_delay_real()
1869 (*nextents)++; in xfs_bmap_add_extent_delay_real()
1948 (*nextents)++; in xfs_bmap_add_extent_delay_real()
/Linux-v5.4/fs/gfs2/
Dquota.c1605 state->s_state[USRQUOTA].nextents = 1; /* unsupported */ in gfs2_quota_get_state()