Lines Matching defs:active
137 struct list_head alist; /* Link for active-classes list. */
162 struct list_head active; /* DRR queue of active classes. */
174 /* Array of RR lists of active aggregates. */
198 * enqueue: the aggregate switches from idle to active and must scheduled
260 INIT_LIST_HEAD(&agg->active);
322 if (cl->qdisc->q.qlen > 0) { /* adding an active class */
323 list_add_tail(&cl->alist, &agg->active);
324 if (list_first_entry(&agg->active, struct qfq_class, alist) ==
351 if (list_empty(&agg->active)) /* agg is now inactive */
371 if (cl->qdisc->q.qlen > 0) /* class is active */
991 list_move_tail(&cl->alist, &agg->active);
1003 *cl = list_first_entry(&agg->active, struct qfq_class, alist);
1091 /* next-packet len, 0 means no more active classes in in-service agg */
1097 if (!list_empty(&in_serv_agg->active))
1101 * If there are no active classes in the in-service aggregate,
1112 if (!list_empty(&in_serv_agg->active)) {
1114 * Still active: reschedule for
1116 * aggregate is active, then there is no point
1261 list_first_entry(&agg->active, struct qfq_class, alist)
1263 list_move_tail(&cl->alist, &agg->active);
1270 list_add_tail(&cl->alist, &agg->active);
1272 if (list_first_entry(&agg->active, struct qfq_class, alist) != cl ||