Searched refs:percpu_counter_sum (Results 1 – 25 of 26) sorted by relevance
12
361 delayed = percpu_counter_sum(&mp->m_delalloc_blks); in xchk_fscount_aggregate_agcounts()427 fsc->frextents_delayed = percpu_counter_sum(&mp->m_delalloc_rtextents); in xchk_fscount_count_frextents()473 int64_t curr_value = percpu_counter_sum(counter); in xchk_fscount_within_range()513 icount = percpu_counter_sum(&mp->m_icount); in xchk_fscounters()514 ifree = percpu_counter_sum(&mp->m_ifree); in xchk_fscounters()515 fdblocks = percpu_counter_sum(&mp->m_fdblocks); in xchk_fscounters()516 frextents = percpu_counter_sum(&mp->m_frextents); in xchk_fscounters()
204 fs_icount = percpu_counter_sum(&mp->m_icount); in xchk_quota_item()
63 free = percpu_counter_sum(&sc->mp->m_fdblocks); in xrep_newbt_estimate_slack()
228 fs_icount = percpu_counter_sum(&mp->m_icount); in xrep_quota_item()
68 cap->hit = cpu_to_le64(percpu_counter_sum(&m->i_caps_hit)); in ceph_mdsc_send_metrics()69 cap->mis = cpu_to_le64(percpu_counter_sum(&m->i_caps_mis)); in ceph_mdsc_send_metrics()118 dlease->hit = cpu_to_le64(percpu_counter_sum(&m->d_lease_hit)); in ceph_mdsc_send_metrics()119 dlease->mis = cpu_to_le64(percpu_counter_sum(&m->d_lease_mis)); in ceph_mdsc_send_metrics()123 sum = percpu_counter_sum(&m->total_inodes); in ceph_mdsc_send_metrics()151 inodes->opened_inodes = cpu_to_le64(percpu_counter_sum(&m->opened_inodes)); in ceph_mdsc_send_metrics()
157 percpu_counter_sum(&m->total_inodes)); in metrics_file_show()163 percpu_counter_sum(&m->opened_inodes)); in metrics_file_show()240 percpu_counter_sum(&m->d_lease_mis), in metrics_caps_show()241 percpu_counter_sum(&m->d_lease_hit)); in metrics_caps_show()245 percpu_counter_sum(&m->i_caps_mis), in metrics_caps_show()246 percpu_counter_sum(&m->i_caps_hit)); in metrics_caps_show()
66 s64 events = percpu_counter_sum(&p->events); in fprop_new_period()128 val = percpu_counter_sum(&pl->events); in fprop_reflect_period_percpu()
305 count = percpu_counter_sum(fbc); in __percpu_counter_compare()
103 static inline s64 percpu_counter_sum(struct percpu_counter *fbc) in percpu_counter_sum() function250 static inline s64 percpu_counter_sum(struct percpu_counter *fbc) in percpu_counter_sum() function
120 ASSERT(percpu_counter_sum(&btp->bt_io_count) == 0); in xmbuf_free()
845 icount = percpu_counter_sum(&mp->m_icount); in xfs_fs_statfs()846 ifree = percpu_counter_sum(&mp->m_ifree); in xfs_fs_statfs()847 fdblocks = percpu_counter_sum(&mp->m_fdblocks); in xfs_fs_statfs()1097 percpu_counter_sum(&mp->m_delalloc_rtextents) == 0); in xfs_destroy_percpu_counters()1100 percpu_counter_sum(&mp->m_delalloc_blks) == 0); in xfs_destroy_percpu_counters()
561 if (percpu_counter_sum(&mp->m_ifree) > in xfs_unmount_check()562 percpu_counter_sum(&mp->m_icount)) { in xfs_unmount_check()
410 free = percpu_counter_sum(&mp->m_fdblocks) - in xfs_reserve_blocks()
1905 while (percpu_counter_sum(&btp->bt_io_count)) in xfs_buftarg_wait()2023 ASSERT(percpu_counter_sum(&btp->bt_io_count) == 0); in xfs_destroy_buftarg()
421 percpu_counter_sum(&sbi->s_dirtyclusters_counter))); in ext4_attr_show()433 percpu_counter_sum(&sbi->s_sra_exceeded_retry_limit)); in ext4_attr_show()
1620 percpu_counter_sum(&sbi->s_freeclusters_counter))); in ext4_print_free_blocks()1623 percpu_counter_sum(&sbi->s_dirtyclusters_counter))); in ext4_print_free_blocks()
505 percpu_counter_sum(&ns->percpu_msg_hdrs), in msgctl_info()508 percpu_counter_sum(&ns->percpu_msg_bytes), in msgctl_info()
4343 if (percpu_counter_sum(&fs_info->delalloc_bytes)) { in close_ctree()4345 percpu_counter_sum(&fs_info->delalloc_bytes)); in close_ctree()4348 if (percpu_counter_sum(&fs_info->ordered_bytes)) in close_ctree()4350 percpu_counter_sum(&fs_info->ordered_bytes)); in close_ctree()
778 wait_event(fs_info->dev_replace.replace_wait, !percpu_counter_sum( in btrfs_rm_dev_replace_blocked()
826 long x = percpu_counter_sum(&mm->rss_stat[i]); in check_mm()
2257 percpu_counter_sum(&htab->pcount) : in htab_map_mem_usage()
2916 s64 value = percpu_counter_sum(&dqstats.counter[type]); in do_proc_dqstats()
3142 return percpu_counter_sum(&tctx->inflight); in tctx_inflight()
2811 WARN_ON(percpu_counter_sum(&cc->n_allocated_pages) != 0); in crypt_dtr()
3542 percpu_counter_sum(&sbinfo->used_blocks); in shmem_statfs()