Lines Matching refs:cq_lock
1022 spin_lock_init(&cq->cq_lock); in ocrdma_create_cq()
1082 spin_lock_irqsave(&cq->cq_lock, flags); in ocrdma_flush_cq()
1090 spin_unlock_irqrestore(&cq->cq_lock, flags); in ocrdma_flush_cq()
1642 spin_lock_irqsave(&cq->cq_lock, cq_flags); in ocrdma_discard_cqes()
1695 spin_unlock_irqrestore(&cq->cq_lock, cq_flags); in ocrdma_discard_cqes()
1748 spin_lock_irqsave(&qp->sq_cq->cq_lock, flags); in ocrdma_destroy_qp()
1750 spin_lock(&qp->rq_cq->cq_lock); in ocrdma_destroy_qp()
1755 spin_unlock(&qp->rq_cq->cq_lock); in ocrdma_destroy_qp()
1756 spin_unlock_irqrestore(&qp->sq_cq->cq_lock, flags); in ocrdma_destroy_qp()
2918 spin_lock_irqsave(&cq->cq_lock, flags); in ocrdma_poll_cq()
2920 spin_unlock_irqrestore(&cq->cq_lock, flags); in ocrdma_poll_cq()
2954 spin_lock_irqsave(&cq->cq_lock, flags); in ocrdma_arm_cq()
2967 spin_unlock_irqrestore(&cq->cq_lock, flags); in ocrdma_arm_cq()