Home
last modified time | relevance | path

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

/fs/xfs/scrub/
Dfscounters.c167 fsc->ifree = 0; in xchk_fscount_aggregate_agcounts()
181 fsc->ifree += pag->pagi_freecount; in xchk_fscount_aggregate_agcounts()
218 trace_xchk_fscounters_calc(mp, fsc->icount, fsc->ifree, fsc->fdblocks, in xchk_fscount_aggregate_agcounts()
225 fsc->ifree > fsc->icount_max) in xchk_fscount_aggregate_agcounts()
233 if (fsc->ifree > fsc->icount) { in xchk_fscount_aggregate_agcounts()
309 int64_t icount, ifree, fdblocks; in xchk_fscounters() local
314 ifree = percpu_counter_sum(&mp->m_ifree); in xchk_fscounters()
318 if (icount < 0 || ifree < 0 || fdblocks < 0) in xchk_fscounters()
333 if (ifree > icount && ifree - icount > XCHK_FSCOUNT_MIN_VARIANCE) in xchk_fscounters()
347 if (!xchk_fscount_within_range(sc, ifree, &mp->m_ifree, fsc->ifree)) in xchk_fscounters()
Dscrub.h158 uint64_t ifree; member
Dtrace.h597 TP_PROTO(struct xfs_mount *mp, uint64_t icount, uint64_t ifree,
599 TP_ARGS(mp, icount, ifree, fdblocks, delalloc),
615 __entry->ifree_calculated = ifree;
/fs/xfs/libxfs/
Dxfs_ialloc.h75 struct xfs_icluster *ifree); /* cluster info if deleted */
Dxfs_sb.c890 uint64_t ifree = 0; in xfs_initialize_perag_data() local
912 ifree += pag->pagi_freecount; in xfs_initialize_perag_data()
927 if (fdblocks > sbp->sb_dblocks || ifree > ialloc) { in xfs_initialize_perag_data()
935 sbp->sb_ifree = ifree; in xfs_initialize_perag_data()
/fs/ext4/
Dxattr.c2632 int isize_diff, size_t ifree, in ext4_xattr_make_inode_space() argument
2644 while (isize_diff > ifree) { in ext4_xattr_make_inode_space()
2662 if (total_size + ifree < isize_diff) { in ext4_xattr_make_inode_space()
2688 ifree += total_size; in ext4_xattr_make_inode_space()
2706 size_t ifree, bfree; in ext4_expand_extra_isize_ea() local
2734 ifree = ext4_xattr_free_space(base, &min_offs, base, &total_ino); in ext4_expand_extra_isize_ea()
2735 if (ifree >= isize_diff) in ext4_expand_extra_isize_ea()
2761 if (bfree + ifree < isize_diff) { in ext4_expand_extra_isize_ea()
2775 isize_diff, ifree, bfree, in ext4_expand_extra_isize_ea()
/fs/xfs/
Dxfs_super.c794 uint64_t ifree; in xfs_fs_statfs() local
806 ifree = percpu_counter_sum(&mp->m_ifree); in xfs_fs_statfs()
832 ffree = statp->f_files - (icount - ifree); in xfs_fs_statfs()
Dxfs_log_recover.c3511 uint64_t ifree; in xlog_recover_check_summary() local
3518 ifree = 0LL; in xlog_recover_check_summary()
3540 ifree += be32_to_cpu(agi->agi_freecount); in xlog_recover_check_summary()