Home
last modified time | relevance | path

Searched refs:cq_lock (Results 1 – 17 of 17) sorted by relevance

/drivers/infiniband/sw/rxe/
Drxe_cq.c47 spin_lock_irqsave(&cq->cq_lock, flags); in rxe_send_complete()
49 spin_unlock_irqrestore(&cq->cq_lock, flags); in rxe_send_complete()
52 spin_unlock_irqrestore(&cq->cq_lock, flags); in rxe_send_complete()
87 spin_lock_init(&cq->cq_lock); in rxe_cq_from_init()
100 uresp ? &uresp->mi : NULL, NULL, &cq->cq_lock); in rxe_cq_resize_queue()
114 spin_lock_irqsave(&cq->cq_lock, flags); in rxe_cq_post()
118 spin_unlock_irqrestore(&cq->cq_lock, flags); in rxe_cq_post()
134 spin_unlock_irqrestore(&cq->cq_lock, flags); in rxe_cq_post()
149 spin_lock_irqsave(&cq->cq_lock, flags); in rxe_cq_disable()
151 spin_unlock_irqrestore(&cq->cq_lock, flags); in rxe_cq_disable()
Drxe_verbs.c822 spin_lock_irqsave(&cq->cq_lock, flags); in rxe_poll_cq()
831 spin_unlock_irqrestore(&cq->cq_lock, flags); in rxe_poll_cq()
853 spin_lock_irqsave(&cq->cq_lock, irq_flags); in rxe_req_notify_cq()
862 spin_unlock_irqrestore(&cq->cq_lock, irq_flags); in rxe_req_notify_cq()
Drxe_verbs.h64 spinlock_t cq_lock; member
/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_qp.c68 __acquires(scq->cq_lock) __acquires(rcq->cq_lock) in pvrdma_lock_cqs()
71 spin_lock_irqsave(&scq->cq_lock, *scq_flags); in pvrdma_lock_cqs()
72 __acquire(rcq->cq_lock); in pvrdma_lock_cqs()
74 spin_lock_irqsave(&scq->cq_lock, *scq_flags); in pvrdma_lock_cqs()
75 spin_lock_irqsave_nested(&rcq->cq_lock, *rcq_flags, in pvrdma_lock_cqs()
78 spin_lock_irqsave(&rcq->cq_lock, *rcq_flags); in pvrdma_lock_cqs()
79 spin_lock_irqsave_nested(&scq->cq_lock, *scq_flags, in pvrdma_lock_cqs()
87 __releases(scq->cq_lock) __releases(rcq->cq_lock) in pvrdma_unlock_cqs()
90 __release(rcq->cq_lock); in pvrdma_unlock_cqs()
91 spin_unlock_irqrestore(&scq->cq_lock, *scq_flags); in pvrdma_unlock_cqs()
[all …]
Dpvrdma_cq.c75 spin_lock_irqsave(&cq->cq_lock, flags); in pvrdma_req_notify_cq()
88 spin_unlock_irqrestore(&cq->cq_lock, flags); in pvrdma_req_notify_cq()
180 spin_lock_init(&cq->cq_lock); in pvrdma_create_cq()
396 spin_lock_irqsave(&cq->cq_lock, flags); in pvrdma_poll_cq()
402 spin_unlock_irqrestore(&cq->cq_lock, flags); in pvrdma_poll_cq()
Dpvrdma.h89 spinlock_t cq_lock; /* Poll lock. */ member
/drivers/ufs/core/
Dufs-mcq.c311 spin_lock_irqsave(&hwq->cq_lock, flags); in ufshcd_mcq_poll_cqe_lock()
313 spin_unlock_irqrestore(&hwq->cq_lock, flags); in ufshcd_mcq_poll_cqe_lock()
428 spin_lock_init(&hwq->cq_lock); in ufshcd_mcq_init()
/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.c985 spin_lock_init(&cq->cq_lock); in ocrdma_create_cq()
1040 spin_lock_irqsave(&cq->cq_lock, flags); in ocrdma_flush_cq()
1048 spin_unlock_irqrestore(&cq->cq_lock, flags); in ocrdma_flush_cq()
1595 spin_lock_irqsave(&cq->cq_lock, cq_flags); in ocrdma_discard_cqes()
1647 spin_unlock_irqrestore(&cq->cq_lock, cq_flags); in ocrdma_discard_cqes()
1700 spin_lock_irqsave(&qp->sq_cq->cq_lock, flags); in ocrdma_destroy_qp()
1702 spin_lock(&qp->rq_cq->cq_lock); in ocrdma_destroy_qp()
1704 spin_unlock(&qp->rq_cq->cq_lock); in ocrdma_destroy_qp()
1708 spin_unlock_irqrestore(&qp->sq_cq->cq_lock, flags); in ocrdma_destroy_qp()
2851 spin_lock_irqsave(&cq->cq_lock, flags); in ocrdma_poll_cq()
[all …]
Docrdma.h325 spinlock_t cq_lock ____cacheline_aligned; /* provide synchronization
/drivers/infiniband/hw/bnxt_re/
Dib_verbs.c724 __acquires(&qp->scq->cq_lock) __acquires(&qp->rcq->cq_lock) in bnxt_re_lock_cqs()
728 spin_lock_irqsave(&qp->scq->cq_lock, flags); in bnxt_re_lock_cqs()
730 spin_lock(&qp->rcq->cq_lock); in bnxt_re_lock_cqs()
732 __acquire(&qp->rcq->cq_lock); in bnxt_re_lock_cqs()
739 __releases(&qp->scq->cq_lock) __releases(&qp->rcq->cq_lock) in bnxt_re_unlock_cqs()
742 spin_unlock(&qp->rcq->cq_lock); in bnxt_re_unlock_cqs()
744 __release(&qp->rcq->cq_lock); in bnxt_re_unlock_cqs()
745 spin_unlock_irqrestore(&qp->scq->cq_lock, flags); in bnxt_re_unlock_cqs()
2894 spin_lock_init(&cq->cq_lock); in bnxt_re_create_cq()
3431 spin_lock_irqsave(&cq->cq_lock, flags); in bnxt_re_poll_cq()
[all …]
Dib_verbs.h99 spinlock_t cq_lock; /* protect cq */ member
/drivers/scsi/bnx2fc/
Dbnx2fc_tgt.c415 spin_lock_init(&tgt->cq_lock); in bnx2fc_init_tgt()
836 spin_lock_bh(&tgt->cq_lock); in bnx2fc_free_session_resc()
892 spin_unlock_bh(&tgt->cq_lock); in bnx2fc_free_session_resc()
Dbnx2fc.h369 spinlock_t cq_lock; member
Dbnx2fc_hwi.c1078 spin_lock_bh(&tgt->cq_lock); in bnx2fc_process_new_cqes()
1082 spin_unlock_bh(&tgt->cq_lock); in bnx2fc_process_new_cqes()
1118 spin_unlock_bh(&tgt->cq_lock); in bnx2fc_process_new_cqes()
/drivers/infiniband/hw/qedr/
Dqedr_roce_cm.c680 spin_lock_irqsave(&cq->cq_lock, flags); in qedr_gsi_poll_cq()
722 spin_unlock_irqrestore(&cq->cq_lock, flags); in qedr_gsi_poll_cq()
Dqedr.h289 spinlock_t cq_lock; member
Dverbs.c884 spin_lock_irqsave(&cq->cq_lock, sflags); in qedr_arm_cq()
896 spin_unlock_irqrestore(&cq->cq_lock, sflags); in qedr_arm_cq()
998 spin_lock_init(&cq->cq_lock); in qedr_create_cq()
4438 spin_lock_irqsave(&cq->cq_lock, flags); in qedr_poll_cq()
4492 spin_unlock_irqrestore(&cq->cq_lock, flags); in qedr_poll_cq()