| /linux-6.15/fs/xfs/scrub/ |
| H A D | inode.c | 421 xfs_extnum_t nextents; in xchk_dinode() local 589 nextents = xfs_dfork_data_extents(dip); in xchk_dinode() 596 if (nextents > fork_recs) in xchk_dinode() 600 if (nextents <= fork_recs) in xchk_dinode() 604 if (nextents != 0) in xchk_dinode() 700 xfs_extnum_t nextents; in xchk_inode_xref_bmap() local 709 error = xchk_inode_count_blocks(sc, XFS_DATA_FORK, &nextents, &count); in xchk_inode_xref_bmap() 712 if (nextents < xfs_dfork_data_extents(dip)) in xchk_inode_xref_bmap() 715 error = xchk_inode_count_blocks(sc, XFS_ATTR_FORK, &nextents, &acount); in xchk_inode_xref_bmap() 718 if (nextents != xfs_dfork_attr_extents(dip)) in xchk_inode_xref_bmap()
|
| H A D | inode_repair.c | 1130 xfs_extnum_t nextents) in xrep_dinode_set_data_nextents() argument 1133 dip->di_big_nextents = cpu_to_be64(nextents); in xrep_dinode_set_data_nextents() 1135 dip->di_nextents = cpu_to_be32(nextents); in xrep_dinode_set_data_nextents() 1141 xfs_extnum_t nextents) in xrep_dinode_set_attr_nextents() argument 1144 dip->di_big_anextents = cpu_to_be32(nextents); in xrep_dinode_set_attr_nextents() 1146 dip->di_anextents = cpu_to_be16(nextents); in xrep_dinode_set_attr_nextents() 1667 xfs_extnum_t nextents; in xrep_inode_blockcounts() local 1692 sc->ip->i_df.if_nextents = nextents; in xrep_inode_blockcounts() 1697 error = xchk_inode_count_blocks(sc, XFS_ATTR_FORK, &nextents, in xrep_inode_blockcounts() 1704 nextents); in xrep_inode_blockcounts() [all …]
|
| H A D | common.c | 1682 xfs_extnum_t *nextents, in xchk_meta_btree_count_blocks() argument 1708 *nextents = 0; in xchk_meta_btree_count_blocks() 1719 xfs_extnum_t *nextents, in xchk_inode_count_blocks() argument 1725 *nextents = 0; in xchk_inode_count_blocks() 1732 return xchk_meta_btree_count_blocks(sc, nextents, count); in xchk_inode_count_blocks() 1735 return xfs_bmap_count_blocks(sc->tp, sc->ip, whichfork, nextents, in xchk_inode_count_blocks()
|
| H A D | repair.c | 847 xfs_extnum_t nextents) in xrep_ino_ensure_extent_count() argument 854 if (nextents <= max_extents) in xrep_ino_ensure_extent_count() 862 if (nextents > max_extents) in xrep_ino_ensure_extent_count()
|
| H A D | repair.h | 90 xfs_extnum_t nextents);
|
| H A D | common.h | 291 xfs_extnum_t *nextents, xfs_filblks_t *count);
|
| H A D | trace.h | 2405 __field(uint32_t, nextents) 2425 __entry->nextents = be32_to_cpu(dip->di_nextents); 2445 __entry->nextents, 2482 __field(uint32_t, nextents) 2494 __entry->nextents = sc->ip->i_df.if_nextents; 2506 __entry->nextents,
|
| /linux-6.15/fs/xfs/ |
| H A D | xfs_inode_item_recover.c | 226 xfs_extnum_t nextents; in xlog_dinode_verify_extent_counts() local 242 nextents = ldip->di_big_nextents; in xlog_dinode_verify_extent_counts() 255 nextents = ldip->di_nextents; in xlog_dinode_verify_extent_counts() 259 if (unlikely(nextents + anextents > ldip->di_nblocks)) { in xlog_dinode_verify_extent_counts() 264 ldip->di_ino, xfs_has_large_extent_counts(mp), nextents, in xlog_dinode_verify_extent_counts()
|
| H A D | xfs_itable.c | 75 xfs_extnum_t nextents; in xfs_bulkstat_one_int() local 155 nextents = xfs_ifork_nextents(&ip->i_df); in xfs_bulkstat_one_int() 157 buf->bs_extents = min(nextents, XFS_MAX_EXTCNT_DATA_FORK_SMALL); in xfs_bulkstat_one_int() 159 buf->bs_extents64 = nextents; in xfs_bulkstat_one_int()
|
| H A D | xfs_refcount_item.c | 144 uint nextents) in xfs_cui_init() argument 148 ASSERT(nextents > 0); in xfs_cui_init() 151 if (nextents > XFS_CUI_MAX_FAST_EXTENTS) in xfs_cui_init() 152 cuip = kzalloc(xfs_cui_log_item_sizeof(nextents), in xfs_cui_init() 159 cuip->cui_format.cui_nextents = nextents; in xfs_cui_init()
|
| H A D | xfs_rmap_item.c | 144 uint nextents) in xfs_rui_init() argument 149 ASSERT(nextents > 0); in xfs_rui_init() 152 if (nextents > XFS_RUI_MAX_FAST_EXTENTS) in xfs_rui_init() 153 ruip = kzalloc(xfs_rui_log_item_sizeof(nextents), in xfs_rui_init() 160 ruip->rui_format.rui_nextents = nextents; in xfs_rui_init()
|
| H A D | xfs_extfree_item.c | 148 uint nextents) in xfs_efi_init() argument 153 ASSERT(nextents > 0); in xfs_efi_init() 155 if (nextents > XFS_EFI_MAX_FAST_EXTENTS) { in xfs_efi_init() 156 efip = kzalloc(xfs_efi_log_item_sizeof(nextents), in xfs_efi_init() 164 efip->efi_format.efi_nextents = nextents; in xfs_efi_init()
|
| H A D | xfs_bmap_util.h | 78 int whichfork, xfs_extnum_t *nextents,
|
| H A D | xfs_quotaops.c | 40 tstate->nextents = ip->i_df.if_nextents; in xfs_qm_fill_state()
|
| H A D | xfs_bmap_util.c | 101 xfs_extnum_t *nextents, in xfs_bmap_count_blocks() argument 110 *nextents = 0; in xfs_bmap_count_blocks() 137 *nextents = xfs_bmap_count_leaves(ifp, count); in xfs_bmap_count_blocks()
|
| /linux-6.15/fs/xfs/libxfs/ |
| H A D | xfs_inode_buf.c | 599 xfs_extnum_t nextents; in xfs_dinode_verify() local 664 nextents = xfs_dfork_data_extents(dip); in xfs_dinode_verify() 669 if (mode && nextents + naextents > nblocks) in xfs_dinode_verify() 672 if (S_ISDIR(mode) && nextents > mp->m_dir_geo->max_extents) in xfs_dinode_verify() 785 if (nextents + naextents == 0 && nblocks != 0) in xfs_dinode_verify()
|
| H A D | xfs_inode_fork.h | 163 xfs_extnum_t nextents);
|
| H A D | xfs_inode_fork.c | 310 xfs_extnum_t nextents) in xfs_ifork_init_attr() argument 320 ip->i_af.if_nextents = nextents; in xfs_ifork_init_attr()
|
| /linux-6.15/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 | 2860 tstate->nextents = 1; /* We don't know... */ in dquot_get_state()
|
| /linux-6.15/include/linux/ |
| H A D | quota.h | 408 blkcnt_t nextents; /* Number of extents in the file */ member
|
| /linux-6.15/fs/gfs2/ |
| H A D | quota.c | 1659 state->s_state[USRQUOTA].nextents = 1; /* unsupported */ in gfs2_quota_get_state()
|