Searched refs:m_icount (Results 1 – 6 of 6) sorted by relevance
1122 icount = percpu_counter_sum(&mp->m_icount); in xfs_fs_statfs()1511 error = percpu_counter_init(&mp->m_icount, 0, GFP_KERNEL); in xfs_init_percpu_counters()1528 percpu_counter_destroy(&mp->m_icount); in xfs_init_percpu_counters()1536 percpu_counter_set(&mp->m_icount, mp->m_sb.sb_icount); in xfs_reinit_percpu_counters()1545 percpu_counter_destroy(&mp->m_icount); in xfs_destroy_percpu_counters()
1212 percpu_counter_add_batch(&mp->m_icount, delta, XFS_ICOUNT_BATCH); in xfs_mod_icount()1213 if (__percpu_counter_compare(&mp->m_icount, 0, XFS_ICOUNT_BATCH) < 0) { in xfs_mod_icount()1215 percpu_counter_add(&mp->m_icount, -delta); in xfs_mod_icount()
79 struct percpu_counter m_icount; /* allocated inodes counter */ member
767 cnt->allocino = percpu_counter_read_positive(&mp->m_icount); in xfs_fs_counts()
841 mp->m_sb.sb_icount = percpu_counter_sum(&mp->m_icount); in xfs_log_sb()
641 percpu_counter_read_positive(&args.mp->m_icount) + newlen > in xfs_ialloc_ag_alloc()1724 percpu_counter_read_positive(&mp->m_icount) + mp->m_ialloc_inos in xfs_dialloc()