Searched refs:percpu_counter_sum (Results 1 – 21 of 21) sorted by relevance
215 delayed = percpu_counter_sum(&mp->m_delalloc_blks); in xchk_fscount_aggregate_agcounts()264 int64_t curr_value = percpu_counter_sum(counter); in xchk_fscount_within_range()313 icount = percpu_counter_sum(&mp->m_icount); in xchk_fscounters()314 ifree = percpu_counter_sum(&mp->m_ifree); in xchk_fscounters()315 fdblocks = percpu_counter_sum(&mp->m_fdblocks); in xchk_fscounters()
124 fs_icount = percpu_counter_sum(&mp->m_icount); in xchk_quota_item()
151 sum = percpu_counter_sum(&m->total_inodes); in metric_show()159 percpu_counter_sum(&m->opened_inodes), sum); in metric_show()201 percpu_counter_sum(&m->d_lease_mis), in metric_show()202 percpu_counter_sum(&m->d_lease_hit)); in metric_show()206 percpu_counter_sum(&m->i_caps_mis), in metric_show()207 percpu_counter_sum(&m->i_caps_hit)); in metric_show()
45 cap->hit = cpu_to_le64(percpu_counter_sum(&mdsc->metric.i_caps_hit)); in ceph_mdsc_send_metrics()46 cap->mis = cpu_to_le64(percpu_counter_sum(&mdsc->metric.i_caps_mis)); in ceph_mdsc_send_metrics()
65 static inline s64 percpu_counter_sum(struct percpu_counter *fbc) in percpu_counter_sum() function166 static inline s64 percpu_counter_sum(struct percpu_counter *fbc) in percpu_counter_sum() function
70 events = percpu_counter_sum(&p->events); in fprop_new_period()209 val = percpu_counter_sum(&pl->events); in fprop_reflect_period_percpu()
234 count = percpu_counter_sum(fbc); in __percpu_counter_compare()
377 percpu_counter_sum(&sbi->s_dirtyclusters_counter))); in ext4_attr_show()389 percpu_counter_sum(&sbi->s_sra_exceeded_retry_limit)); in ext4_attr_show()
1598 percpu_counter_sum(&sbi->s_freeclusters_counter))); in ext4_print_free_blocks()1601 percpu_counter_sum(&sbi->s_dirtyclusters_counter))); in ext4_print_free_blocks()
959 mp->m_sb.sb_icount = percpu_counter_sum(&mp->m_icount); in xfs_log_sb()960 mp->m_sb.sb_ifree = percpu_counter_sum(&mp->m_ifree); in xfs_log_sb()961 mp->m_sb.sb_fdblocks = percpu_counter_sum(&mp->m_fdblocks); in xfs_log_sb()
799 icount = percpu_counter_sum(&mp->m_icount); in xfs_fs_statfs()800 ifree = percpu_counter_sum(&mp->m_ifree); in xfs_fs_statfs()801 fdblocks = percpu_counter_sum(&mp->m_fdblocks); in xfs_fs_statfs()1059 percpu_counter_sum(&mp->m_delalloc_blks) == 0); in xfs_destroy_percpu_counters()
382 free = percpu_counter_sum(&mp->m_fdblocks) - in xfs_reserve_blocks()
1838 while (percpu_counter_sum(&btp->bt_io_count)) in xfs_wait_buftarg()1947 ASSERT(percpu_counter_sum(&btp->bt_io_count) == 0); in xfs_free_buftarg()
663 percpu_counter_sum(&lock->writers) == 0); in btrfs_drew_read_lock()
4142 if (percpu_counter_sum(&fs_info->delalloc_bytes)) { in close_ctree()4144 percpu_counter_sum(&fs_info->delalloc_bytes)); in close_ctree()4147 if (percpu_counter_sum(&fs_info->dio_bytes)) in close_ctree()4149 percpu_counter_sum(&fs_info->dio_bytes)); in close_ctree()
605 wait_event(fs_info->dev_replace.replace_wait, !percpu_counter_sum( in btrfs_rm_dev_replace_blocked()
625 s64 val = percpu_counter_sum(&sinfo->total_bytes_pinned); in btrfs_space_info_show_total_bytes_pinned()
2848 s64 value = percpu_counter_sum(&dqstats.counter[type]); in do_proc_dqstats()
2695 WARN_ON(percpu_counter_sum(&cc->n_allocated_pages) != 0); in crypt_dtr()
2912 percpu_counter_sum(&sbinfo->used_blocks); in shmem_statfs()
8840 inflight = percpu_counter_sum(&tctx->inflight); in tctx_inflight()8854 inflight += percpu_counter_sum(&__tctx->inflight); in tctx_inflight()