Home
last modified time | relevance | path

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

/fs/xfs/
Dxfs_super.c1099 icount = percpu_counter_sum(&mp->m_icount); in xfs_fs_statfs()
1486 error = percpu_counter_init(&mp->m_icount, 0, GFP_KERNEL); in xfs_init_percpu_counters()
1503 percpu_counter_destroy(&mp->m_icount); in xfs_init_percpu_counters()
1511 percpu_counter_set(&mp->m_icount, mp->m_sb.sb_icount); in xfs_reinit_percpu_counters()
1520 percpu_counter_destroy(&mp->m_icount); in xfs_destroy_percpu_counters()
Dxfs_mount.c1182 __percpu_counter_add(&mp->m_icount, delta, XFS_ICOUNT_BATCH); in xfs_mod_icount()
1183 if (__percpu_counter_compare(&mp->m_icount, 0, XFS_ICOUNT_BATCH) < 0) { in xfs_mod_icount()
1185 percpu_counter_add(&mp->m_icount, -delta); in xfs_mod_icount()
Dxfs_mount.h79 struct percpu_counter m_icount; /* allocated inodes counter */ member
Dxfs_fsops.c788 cnt->allocino = percpu_counter_read_positive(&mp->m_icount); in xfs_fs_counts()
/fs/xfs/libxfs/
Dxfs_sb.c841 mp->m_sb.sb_icount = percpu_counter_sum(&mp->m_icount); in xfs_log_sb()
Dxfs_ialloc.c631 percpu_counter_read_positive(&args.mp->m_icount) + newlen > in xfs_ialloc_ag_alloc()
1714 percpu_counter_read_positive(&mp->m_icount) + mp->m_ialloc_inos in xfs_dialloc()