Searched refs:m_fdblocks (Results 1 – 6 of 6) sorted by relevance
/fs/xfs/ |
D | xfs_mount.c | 1183 percpu_counter_add(&mp->m_fdblocks, delta); in xfs_mod_fdblocks() 1195 percpu_counter_add(&mp->m_fdblocks, delta); in xfs_mod_fdblocks() 1209 if (__percpu_counter_compare(&mp->m_fdblocks, 2 * XFS_FDBLOCKS_BATCH, in xfs_mod_fdblocks() 1215 __percpu_counter_add(&mp->m_fdblocks, delta, batch); in xfs_mod_fdblocks() 1216 if (__percpu_counter_compare(&mp->m_fdblocks, XFS_ALLOC_SET_ASIDE(mp), in xfs_mod_fdblocks() 1227 percpu_counter_add(&mp->m_fdblocks, -delta); in xfs_mod_fdblocks()
|
D | xfs_super.c | 1068 fdblocks = percpu_counter_sum(&mp->m_fdblocks); in xfs_fs_statfs() 1405 error = percpu_counter_init(&mp->m_fdblocks, 0, GFP_KERNEL); in xfs_init_percpu_counters() 1424 percpu_counter_set(&mp->m_fdblocks, mp->m_sb.sb_fdblocks); in xfs_reinit_percpu_counters() 1433 percpu_counter_destroy(&mp->m_fdblocks); in xfs_destroy_percpu_counters()
|
D | xfs_mount.h | 49 struct percpu_counter m_fdblocks; /* free block counter */ member
|
D | xfs_fsops.c | 644 cnt->freedata = percpu_counter_read_positive(&mp->m_fdblocks) - in xfs_fs_counts() 717 free = percpu_counter_sum(&mp->m_fdblocks) - in xfs_reserve_blocks()
|
D | xfs_iomap.c | 501 freesp = percpu_counter_read_positive(&mp->m_fdblocks); in xfs_iomap_prealloc_size()
|
/fs/xfs/libxfs/ |
D | xfs_sb.c | 816 mp->m_sb.sb_fdblocks = percpu_counter_sum(&mp->m_fdblocks); in xfs_log_sb()
|