Searched refs:cpu_stat (Results 1 – 2 of 2) sorted by relevance
73 stat = &per_cpu_ptr(cb->cpu_stat, cpu)[bucket]; in blk_stat_add()90 struct blk_rq_stat *cpu_stat; in blk_stat_timer_fn() local92 cpu_stat = per_cpu_ptr(cb->cpu_stat, cpu); in blk_stat_timer_fn()94 blk_rq_stat_sum(&cb->stat[bucket], &cpu_stat[bucket]); in blk_stat_timer_fn()95 blk_rq_stat_init(&cpu_stat[bucket]); in blk_stat_timer_fn()119 cb->cpu_stat = __alloc_percpu(buckets * sizeof(struct blk_rq_stat), in blk_stat_alloc_callback()121 if (!cb->cpu_stat) { in blk_stat_alloc_callback()144 struct blk_rq_stat *cpu_stat; in blk_stat_add_callback() local146 cpu_stat = per_cpu_ptr(cb->cpu_stat, cpu); in blk_stat_add_callback()148 blk_rq_stat_init(&cpu_stat[bucket]); in blk_stat_add_callback()[all …]
33 struct blk_rq_stat __percpu *cpu_stat; member