Home
last modified time | relevance | path

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

/fs/xfs/scrub/
Dfscounters.c510 fdblocks = percpu_counter_sum(&mp->m_fdblocks); in xchk_fscounters()
586 if (!xchk_fscount_within_range(sc, fdblocks, &mp->m_fdblocks, in xchk_fscounters()
/fs/xfs/
Dxfs_mount.h187 struct percpu_counter m_fdblocks; /* free block counter */ member
541 return xfs_mod_freecounter(mp, &mp->m_fdblocks, delta, reserved); in xfs_mod_fdblocks()
Dxfs_fsops.c364 cnt->freedata = percpu_counter_read_positive(&mp->m_fdblocks) - in xfs_fs_counts()
453 free = percpu_counter_sum(&mp->m_fdblocks) - in xfs_reserve_blocks()
Dxfs_super.c852 fdblocks = percpu_counter_sum(&mp->m_fdblocks); in xfs_fs_statfs()
1055 error = percpu_counter_init(&mp->m_fdblocks, 0, GFP_KERNEL); in xfs_init_percpu_counters()
1072 percpu_counter_destroy(&mp->m_fdblocks); in xfs_init_percpu_counters()
1086 percpu_counter_set(&mp->m_fdblocks, mp->m_sb.sb_fdblocks); in xfs_reinit_percpu_counters()
1096 percpu_counter_destroy(&mp->m_fdblocks); in xfs_destroy_percpu_counters()
Dxfs_mount.c1150 ASSERT(counter == &mp->m_fdblocks || counter == &mp->m_frextents); in xfs_mod_freecounter()
1151 has_resv_pool = (counter == &mp->m_fdblocks); in xfs_mod_freecounter()
Dxfs_iomap.c483 freesp = percpu_counter_read_positive(&mp->m_fdblocks); in xfs_iomap_prealloc_size()
Dxfs_icache.c2002 if (__percpu_counter_compare(&mp->m_fdblocks, in xfs_inodegc_want_queue_work()
/fs/xfs/libxfs/
Dxfs_sb.c1038 mp->m_sb.sb_fdblocks = percpu_counter_sum(&mp->m_fdblocks); in xfs_log_sb()
Dxfs_ialloc.c1788 if (percpu_counter_read_positive(&mp->m_fdblocks) < in xfs_dialloc()