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

/linux-master/block/
H A Dblk-stat.c73 stat = &per_cpu_ptr(cb->cpu_stat, cpu)[bucket];
90 struct blk_rq_stat *cpu_stat; local
92 cpu_stat = per_cpu_ptr(cb->cpu_stat, cpu);
94 blk_rq_stat_sum(&cb->stat[bucket], &cpu_stat[bucket]);
95 blk_rq_stat_init(&cpu_stat[bucket]);
119 cb->cpu_stat = __alloc_percpu(buckets * sizeof(struct blk_rq_stat),
121 if (!cb->cpu_stat) {
144 struct blk_rq_stat *cpu_stat; local
146 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 92 milliseconds