Searched refs:m_fdblocks (Results 1 – 7 of 7) sorted by relevance
/fs/xfs/ |
D | xfs_mount.c | 1221 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()
|
D | xfs_fsops.c | 295 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()
|
D | xfs_super.c | 807 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()
|
D | xfs_mount.h | 166 struct percpu_counter m_fdblocks; /* free block counter */ member
|
D | xfs_iomap.c | 436 freesp = percpu_counter_read_positive(&mp->m_fdblocks); in xfs_iomap_prealloc_size()
|
/fs/xfs/scrub/ |
D | fscounters.c | 315 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/ |
D | xfs_sb.c | 970 mp->m_sb.sb_fdblocks = percpu_counter_sum(&mp->m_fdblocks); in xfs_log_sb()
|