Home
last modified time | relevance | path

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

/Linux-v5.15/fs/xfs/scrub/
Dfscounters.c190 fsc->ifree = 0; in xchk_fscount_aggregate_agcounts()
205 fsc->ifree += pag->pagi_freecount; in xchk_fscount_aggregate_agcounts()
245 trace_xchk_fscounters_calc(mp, fsc->icount, fsc->ifree, fsc->fdblocks, in xchk_fscount_aggregate_agcounts()
252 fsc->ifree > fsc->icount_max) in xchk_fscount_aggregate_agcounts()
260 if (fsc->ifree > fsc->icount) { in xchk_fscount_aggregate_agcounts()
336 int64_t icount, ifree, fdblocks; in xchk_fscounters() local
341 ifree = percpu_counter_sum(&mp->m_ifree); in xchk_fscounters()
345 if (icount < 0 || ifree < 0 || fdblocks < 0) in xchk_fscounters()
360 if (ifree > icount && ifree - icount > XCHK_FSCOUNT_MIN_VARIANCE) in xchk_fscounters()
374 if (!xchk_fscount_within_range(sc, ifree, &mp->m_ifree, fsc->ifree)) in xchk_fscounters()
Dscrub.h167 uint64_t ifree; member
Dtrace.h603 TP_PROTO(struct xfs_mount *mp, uint64_t icount, uint64_t ifree,
605 TP_ARGS(mp, icount, ifree, fdblocks, delalloc),
621 __entry->ifree_calculated = ifree;
/Linux-v5.15/fs/xfs/libxfs/
Dxfs_ialloc.h43 xfs_ino_t ino, struct xfs_icluster *ifree);
Dxfs_ag.c113 uint64_t ifree = 0; in xfs_initialize_perag_data() local
135 ifree += pag->pagi_freecount; in xfs_initialize_perag_data()
150 if (fdblocks > sbp->sb_dblocks || ifree > ialloc) { in xfs_initialize_perag_data()
158 sbp->sb_ifree = ifree; in xfs_initialize_perag_data()
/Linux-v5.15/fs/ext4/
Dxattr.c2607 int isize_diff, size_t ifree, in ext4_xattr_make_inode_space() argument
2619 while (isize_diff > ifree) { in ext4_xattr_make_inode_space()
2637 if (total_size + ifree < isize_diff) { in ext4_xattr_make_inode_space()
2663 ifree += total_size; in ext4_xattr_make_inode_space()
2681 size_t ifree, bfree; in ext4_expand_extra_isize_ea() local
2709 ifree = ext4_xattr_free_space(base, &min_offs, base, &total_ino); in ext4_expand_extra_isize_ea()
2710 if (ifree >= isize_diff) in ext4_expand_extra_isize_ea()
2736 if (bfree + ifree < isize_diff) { in ext4_expand_extra_isize_ea()
2750 isize_diff, ifree, bfree, in ext4_expand_extra_isize_ea()
/Linux-v5.15/fs/xfs/
Dxfs_super.c783 uint64_t ifree; in xfs_fs_statfs() local
798 ifree = percpu_counter_sum(&mp->m_ifree); in xfs_fs_statfs()
824 ffree = statp->f_files - (icount - ifree); in xfs_fs_statfs()
Dxfs_log_recover.c3532 uint64_t ifree; in xlog_recover_check_summary() local
3539 ifree = 0LL; in xlog_recover_check_summary()
3561 ifree += be32_to_cpu(agi->agi_freecount); in xlog_recover_check_summary()