Home
last modified time | relevance | path

Searched refs:m_fdblocks (Results 1 – 7 of 7) sorted by relevance

/fs/xfs/
Dxfs_mount.c1221 percpu_counter_add(&mp->m_fdblocks, delta); in xfs_mod_fdblocks()
1233 percpu_counter_add(&mp->m_fdblocks, delta); in xfs_mod_fdblocks()
1247 if (__percpu_counter_compare(&mp->m_fdblocks, 2 * XFS_FDBLOCKS_BATCH, in xfs_mod_fdblocks()
1253 percpu_counter_add_batch(&mp->m_fdblocks, delta, batch); in xfs_mod_fdblocks()
1254 if (__percpu_counter_compare(&mp->m_fdblocks, mp->m_alloc_set_aside, in xfs_mod_fdblocks()
1265 percpu_counter_add(&mp->m_fdblocks, -delta); in xfs_mod_fdblocks()
Dxfs_fsops.c295 cnt->freedata = percpu_counter_read_positive(&mp->m_fdblocks) - in xfs_fs_counts()
387 free = percpu_counter_sum(&mp->m_fdblocks) - in xfs_reserve_blocks()
Dxfs_super.c807 fdblocks = percpu_counter_sum(&mp->m_fdblocks); in xfs_fs_statfs()
1029 error = percpu_counter_init(&mp->m_fdblocks, 0, GFP_KERNEL); in xfs_init_percpu_counters()
1040 percpu_counter_destroy(&mp->m_fdblocks); in xfs_init_percpu_counters()
1054 percpu_counter_set(&mp->m_fdblocks, mp->m_sb.sb_fdblocks); in xfs_reinit_percpu_counters()
1063 percpu_counter_destroy(&mp->m_fdblocks); in xfs_destroy_percpu_counters()
Dxfs_mount.h166 struct percpu_counter m_fdblocks; /* free block counter */ member
Dxfs_iomap.c436 freesp = percpu_counter_read_positive(&mp->m_fdblocks); in xfs_iomap_prealloc_size()
/fs/xfs/scrub/
Dfscounters.c315 fdblocks = percpu_counter_sum(&mp->m_fdblocks); in xchk_fscounters()
350 if (!xchk_fscount_within_range(sc, fdblocks, &mp->m_fdblocks, in xchk_fscounters()
/fs/xfs/libxfs/
Dxfs_sb.c970 mp->m_sb.sb_fdblocks = percpu_counter_sum(&mp->m_fdblocks); in xfs_log_sb()