Lines Matching defs:active
139 struct list_head alist; /* Link for active-classes list. */
164 struct list_head active; /* DRR queue of active classes. */
176 /* Array of RR lists of active aggregates. */
200 * enqueue: the aggregate switches from idle to active and must scheduled
262 INIT_LIST_HEAD(&agg->active);
324 if (cl->qdisc->q.qlen > 0) { /* adding an active class */
325 list_add_tail(&cl->alist, &agg->active);
326 if (list_first_entry(&agg->active, struct qfq_class, alist) ==
353 if (list_empty(&agg->active)) /* agg is now inactive */
373 if (cl->qdisc->q.qlen > 0) /* class is active */
996 list_move_tail(&cl->alist, &agg->active);
1008 *cl = list_first_entry(&agg->active, struct qfq_class, alist);
1096 /* next-packet len, 0 means no more active classes in in-service agg */
1102 if (!list_empty(&in_serv_agg->active))
1106 * If there are no active classes in the in-service aggregate,
1117 if (!list_empty(&in_serv_agg->active)) {
1119 * Still active: reschedule for
1121 * aggregate is active, then there is no point
1267 list_first_entry(&agg->active, struct qfq_class, alist)
1269 list_move_tail(&cl->alist, &agg->active);
1276 list_add_tail(&cl->alist, &agg->active);
1278 if (list_first_entry(&agg->active, struct qfq_class, alist) != cl ||