Home
last modified time | relevance | path

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

/fs/xfs/
Dxfs_mount.c1183 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()
Dxfs_super.c1068 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()
Dxfs_mount.h49 struct percpu_counter m_fdblocks; /* free block counter */ member
Dxfs_fsops.c644 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()
Dxfs_iomap.c501 freesp = percpu_counter_read_positive(&mp->m_fdblocks); in xfs_iomap_prealloc_size()
/fs/xfs/libxfs/
Dxfs_sb.c816 mp->m_sb.sb_fdblocks = percpu_counter_sum(&mp->m_fdblocks); in xfs_log_sb()