Home
last modified time | relevance | path

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

/fs/xfs/scrub/
Dfscounters.c169 fsc->ifree = 0; in xchk_fscount_aggregate_agcounts()
183 fsc->ifree += pag->pagi_freecount; in xchk_fscount_aggregate_agcounts()
217 trace_xchk_fscounters_calc(mp, fsc->icount, fsc->ifree, fsc->fdblocks, in xchk_fscount_aggregate_agcounts()
224 fsc->ifree > fsc->icount_max) in xchk_fscount_aggregate_agcounts()
232 if (fsc->ifree > fsc->icount) { in xchk_fscount_aggregate_agcounts()
308 int64_t icount, ifree, fdblocks; in xchk_fscounters() local
313 ifree = percpu_counter_sum(&mp->m_ifree); in xchk_fscounters()
317 if (icount < 0 || ifree < 0 || fdblocks < 0) in xchk_fscounters()
332 if (ifree > icount && ifree - icount > XCHK_FSCOUNT_MIN_VARIANCE) in xchk_fscounters()
346 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.c856 uint64_t ifree = 0; in xfs_initialize_perag_data() local
878 ifree += pag->pagi_freecount; in xfs_initialize_perag_data()
893 if (fdblocks > sbp->sb_dblocks || ifree > ialloc) { in xfs_initialize_perag_data()
901 sbp->sb_ifree = ifree; in xfs_initialize_perag_data()
/fs/ext4/
Dxattr.c2647 int isize_diff, size_t ifree, in ext4_xattr_make_inode_space() argument
2659 while (isize_diff > ifree) { in ext4_xattr_make_inode_space()
2677 if (total_size + ifree < isize_diff) { in ext4_xattr_make_inode_space()
2703 ifree += total_size; in ext4_xattr_make_inode_space()
2721 size_t ifree, bfree; in ext4_expand_extra_isize_ea() local
2749 ifree = ext4_xattr_free_space(base, &min_offs, base, &total_ino); in ext4_expand_extra_isize_ea()
2750 if (ifree >= isize_diff) in ext4_expand_extra_isize_ea()
2776 if (bfree + ifree < isize_diff) { in ext4_expand_extra_isize_ea()
2790 isize_diff, ifree, bfree, in ext4_expand_extra_isize_ea()
/fs/xfs/
Dxfs_super.c1079 uint64_t ifree; in xfs_fs_statfs() local
1092 ifree = percpu_counter_sum(&mp->m_ifree); in xfs_fs_statfs()
1117 ffree = statp->f_files - (icount - ifree); in xfs_fs_statfs()
Dxfs_log_recover.c5877 uint64_t ifree; in xlog_recover_check_summary() local
5884 ifree = 0LL; in xlog_recover_check_summary()
5905 ifree += be32_to_cpu(agi->agi_freecount); in xlog_recover_check_summary()