Lines Matching refs:scrubrates
37 } scrubrates[] = {
189 * by falling back to the last element in scrubrates[].
191 for (i = 0; i < ARRAY_SIZE(scrubrates) - 1; i++) {
196 if (scrubrates[i].scrubval < min_rate)
199 if (scrubrates[i].bandwidth <= new_bw)
203 scrubval = scrubrates[i].scrubval;
208 return scrubrates[i].bandwidth;
242 for (i = 0; i < ARRAY_SIZE(scrubrates); i++) {
243 if (scrubrates[i].scrubval == scrubval) {
244 retval = scrubrates[i].bandwidth;