Lines Matching refs:t
169 struct gred_sched *t = qdisc_priv(sch); in gred_enqueue() local
173 if (dp >= t->DPs || (q = t->tab[dp]) == NULL) { in gred_enqueue()
174 dp = t->def; in gred_enqueue()
176 q = t->tab[dp]; in gred_enqueue()
195 if (!gred_wred_mode(t) && gred_rio_mode(t)) { in gred_enqueue()
198 for (i = 0; i < t->DPs; i++) { in gred_enqueue()
199 if (t->tab[i] && t->tab[i]->prio < q->prio && in gred_enqueue()
200 !red_is_idling(&t->tab[i]->vars)) in gred_enqueue()
201 qavg += t->tab[i]->vars.qavg; in gred_enqueue()
209 if (gred_wred_mode(t)) in gred_enqueue()
210 gred_load_wred_set(t, q); in gred_enqueue()
214 gred_backlog(t, q, sch)); in gred_enqueue()
219 if (gred_wred_mode(t)) in gred_enqueue()
220 gred_store_wred_set(t, q); in gred_enqueue()
247 if (gred_backlog(t, q, sch) + qdisc_pkt_len(skb) <= q->limit) { in gred_enqueue()
264 struct gred_sched *t = qdisc_priv(sch); in gred_dequeue() local
272 if (dp >= t->DPs || (q = t->tab[dp]) == NULL) { in gred_dequeue()
278 if (gred_wred_mode(t)) { in gred_dequeue()
280 red_start_of_idle_period(&t->wred_set); in gred_dequeue()
296 struct gred_sched *t = qdisc_priv(sch); in gred_reset() local
300 for (i = 0; i < t->DPs; i++) { in gred_reset()
301 struct gred_sched_data *q = t->tab[i]; in gred_reset()