Home
last modified time | relevance | path

Searched refs:latency_buckets (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/block/
H A Dblk-throttle.c83 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()
2379 if (!td->latency_buckets[READ]) { 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()
[all …]
H A Dkyber-iosched.c171 unsigned int latency_buckets[KYBER_OTHER][2][KYBER_LATENCY_BUCKETS]; member
214 unsigned int *buckets = kqd->latency_buckets[sched_domain][type]; in flush_latency_buckets()
230 unsigned int *buckets = kqd->latency_buckets[sched_domain][type]; in calculate_percentile()
257 memset(buckets, 0, sizeof(kqd->latency_buckets[sched_domain][type])); in calculate_percentile()