Lines Matching refs:bands
43 int bands; member
66 return band < q->bands ? band : q->prio2band[0]; in prio_classify()
115 for (prio = 0; prio < q->bands; prio++) { in prio_dequeue()
134 for (prio = q->bands-1; prio >= 0; prio--) { in prio_drop()
151 for (prio=0; prio<q->bands; prio++) in prio_reset()
168 for (prio=0; prio<q->bands; prio++) { in prio_destroy()
183 if (qopt->bands > TCQ_PRIO_BANDS || qopt->bands < 2) in prio_tune()
187 if (qopt->priomap[i] >= qopt->bands) in prio_tune()
192 q->bands = qopt->bands; in prio_tune()
195 for (i=q->bands; i<TCQ_PRIO_BANDS; i++) { in prio_tune()
246 opt.bands = q->bands; in prio_dump()
262 if (band >= q->bands) in prio_graft()
284 if (band >= q->bands) in prio_leaf()
295 if (band - 1 >= q->bands) in prio_get()
316 if (cl - 1 > q->bands) in prio_change()
324 if (cl - 1 > q->bands) in prio_delete()
335 if (cl - 1 > q->bands) in prio_dump_class()
351 for (prio = 0; prio < q->bands; prio++) { in prio_walk()