Home
last modified time | relevance | path

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

12

/linux-6.12.1/fs/xfs/scrub/
Dfscounters.c361 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()
Dquota.c204 fs_icount = percpu_counter_sum(&mp->m_icount); in xchk_quota_item()
Dnewbt.c63 free = percpu_counter_sum(&sc->mp->m_fdblocks); in xrep_newbt_estimate_slack()
Dquota_repair.c228 fs_icount = percpu_counter_sum(&mp->m_icount); in xrep_quota_item()
/linux-6.12.1/fs/ceph/
Dmetric.c68 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()
Ddebugfs.c157 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()
/linux-6.12.1/lib/
Dflex_proportions.c66 s64 events = percpu_counter_sum(&p->events); in fprop_new_period()
128 val = percpu_counter_sum(&pl->events); in fprop_reflect_period_percpu()
Dpercpu_counter.c305 count = percpu_counter_sum(fbc); in __percpu_counter_compare()
/linux-6.12.1/include/linux/
Dpercpu_counter.h103 static inline s64 percpu_counter_sum(struct percpu_counter *fbc) in percpu_counter_sum() function
250 static inline s64 percpu_counter_sum(struct percpu_counter *fbc) in percpu_counter_sum() function
/linux-6.12.1/fs/xfs/
Dxfs_buf_mem.c120 ASSERT(percpu_counter_sum(&btp->bt_io_count) == 0); in xmbuf_free()
Dxfs_super.c845 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()
Dxfs_mount.c561 if (percpu_counter_sum(&mp->m_ifree) > in xfs_unmount_check()
562 percpu_counter_sum(&mp->m_icount)) { in xfs_unmount_check()
Dxfs_fsops.c410 free = percpu_counter_sum(&mp->m_fdblocks) - in xfs_reserve_blocks()
Dxfs_buf.c1905 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()
/linux-6.12.1/fs/ext4/
Dsysfs.c421 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()
Dinode.c1620 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()
/linux-6.12.1/ipc/
Dmsg.c505 percpu_counter_sum(&ns->percpu_msg_hdrs), in msgctl_info()
508 percpu_counter_sum(&ns->percpu_msg_bytes), in msgctl_info()
/linux-6.12.1/fs/btrfs/
Ddisk-io.c4343 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()
Ddev-replace.c778 wait_event(fs_info->dev_replace.replace_wait, !percpu_counter_sum( in btrfs_rm_dev_replace_blocked()
/linux-6.12.1/kernel/
Dfork.c826 long x = percpu_counter_sum(&mm->rss_stat[i]); in check_mm()
/linux-6.12.1/kernel/bpf/
Dhashtab.c2257 percpu_counter_sum(&htab->pcount) : in htab_map_mem_usage()
/linux-6.12.1/fs/quota/
Ddquot.c2916 s64 value = percpu_counter_sum(&dqstats.counter[type]); in do_proc_dqstats()
/linux-6.12.1/io_uring/
Dio_uring.c3142 return percpu_counter_sum(&tctx->inflight); in tctx_inflight()
/linux-6.12.1/drivers/md/
Ddm-crypt.c2811 WARN_ON(percpu_counter_sum(&cc->n_allocated_pages) != 0); in crypt_dtr()
/linux-6.12.1/mm/
Dshmem.c3542 percpu_counter_sum(&sbinfo->used_blocks); in shmem_statfs()

12