Searched refs:avg_buckets (Results 1 – 1 of 1) sorted by relevance
82 struct avg_latency_bucket avg_buckets[2][LATENCY_BUCKET_SIZE]; member2101 if (td->avg_buckets[rw][i].latency < last_latency[rw]) in throtl_update_latency_buckets()2102 td->avg_buckets[rw][i].latency = in throtl_update_latency_buckets()2107 if (!td->avg_buckets[rw][i].valid) in throtl_update_latency_buckets()2110 latency[rw] = (td->avg_buckets[rw][i].latency * 7 + in throtl_update_latency_buckets()2113 td->avg_buckets[rw][i].latency = max(latency[rw], in throtl_update_latency_buckets()2115 td->avg_buckets[rw][i].valid = true; in throtl_update_latency_buckets()2116 last_latency[rw] = td->avg_buckets[rw][i].latency; in throtl_update_latency_buckets()2124 td->avg_buckets[READ][i].latency, in throtl_update_latency_buckets()2125 td->avg_buckets[READ][i].valid, in throtl_update_latency_buckets()[all …]