Lines Matching refs:avg_buckets
217 struct avg_latency_bucket avg_buckets[2][LATENCY_BUCKET_SIZE]; member
2083 if (td->avg_buckets[rw][i].latency < last_latency[rw]) in throtl_update_latency_buckets()
2084 td->avg_buckets[rw][i].latency = in throtl_update_latency_buckets()
2089 if (!td->avg_buckets[rw][i].valid) in throtl_update_latency_buckets()
2092 latency[rw] = (td->avg_buckets[rw][i].latency * 7 + in throtl_update_latency_buckets()
2095 td->avg_buckets[rw][i].latency = max(latency[rw], in throtl_update_latency_buckets()
2097 td->avg_buckets[rw][i].valid = true; in throtl_update_latency_buckets()
2098 last_latency[rw] = td->avg_buckets[rw][i].latency; in throtl_update_latency_buckets()
2106 td->avg_buckets[READ][i].latency, in throtl_update_latency_buckets()
2107 td->avg_buckets[READ][i].valid, in throtl_update_latency_buckets()
2108 td->avg_buckets[WRITE][i].latency, in throtl_update_latency_buckets()
2109 td->avg_buckets[WRITE][i].valid); in throtl_update_latency_buckets()
2289 threshold = tg->td->avg_buckets[rw][bucket].latency + in blk_throtl_bio_endio()
2439 td->avg_buckets[READ][i].latency = DFL_HD_BASELINE_LATENCY; in blk_throtl_register_queue()
2440 td->avg_buckets[WRITE][i].latency = DFL_HD_BASELINE_LATENCY; in blk_throtl_register_queue()