Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
85 spin_lock_init(&cq->cq_lock); in rxe_cq_from_init()
98 uresp ? &uresp->mi : NULL, NULL, &cq->cq_lock); in rxe_cq_resize_queue()
110 spin_lock_irqsave(&cq->cq_lock, flags); in rxe_cq_post()
113 spin_unlock_irqrestore(&cq->cq_lock, flags); in rxe_cq_post()
132 spin_unlock_irqrestore(&cq->cq_lock, flags); in rxe_cq_post()
147 spin_lock_irqsave(&cq->cq_lock, flags); in rxe_cq_disable()
149 spin_unlock_irqrestore(&cq->cq_lock, flags); in rxe_cq_disable()
Drxe_verbs.c826 spin_lock_irqsave(&cq->cq_lock, flags); in rxe_poll_cq()
835 spin_unlock_irqrestore(&cq->cq_lock, flags); in rxe_poll_cq()
854 spin_lock_irqsave(&cq->cq_lock, irq_flags); in rxe_req_notify_cq()
861 spin_unlock_irqrestore(&cq->cq_lock, irq_flags); in rxe_req_notify_cq()
Drxe_verbs.h64 spinlock_t cq_lock; member
/kernel/linux/linux-5.10/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()
177 spin_lock_init(&cq->cq_lock); in pvrdma_create_cq()
393 spin_lock_irqsave(&cq->cq_lock, flags); in pvrdma_poll_cq()
399 spin_unlock_irqrestore(&cq->cq_lock, flags); in pvrdma_poll_cq()
Dpvrdma.h89 spinlock_t cq_lock; /* Poll lock. */ member
/kernel/linux/linux-5.10/net/xdp/
Dxsk.c367 spin_lock_irqsave(&xs->pool->cq_lock, flags); in xsk_destruct_skb()
369 spin_unlock_irqrestore(&xs->pool->cq_lock, flags); in xsk_destruct_skb()
419 spin_lock_irqsave(&xs->pool->cq_lock, flags); in xsk_generic_xmit()
421 spin_unlock_irqrestore(&xs->pool->cq_lock, flags); in xsk_generic_xmit()
425 spin_unlock_irqrestore(&xs->pool->cq_lock, flags); in xsk_generic_xmit()
437 spin_lock_irqsave(&xs->pool->cq_lock, flags); in xsk_generic_xmit()
439 spin_unlock_irqrestore(&xs->pool->cq_lock, flags); in xsk_generic_xmit()
Dxsk_buff_pool.c74 spin_lock_init(&pool->cq_lock); in xp_create_and_assign_umem()
/kernel/linux/linux-5.10/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()
2849 spin_lock_irqsave(&cq->cq_lock, flags); in ocrdma_poll_cq()
[all …]
Docrdma.h325 spinlock_t cq_lock ____cacheline_aligned; /* provide synchronization
/kernel/linux/linux-5.10/include/net/
Dxsk_buff_pool.h80 spinlock_t cq_lock; member
/kernel/linux/linux-5.10/drivers/infiniband/hw/bnxt_re/
Dib_verbs.c720 __acquires(&qp->scq->cq_lock) __acquires(&qp->rcq->cq_lock) in bnxt_re_lock_cqs()
724 spin_lock_irqsave(&qp->scq->cq_lock, flags); in bnxt_re_lock_cqs()
726 spin_lock(&qp->rcq->cq_lock); in bnxt_re_lock_cqs()
728 __acquire(&qp->rcq->cq_lock); in bnxt_re_lock_cqs()
735 __releases(&qp->scq->cq_lock) __releases(&qp->rcq->cq_lock) in bnxt_re_unlock_cqs()
738 spin_unlock(&qp->rcq->cq_lock); in bnxt_re_unlock_cqs()
740 __release(&qp->rcq->cq_lock); in bnxt_re_unlock_cqs()
741 spin_unlock_irqrestore(&qp->scq->cq_lock, flags); in bnxt_re_unlock_cqs()
2895 spin_lock_init(&cq->cq_lock); in bnxt_re_create_cq()
3432 spin_lock_irqsave(&cq->cq_lock, flags); in bnxt_re_poll_cq()
[all …]
Dib_verbs.h99 spinlock_t cq_lock; /* protect cq */ member
/kernel/linux/linux-5.10/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.h370 spinlock_t cq_lock; member
Dbnx2fc_hwi.c1079 spin_lock_bh(&tgt->cq_lock); in bnx2fc_process_new_cqes()
1083 spin_unlock_bh(&tgt->cq_lock); in bnx2fc_process_new_cqes()
1119 spin_unlock_bh(&tgt->cq_lock); in bnx2fc_process_new_cqes()
/kernel/linux/linux-5.10/drivers/infiniband/hw/qedr/
Dqedr_roce_cm.c681 spin_lock_irqsave(&cq->cq_lock, flags); in qedr_gsi_poll_cq()
723 spin_unlock_irqrestore(&cq->cq_lock, flags); in qedr_gsi_poll_cq()
Dqedr.h289 spinlock_t cq_lock; member
Dverbs.c883 spin_lock_irqsave(&cq->cq_lock, sflags); in qedr_arm_cq()
895 spin_unlock_irqrestore(&cq->cq_lock, sflags); in qedr_arm_cq()
994 spin_lock_init(&cq->cq_lock); in qedr_create_cq()
4435 spin_lock_irqsave(&cq->cq_lock, flags); in qedr_poll_cq()
4489 spin_unlock_irqrestore(&cq->cq_lock, flags); in qedr_poll_cq()