Home
last modified time | relevance | path

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

12

/linux-6.12.1/drivers/net/ethernet/intel/idpf/
Didpf_controlq.c99 mutex_lock(&cq->cq_lock); in idpf_ctlq_shutdown()
107 mutex_unlock(&cq->cq_lock); in idpf_ctlq_shutdown()
108 mutex_destroy(&cq->cq_lock); in idpf_ctlq_shutdown()
176 mutex_init(&cq->cq_lock); in idpf_ctlq_add()
275 mutex_lock(&cq->cq_lock); in idpf_ctlq_send()
335 mutex_unlock(&cq->cq_lock); in idpf_ctlq_send()
367 mutex_lock(&cq->cq_lock); in idpf_ctlq_clean_sq()
397 mutex_unlock(&cq->cq_lock); in idpf_ctlq_clean_sq()
435 mutex_lock(&cq->cq_lock); in idpf_ctlq_post_rx_buffs()
524 mutex_unlock(&cq->cq_lock); in idpf_ctlq_post_rx_buffs()
[all …]
Didpf_controlq_api.h102 struct mutex cq_lock; /* control queue lock */ member
/linux-6.12.1/drivers/infiniband/sw/rxe/
Drxe_cq.c67 spin_lock_init(&cq->cq_lock); in rxe_cq_from_init()
80 uresp ? &uresp->mi : NULL, NULL, &cq->cq_lock); in rxe_cq_resize_queue()
95 spin_lock_irqsave(&cq->cq_lock, flags); in rxe_cq_post()
100 spin_unlock_irqrestore(&cq->cq_lock, flags); in rxe_cq_post()
122 spin_unlock_irqrestore(&cq->cq_lock, flags); in rxe_cq_post()
Drxe_verbs.c1152 spin_lock_irqsave(&cq->cq_lock, flags); in rxe_poll_cq()
1161 spin_unlock_irqrestore(&cq->cq_lock, flags); in rxe_poll_cq()
1183 spin_lock_irqsave(&cq->cq_lock, irq_flags); in rxe_req_notify_cq()
1190 spin_unlock_irqrestore(&cq->cq_lock, irq_flags); in rxe_req_notify_cq()
Drxe_verbs.h64 spinlock_t cq_lock; member
/linux-6.12.1/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()
181 spin_lock_init(&cq->cq_lock); in pvrdma_create_cq()
397 spin_lock_irqsave(&cq->cq_lock, flags); in pvrdma_poll_cq()
403 spin_unlock_irqrestore(&cq->cq_lock, flags); in pvrdma_poll_cq()
Dpvrdma.h89 spinlock_t cq_lock; /* Poll lock. */ member
/linux-6.12.1/drivers/ufs/core/
Dufs-mcq.c321 spin_lock_irqsave(&hwq->cq_lock, flags); in ufshcd_mcq_compl_all_cqes_lock()
330 spin_unlock_irqrestore(&hwq->cq_lock, flags); in ufshcd_mcq_compl_all_cqes_lock()
339 spin_lock_irqsave(&hwq->cq_lock, flags); in ufshcd_mcq_poll_cqe_lock()
349 spin_unlock_irqrestore(&hwq->cq_lock, flags); in ufshcd_mcq_poll_cqe_lock()
479 spin_lock_init(&hwq->cq_lock); in ufshcd_mcq_init()
714 spin_lock_irqsave(&hwq->cq_lock, flags); in ufshcd_mcq_abort()
717 spin_unlock_irqrestore(&hwq->cq_lock, flags); in ufshcd_mcq_abort()
/linux-6.12.1/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.c988 spin_lock_init(&cq->cq_lock); in ocrdma_create_cq()
1043 spin_lock_irqsave(&cq->cq_lock, flags); in ocrdma_flush_cq()
1051 spin_unlock_irqrestore(&cq->cq_lock, flags); in ocrdma_flush_cq()
1597 spin_lock_irqsave(&cq->cq_lock, cq_flags); in ocrdma_discard_cqes()
1648 spin_unlock_irqrestore(&cq->cq_lock, cq_flags); in ocrdma_discard_cqes()
1701 spin_lock_irqsave(&qp->sq_cq->cq_lock, flags); in ocrdma_destroy_qp()
1703 spin_lock(&qp->rq_cq->cq_lock); in ocrdma_destroy_qp()
1705 spin_unlock(&qp->rq_cq->cq_lock); in ocrdma_destroy_qp()
1709 spin_unlock_irqrestore(&qp->sq_cq->cq_lock, flags); in ocrdma_destroy_qp()
2848 spin_lock_irqsave(&cq->cq_lock, flags); in ocrdma_poll_cq()
[all …]
Docrdma.h325 spinlock_t cq_lock ____cacheline_aligned; /* provide synchronization
/linux-6.12.1/net/xdp/
Dxsk.c535 spin_lock_irqsave(&xs->pool->cq_lock, flags); in xsk_cq_reserve_addr_locked()
537 spin_unlock_irqrestore(&xs->pool->cq_lock, flags); in xsk_cq_reserve_addr_locked()
546 spin_lock_irqsave(&xs->pool->cq_lock, flags); in xsk_cq_submit_locked()
548 spin_unlock_irqrestore(&xs->pool->cq_lock, flags); in xsk_cq_submit_locked()
555 spin_lock_irqsave(&xs->pool->cq_lock, flags); in xsk_cq_cancel_locked()
557 spin_unlock_irqrestore(&xs->pool->cq_lock, flags); in xsk_cq_cancel_locked()
Dxsk_buff_pool.c94 spin_lock_init(&pool->cq_lock); in xp_create_and_assign_umem()
/linux-6.12.1/drivers/infiniband/hw/bnxt_re/
Dib_verbs.c832 __acquires(&qp->scq->cq_lock) __acquires(&qp->rcq->cq_lock) in bnxt_re_lock_cqs()
836 spin_lock_irqsave(&qp->scq->cq_lock, flags); in bnxt_re_lock_cqs()
838 spin_lock(&qp->rcq->cq_lock); in bnxt_re_lock_cqs()
840 __acquire(&qp->rcq->cq_lock); in bnxt_re_lock_cqs()
847 __releases(&qp->scq->cq_lock) __releases(&qp->rcq->cq_lock) in bnxt_re_unlock_cqs()
850 spin_unlock(&qp->rcq->cq_lock); in bnxt_re_unlock_cqs()
852 __release(&qp->rcq->cq_lock); in bnxt_re_unlock_cqs()
853 spin_unlock_irqrestore(&qp->scq->cq_lock, flags); in bnxt_re_unlock_cqs()
3086 spin_lock_init(&cq->cq_lock); in bnxt_re_create_cq()
3739 spin_lock_irqsave(&cq->cq_lock, flags); in bnxt_re_poll_cq()
[all …]
Dib_verbs.h103 spinlock_t cq_lock; /* protect cq */ member
/linux-6.12.1/include/net/
Dxsk_buff_pool.h91 spinlock_t cq_lock; member
/linux-6.12.1/drivers/infiniband/hw/qedr/
Dqedr_roce_cm.c679 spin_lock_irqsave(&cq->cq_lock, flags); in qedr_gsi_poll_cq()
721 spin_unlock_irqrestore(&cq->cq_lock, flags); in qedr_gsi_poll_cq()
Dqedr.h289 spinlock_t cq_lock; member
Dverbs.c885 spin_lock_irqsave(&cq->cq_lock, sflags); in qedr_arm_cq()
897 spin_unlock_irqrestore(&cq->cq_lock, sflags); in qedr_arm_cq()
1000 spin_lock_init(&cq->cq_lock); in qedr_create_cq()
4430 spin_lock_irqsave(&cq->cq_lock, flags); in qedr_poll_cq()
4484 spin_unlock_irqrestore(&cq->cq_lock, flags); in qedr_poll_cq()
/linux-6.12.1/drivers/scsi/bnx2fc/
Dbnx2fc.h362 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()
Dbnx2fc_tgt.c413 spin_lock_init(&tgt->cq_lock); in bnx2fc_init_tgt()
/linux-6.12.1/include/ufs/
Dufshcd.h1169 spinlock_t cq_lock; member
/linux-6.12.1/drivers/infiniband/hw/mlx5/
Dmain.c2914 mutex_lock(&devr->cq_lock); in mlx5_ib_dev_res_cq_init()
2938 mutex_unlock(&devr->cq_lock); in mlx5_ib_dev_res_cq_init()
3020 mutex_init(&devr->cq_lock); in mlx5_ib_dev_res_init()
3052 mutex_destroy(&devr->cq_lock); in mlx5_ib_dev_res_cleanup()
Dmlx5_ib.h843 struct mutex cq_lock; member

12