Searched refs:m_icount (Results 1 – 9 of 9) sorted by relevance
508 icount = percpu_counter_sum(&mp->m_icount); in xchk_fscounters()571 if (!xchk_fscount_within_range(sc, icount, &mp->m_icount, in xchk_fscounters()
130 fs_icount = percpu_counter_sum(&mp->m_icount); in xchk_quota_item()
850 icount = percpu_counter_sum(&mp->m_icount); in xfs_fs_statfs()1047 error = percpu_counter_init(&mp->m_icount, 0, GFP_KERNEL); in xfs_init_percpu_counters()1076 percpu_counter_destroy(&mp->m_icount); in xfs_init_percpu_counters()1084 percpu_counter_set(&mp->m_icount, mp->m_sb.sb_icount); in xfs_reinit_percpu_counters()1094 percpu_counter_destroy(&mp->m_icount); in xfs_destroy_percpu_counters()
185 struct percpu_counter m_icount; /* allocated inodes counter */ member
362 cnt->allocino = percpu_counter_read_positive(&mp->m_icount); in xfs_fs_counts()
550 percpu_counter_sum(&mp->m_icount)) { in xfs_unmount_check()
629 percpu_counter_add_batch(&mp->m_icount, idelta, in xfs_trans_unreserve_and_mod_sb()
674 percpu_counter_read_positive(&args.mp->m_icount) + newlen > in xfs_ialloc_ag_alloc()1775 percpu_counter_read_positive(&mp->m_icount) + igeo->ialloc_inos in xfs_dialloc()
1027 mp->m_sb.sb_icount = percpu_counter_sum_positive(&mp->m_icount); in xfs_log_sb()