Lines Matching refs:qbp
3438 qband_t *qbp, *nqbp; in freeq() local
3517 qbp = qp->q_bandp; in freeq()
3518 while (qbp) { in freeq()
3519 nqbp = qbp->qb_next; in freeq()
3520 freeband(qbp); in freeq()
3521 qbp = nqbp; in freeq()
3523 qbp = wqp->q_bandp; in freeq()
3524 while (qbp) { in freeq()
3525 nqbp = qbp->qb_next; in freeq()
3526 freeband(qbp); in freeq()
3527 qbp = nqbp; in freeq()
3538 qband_t *qbp; in allocband() local
3540 qbp = kmem_cache_alloc(qband_cache, KM_NOSLEEP); in allocband()
3541 if (qbp == NULL) in allocband()
3544 qbp->qb_next = NULL; in allocband()
3545 qbp->qb_count = 0; in allocband()
3546 qbp->qb_mblkcnt = 0; in allocband()
3547 qbp->qb_first = NULL; in allocband()
3548 qbp->qb_last = NULL; in allocband()
3549 qbp->qb_flag = 0; in allocband()
3551 return (qbp); in allocband()
3558 freeband(qband_t *qbp) in freeband() argument
3560 kmem_cache_free(qband_cache, qbp); in freeband()
3657 qband_t *qbp; in runservice() local
3681 for (qbp = q->q_bandp; qbp; qbp = qbp->qb_next) in runservice()
3682 qbp->qb_flag &= ~QB_BACK; in runservice()
4117 qband_t *qbp; in setqback() local
4138 qbp = q->q_bandp; in setqback()
4141 qbp = qbp->qb_next; in setqback()
4142 qbp->qb_flag |= QB_BACK; in setqback()
4739 qband_t *qbp; in backenable_insertedq() local
4746 qbp = q->q_next->q_nfsrv->q_bandp; in backenable_insertedq()
4747 for (; qbp != NULL; qbp = qbp->qb_next) in backenable_insertedq()
4748 if ((qbp->qb_flag & QB_WANTW) && qbp->qb_first != NULL) in backenable_insertedq()
4749 backenable(q, qbp->qb_first->b_band); in backenable_insertedq()