Home
last modified time | relevance | path

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

/fs/xfs/
Dxfs_mount.c1092 percpu_counter_add(&mp->m_fdblocks, delta); in xfs_mod_fdblocks()
1104 percpu_counter_add(&mp->m_fdblocks, delta); in xfs_mod_fdblocks()
1118 if (__percpu_counter_compare(&mp->m_fdblocks, 2 * XFS_FDBLOCKS_BATCH, in xfs_mod_fdblocks()
1136 percpu_counter_add_batch(&mp->m_fdblocks, delta, batch); in xfs_mod_fdblocks()
1137 if (__percpu_counter_compare(&mp->m_fdblocks, set_aside, in xfs_mod_fdblocks()
1148 percpu_counter_add(&mp->m_fdblocks, -delta); in xfs_mod_fdblocks()
Dxfs_fsops.c349 cnt->freedata = percpu_counter_read_positive(&mp->m_fdblocks) - in xfs_fs_counts()
441 free = percpu_counter_sum(&mp->m_fdblocks) - in xfs_reserve_blocks()
Dxfs_super.c812 fdblocks = percpu_counter_sum(&mp->m_fdblocks); in xfs_fs_statfs()
1012 error = percpu_counter_init(&mp->m_fdblocks, 0, GFP_KERNEL); in xfs_init_percpu_counters()
1023 percpu_counter_destroy(&mp->m_fdblocks); in xfs_init_percpu_counters()
1037 percpu_counter_set(&mp->m_fdblocks, mp->m_sb.sb_fdblocks); in xfs_reinit_percpu_counters()
1046 percpu_counter_destroy(&mp->m_fdblocks); in xfs_destroy_percpu_counters()
Dxfs_mount.h187 struct percpu_counter m_fdblocks; /* free block counter */ member
Dxfs_iomap.c429 freesp = percpu_counter_read_positive(&mp->m_fdblocks); in xfs_iomap_prealloc_size()
Dxfs_icache.c1992 if (__percpu_counter_compare(&mp->m_fdblocks, in xfs_inodegc_want_queue_work()
/fs/xfs/scrub/
Dfscounters.c335 fdblocks = percpu_counter_sum(&mp->m_fdblocks); in xchk_fscounters()
376 if (!xchk_fscount_within_range(sc, fdblocks, &mp->m_fdblocks, in xchk_fscounters()
/fs/xfs/libxfs/
Dxfs_sb.c969 mp->m_sb.sb_fdblocks = percpu_counter_sum(&mp->m_fdblocks); in xfs_log_sb()