Lines Matching defs:sc_active
133 * sc_active is the queue we are anticipating for.
139 struct g_rr_queue *sc_active;
140 struct callout sc_wait; /* timer for sc_active */
260 sc, sc->sc_active, sc->sc_nqueues,
404 qp = sc->sc_active;
422 sc->sc_active = qp = NULL;
427 * If we find it, select if as sc_active, clear service
436 sc->sc_active = qp;
451 * If so, clear sc_active and possibly requeue the previous
453 * 2. do we have more requests in sc_active ?
461 sc->sc_active = NULL;
476 sc->sc_active = NULL;
479 /* If sc_active != NULL, its q_status is always correct. */
491 if (qp->q_sc->sc_active != qp)
544 * Reset its state if it is sc_active,
547 if (qp == sc->sc_active) {
580 * sc_active is still valid.
582 if (sc->sc_active != NULL) {
584 g_rr_queue_put(sc->sc_active);
585 sc->sc_active = NULL;
622 KASSERT(sc->sc_active == NULL, ("still a queue under service"));
661 if (qp == sc->sc_active && qp->q_status == G_QUEUE_BUSY) {