Lines Matching refs:bucket
56 int bucket, cpu; in blk_stat_add() local
70 bucket = cb->bucket_fn(rq); in blk_stat_add()
71 if (bucket < 0) in blk_stat_add()
74 stat = &per_cpu_ptr(cb->cpu_stat, cpu)[bucket]; in blk_stat_add()
84 unsigned int bucket; in blk_stat_timer_fn() local
87 for (bucket = 0; bucket < cb->buckets; bucket++) in blk_stat_timer_fn()
88 blk_rq_stat_init(&cb->stat[bucket]); in blk_stat_timer_fn()
94 for (bucket = 0; bucket < cb->buckets; bucket++) { 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()
140 unsigned int bucket; in blk_stat_add_callback() local
148 for (bucket = 0; bucket < cb->buckets; bucket++) in blk_stat_add_callback()
149 blk_rq_stat_init(&cpu_stat[bucket]); in blk_stat_add_callback()