Home
last modified time | relevance | path

Searched refs:ifree (Results 1 - 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/fs/xfs/scrub/
H A 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()
229 * If ifree > icount then we probably had some perturbation in the in xchk_fscount_aggregate_agcounts()
231 * to maintain ifree <= icount before giving up. 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 < in xchk_fscounters()
[all...]
H A Dscrub.h158 uint64_t ifree; member
H A 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;
620 TP_printk("dev %d:%d icount %lld:%llu ifree %lld::%llu fdblocks %lld::%llu delalloc %llu",
/kernel/linux/linux-6.6/fs/xfs/scrub/
H A Dfscounters.c54 uint64_t ifree; member
309 fsc->ifree = 0; in xchk_fscount_aggregate_agcounts()
325 fsc->ifree += pag->pagi_freecount; in xchk_fscount_aggregate_agcounts()
367 trace_xchk_fscounters_calc(mp, fsc->icount, fsc->ifree, fsc->fdblocks, in xchk_fscount_aggregate_agcounts()
374 fsc->ifree > fsc->icount_max) in xchk_fscount_aggregate_agcounts()
378 * If ifree > icount then we probably had some perturbation in the in xchk_fscount_aggregate_agcounts()
380 * to maintain ifree <= icount before giving up. in xchk_fscount_aggregate_agcounts()
382 if (fsc->ifree > fsc->icount) { in xchk_fscount_aggregate_agcounts()
503 int64_t icount, ifree, fdblocks, frextents; in xchk_fscounters() local
509 ifree in xchk_fscounters()
[all...]
H A Dtrace.h667 TP_PROTO(struct xfs_mount *mp, uint64_t icount, uint64_t ifree,
669 TP_ARGS(mp, icount, ifree, fdblocks, delalloc),
685 __entry->ifree_calculated = ifree;
690 TP_printk("dev %d:%d icount %lld:%llu ifree %lld::%llu fdblocks %lld::%llu delalloc %llu",
/kernel/linux/linux-5.10/fs/xfs/libxfs/
H A Dxfs_ialloc.h75 struct xfs_icluster *ifree); /* cluster info if deleted */
H A 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()
/kernel/linux/linux-6.6/fs/xfs/libxfs/
H A Dxfs_ialloc.h44 xfs_ino_t ino, struct xfs_icluster *ifree);
H A Dxfs_ag.c181 uint64_t ifree = 0; in xfs_initialize_perag_data() local
203 ifree += pag->pagi_freecount; in xfs_initialize_perag_data()
218 if (fdblocks > sbp->sb_dblocks || ifree > ialloc) { in xfs_initialize_perag_data()
226 sbp->sb_ifree = ifree; in xfs_initialize_perag_data()
/kernel/linux/linux-5.10/fs/ext4/
H A Dxattr.c2635 int isize_diff, size_t ifree, in ext4_xattr_make_inode_space()
2647 while (isize_diff > ifree) { in ext4_xattr_make_inode_space()
2665 if (total_size + ifree < isize_diff) { in ext4_xattr_make_inode_space()
2691 ifree += total_size; in ext4_xattr_make_inode_space()
2709 size_t ifree, bfree; in ext4_expand_extra_isize_ea() local
2737 ifree = ext4_xattr_free_space(base, &min_offs, base, &total_ino); in ext4_expand_extra_isize_ea()
2738 if (ifree >= isize_diff) in ext4_expand_extra_isize_ea()
2764 if (bfree + ifree < isize_diff) { in ext4_expand_extra_isize_ea()
2778 isize_diff, ifree, bfree, in ext4_expand_extra_isize_ea()
2633 ext4_xattr_make_inode_space(handle_t *handle, struct inode *inode, struct ext4_inode *raw_inode, int isize_diff, size_t ifree, size_t bfree, int *total_ino) ext4_xattr_make_inode_space() argument
/kernel/linux/linux-6.6/fs/ext4/
H A Dxattr.c2692 int isize_diff, size_t ifree, in ext4_xattr_make_inode_space()
2704 while (isize_diff > ifree) { in ext4_xattr_make_inode_space()
2722 if (total_size + ifree < isize_diff) { in ext4_xattr_make_inode_space()
2748 ifree += total_size; in ext4_xattr_make_inode_space()
2766 size_t ifree, bfree; in ext4_expand_extra_isize_ea() local
2794 ifree = ext4_xattr_free_space(base, &min_offs, base, &total_ino); in ext4_expand_extra_isize_ea()
2795 if (ifree >= isize_diff) in ext4_expand_extra_isize_ea()
2821 if (bfree + ifree < isize_diff) { in ext4_expand_extra_isize_ea()
2835 isize_diff, ifree, bfree, in ext4_expand_extra_isize_ea()
2690 ext4_xattr_make_inode_space(handle_t *handle, struct inode *inode, struct ext4_inode *raw_inode, int isize_diff, size_t ifree, size_t bfree, int *total_ino) ext4_xattr_make_inode_space() argument
/kernel/linux/linux-5.10/fs/xfs/
H A 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()
1872 * recovery, so we must set this to true so that an ifree transaction in xfs_init_fs_context()
H A Dxfs_log_recover.c3519 uint64_t ifree; in xlog_recover_check_summary() local
3526 ifree = 0LL; in xlog_recover_check_summary()
3548 ifree += be32_to_cpu(agi->agi_freecount); in xlog_recover_check_summary()
/kernel/linux/linux-6.6/fs/xfs/
H A Dxfs_super.c833 uint64_t ifree; in xfs_fs_statfs() local
851 ifree = percpu_counter_sum(&mp->m_ifree); in xfs_fs_statfs()
878 ffree = statp->f_files - (icount - ifree); in xfs_fs_statfs()
2010 * recovery, so we must set this to true so that an ifree transaction in xfs_init_fs_context()

Completed in 24 milliseconds