Searched refs:cpu_stat (Results 1 - 2 of 2) sorted by path

/linux-master/block/
H A Dblk-stat.c70 stat = &per_cpu_ptr(cb->cpu_stat, cpu)[bucket];
87 struct blk_rq_stat *cpu_stat; local
89 cpu_stat = per_cpu_ptr(cb->cpu_stat, cpu);
91 blk_rq_stat_sum(&cb->stat[bucket], &cpu_stat[bucket]);
92 blk_rq_stat_init(&cpu_stat[bucket]);
116 cb->cpu_stat = __alloc_percpu(buckets * sizeof(struct blk_rq_stat),
118 if (!cb->cpu_stat) {
141 struct blk_rq_stat *cpu_stat; local
143 cpu_stat
[all...]
H A Dblk-stat.h16 * buckets by @bucket_fn and added to a per-cpu buffer, @cpu_stat. When the
17 * timer fires, @cpu_stat is flushed to @stat and @timer_fn is invoked.
31 * @cpu_stat: Per-cpu statistics buckets.
33 struct blk_rq_stat __percpu *cpu_stat; member in struct:blk_stat_callback

Completed in 220 milliseconds