Searched refs:m_icount (Results 1 – 7 of 7) sorted by relevance
1107 icount = percpu_counter_sum(&mp->m_icount); in xfs_fs_statfs()1504 error = percpu_counter_init(&mp->m_icount, 0, GFP_KERNEL); in xfs_init_percpu_counters()1521 percpu_counter_destroy(&mp->m_icount); in xfs_init_percpu_counters()1529 percpu_counter_set(&mp->m_icount, mp->m_sb.sb_icount); in xfs_reinit_percpu_counters()1538 percpu_counter_destroy(&mp->m_icount); in xfs_destroy_percpu_counters()
1243 percpu_counter_add_batch(&mp->m_icount, delta, XFS_ICOUNT_BATCH); in xfs_mod_icount()1244 if (__percpu_counter_compare(&mp->m_icount, 0, XFS_ICOUNT_BATCH) < 0) { in xfs_mod_icount()1246 percpu_counter_add(&mp->m_icount, -delta); in xfs_mod_icount()
67 struct percpu_counter m_icount; /* allocated inodes counter */ member
298 cnt->allocino = percpu_counter_read_positive(&mp->m_icount); in xfs_fs_counts()
161 fs_icount = percpu_counter_sum(&mp->m_icount); in xchk_quota_item()
659 percpu_counter_read_positive(&args.mp->m_icount) + newlen > in xfs_ialloc_ag_alloc()1739 percpu_counter_read_positive(&mp->m_icount) + mp->m_ialloc_inos in xfs_dialloc()
940 mp->m_sb.sb_icount = percpu_counter_sum(&mp->m_icount); in xfs_log_sb()