Searched refs:avg_buckets (Results 1 – 1 of 1) sorted by relevance
217 struct avg_latency_bucket avg_buckets[2][LATENCY_BUCKET_SIZE]; member2083 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()[all …]