Home
last modified time | relevance | path

Searched refs:cpu_stat (Results 1 – 2 of 2) sorted by relevance

/linux-6.3-rc2/block/
A Dblk-stat.c74 stat = &per_cpu_ptr(cb->cpu_stat, cpu)[bucket]; in blk_stat_add()
91 struct blk_rq_stat *cpu_stat; in blk_stat_timer_fn() local
93 cpu_stat = per_cpu_ptr(cb->cpu_stat, cpu); in blk_stat_timer_fn()
95 blk_rq_stat_sum(&cb->stat[bucket], &cpu_stat[bucket]); in blk_stat_timer_fn()
96 blk_rq_stat_init(&cpu_stat[bucket]); in blk_stat_timer_fn()
120 cb->cpu_stat = __alloc_percpu(buckets * sizeof(struct blk_rq_stat), in blk_stat_alloc_callback()
122 if (!cb->cpu_stat) { in blk_stat_alloc_callback()
145 struct blk_rq_stat *cpu_stat; in blk_stat_add_callback() local
147 cpu_stat = per_cpu_ptr(cb->cpu_stat, cpu); in blk_stat_add_callback()
149 blk_rq_stat_init(&cpu_stat[bucket]); in blk_stat_add_callback()
[all …]
A Dblk-stat.h33 struct blk_rq_stat __percpu *cpu_stat; member

Completed in 6 milliseconds