Lines Matching refs:cq_lock
148 mtx_init(&qp->cq_lock, "ccp queue", NULL, MTX_DEF); in ccp_initialize_queues()
166 mtx_destroy(&qp->cq_lock); in ccp_free_queues()
651 mtx_assert(&qp->cq_lock, MA_OWNED); in ccp_queue_reserve_space()
663 msleep(&qp->cq_tail, &qp->cq_lock, 0, "ccpqfull", 0); in ccp_queue_reserve_space()
672 mtx_lock(&qp->cq_lock); in ccp_queue_acquire_reserve()
676 mtx_unlock(&qp->cq_lock); in ccp_queue_acquire_reserve()
684 mtx_assert(&qp->cq_lock, MA_OWNED); in ccp_queue_release()
689 mtx_unlock(&qp->cq_lock); in ccp_queue_release()
697 mtx_assert(&qp->cq_lock, MA_OWNED); in ccp_queue_abort()
706 mtx_unlock(&qp->cq_lock); in ccp_queue_abort()
739 db_show_lock(&qp->cq_lock); in db_show_ccp_qp()