Lines Matching refs:latency_buckets
83 struct latency_bucket __percpu *latency_buckets[2]; member
2094 bucket = per_cpu_ptr(td->latency_buckets[rw], in throtl_update_latency_buckets()
2298 latency = get_cpu_ptr(td->latency_buckets[rw]); in throtl_track_latency()
2301 put_cpu_ptr(td->latency_buckets[rw]); in throtl_track_latency()
2377 td->latency_buckets[READ] = __alloc_percpu(sizeof(struct latency_bucket) * in blk_throtl_init()
2379 if (!td->latency_buckets[READ]) { in blk_throtl_init()
2383 td->latency_buckets[WRITE] = __alloc_percpu(sizeof(struct latency_bucket) * in blk_throtl_init()
2385 if (!td->latency_buckets[WRITE]) { in blk_throtl_init()
2386 free_percpu(td->latency_buckets[READ]); in blk_throtl_init()
2405 free_percpu(td->latency_buckets[READ]); in blk_throtl_init()
2406 free_percpu(td->latency_buckets[WRITE]); in blk_throtl_init()
2420 free_percpu(q->td->latency_buckets[READ]); in blk_throtl_exit()
2421 free_percpu(q->td->latency_buckets[WRITE]); in blk_throtl_exit()