Home
last modified time | relevance | path

Searched refs:percpu_counter_sum (Results 1 – 21 of 21) sorted by relevance

/kernel/linux/linux-5.10/fs/xfs/scrub/
Dfscounters.c215 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()
Dquota.c124 fs_icount = percpu_counter_sum(&mp->m_icount); in xchk_quota_item()
/kernel/linux/linux-5.10/fs/ceph/
Ddebugfs.c151 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()
Dmetric.c45 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()
/kernel/linux/linux-5.10/include/linux/
Dpercpu_counter.h65 static inline s64 percpu_counter_sum(struct percpu_counter *fbc) in percpu_counter_sum() function
166 static inline s64 percpu_counter_sum(struct percpu_counter *fbc) in percpu_counter_sum() function
/kernel/linux/linux-5.10/lib/
Dflex_proportions.c70 events = percpu_counter_sum(&p->events); in fprop_new_period()
209 val = percpu_counter_sum(&pl->events); in fprop_reflect_period_percpu()
Dpercpu_counter.c234 count = percpu_counter_sum(fbc); in __percpu_counter_compare()
/kernel/linux/linux-5.10/fs/ext4/
Dsysfs.c377 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()
Dinode.c1598 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()
/kernel/linux/linux-5.10/fs/xfs/libxfs/
Dxfs_sb.c959 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()
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_super.c799 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()
Dxfs_fsops.c382 free = percpu_counter_sum(&mp->m_fdblocks) - in xfs_reserve_blocks()
Dxfs_buf.c1838 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()
/kernel/linux/linux-5.10/fs/btrfs/
Dlocking.c663 percpu_counter_sum(&lock->writers) == 0); in btrfs_drew_read_lock()
Ddisk-io.c4142 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()
Ddev-replace.c605 wait_event(fs_info->dev_replace.replace_wait, !percpu_counter_sum( in btrfs_rm_dev_replace_blocked()
Dsysfs.c625 s64 val = percpu_counter_sum(&sinfo->total_bytes_pinned); in btrfs_space_info_show_total_bytes_pinned()
/kernel/linux/linux-5.10/fs/quota/
Ddquot.c2848 s64 value = percpu_counter_sum(&dqstats.counter[type]); in do_proc_dqstats()
/kernel/linux/linux-5.10/drivers/md/
Ddm-crypt.c2695 WARN_ON(percpu_counter_sum(&cc->n_allocated_pages) != 0); in crypt_dtr()
/kernel/linux/linux-5.10/mm/
Dshmem.c2912 percpu_counter_sum(&sbinfo->used_blocks); in shmem_statfs()
/kernel/linux/linux-5.10/fs/
Dio_uring.c8840 inflight = percpu_counter_sum(&tctx->inflight); in tctx_inflight()
8854 inflight += percpu_counter_sum(&__tctx->inflight); in tctx_inflight()