Home
last modified time | relevance | path

Searched refs:ifree (Results 1 – 8 of 8) sorted by relevance

/linux-6.12.1/fs/xfs/scrub/
Dfscounters.c306 fsc->ifree = 0; in xchk_fscount_aggregate_agcounts()
322 fsc->ifree += pag->pagi_freecount; in xchk_fscount_aggregate_agcounts()
364 trace_xchk_fscounters_calc(mp, fsc->icount, fsc->ifree, fsc->fdblocks, in xchk_fscount_aggregate_agcounts()
371 fsc->ifree > fsc->icount_max) in xchk_fscount_aggregate_agcounts()
379 if (fsc->ifree > fsc->icount) { in xchk_fscount_aggregate_agcounts()
508 int64_t icount, ifree, fdblocks, frextents; in xchk_fscounters() local
514 ifree = percpu_counter_sum(&mp->m_ifree); in xchk_fscounters()
519 if (icount < 0 || ifree < 0) in xchk_fscounters()
555 if (ifree > icount && ifree - icount > XCHK_FSCOUNT_MIN_VARIANCE) in xchk_fscounters()
584 if (!xchk_fscount_within_range(sc, ifree, &mp->m_ifree, fsc->ifree)) { in xchk_fscounters()
Dfscounters.h12 uint64_t ifree; member
Dfscounters_repair.c66 percpu_counter_set(&mp->m_ifree, fsc->ifree); in xrep_fscounters()
Dtrace.h842 TP_PROTO(struct xfs_mount *mp, uint64_t icount, uint64_t ifree,
844 TP_ARGS(mp, icount, ifree, fdblocks, delalloc),
860 __entry->ifree_calculated = ifree;
2261 __field(uint64_t, ifree)
2268 __entry->ifree = fsc->ifree;
2275 __entry->ifree,
/linux-6.12.1/fs/xfs/libxfs/
Dxfs_ialloc.h46 xfs_ino_t ino, struct xfs_icluster *ifree);
Dxfs_ag.c130 uint64_t ifree = 0; in xfs_initialize_perag_data() local
152 ifree += pag->pagi_freecount; in xfs_initialize_perag_data()
167 if (fdblocks > sbp->sb_dblocks || ifree > ialloc) { in xfs_initialize_perag_data()
176 sbp->sb_ifree = ifree; in xfs_initialize_perag_data()
/linux-6.12.1/fs/ext4/
Dxattr.c2695 int isize_diff, size_t ifree, in ext4_xattr_make_inode_space() argument
2707 while (isize_diff > ifree) { in ext4_xattr_make_inode_space()
2725 if (total_size + ifree < isize_diff) { in ext4_xattr_make_inode_space()
2751 ifree += total_size; in ext4_xattr_make_inode_space()
2769 size_t ifree, bfree; in ext4_expand_extra_isize_ea() local
2797 ifree = ext4_xattr_free_space(base, &min_offs, base, &total_ino); in ext4_expand_extra_isize_ea()
2798 if (ifree >= isize_diff) in ext4_expand_extra_isize_ea()
2824 if (bfree + ifree < isize_diff) { in ext4_expand_extra_isize_ea()
2838 isize_diff, ifree, bfree, in ext4_expand_extra_isize_ea()
/linux-6.12.1/fs/xfs/
Dxfs_super.c828 uint64_t ifree; in xfs_fs_statfs() local
846 ifree = percpu_counter_sum(&mp->m_ifree); in xfs_fs_statfs()
873 ffree = statp->f_files - (icount - ifree); in xfs_fs_statfs()