Home
last modified time | relevance | path

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

/linux/fs/xfs/scrub/
H A 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()
516 int64_t icount, ifree, fdblocks, frextents; in xchk_fscounters() local
522 ifree = percpu_counter_sum(&mp->m_ifree); in xchk_fscounters()
527 if (icount < 0 || ifree < 0) in xchk_fscounters()
563 if (ifree > icount && ifree - icount > XCHK_FSCOUNT_MIN_VARIANCE) in xchk_fscounters()
592 if (!xchk_fscount_within_range(sc, ifree, &mp->m_ifree, fsc->ifree)) { in xchk_fscounters()
H A Dfscounters_repair.c66 percpu_counter_set(&mp->m_ifree, fsc->ifree); in xrep_fscounters()
H A Dtrace.h854 TP_PROTO(struct xfs_mount *mp, uint64_t icount, uint64_t ifree,
856 TP_ARGS(mp, icount, ifree, fdblocks, delalloc),
872 __entry->ifree_calculated = ifree;
2382 __field(uint64_t, ifree)
2389 __entry->ifree = fsc->ifree;
2396 __entry->ifree,
/linux/fs/xfs/libxfs/
H A Dxfs_ialloc.h46 xfs_ino_t ino, struct xfs_icluster *ifree);
H A Dxfs_ag.c51 uint64_t ifree = 0; in xfs_initialize_perag_data() local
73 ifree += pag->pagi_freecount; in xfs_initialize_perag_data()
88 if (fdblocks > sbp->sb_dblocks || ifree > ialloc) { in xfs_initialize_perag_data()
97 sbp->sb_ifree = ifree; in xfs_initialize_perag_data()
/linux/fs/xfs/
H A Dxfs_super.c930 uint64_t ifree = percpu_counter_sum(&mp->m_ifree); in xfs_statfs_inodes() local
943 st->f_ffree = max_t(int64_t, 0, st->f_files - (icount - ifree)); in xfs_statfs_inodes()