/linux-6.12.1/drivers/net/ethernet/intel/idpf/ |
D | idpf_controlq.c | 99 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 …]
|
D | idpf_controlq_api.h | 102 struct mutex cq_lock; /* control queue lock */ member
|
/linux-6.12.1/drivers/infiniband/sw/rxe/ |
D | rxe_cq.c | 67 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()
|
D | rxe_verbs.c | 1152 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()
|
D | rxe_verbs.h | 64 spinlock_t cq_lock; member
|
/linux-6.12.1/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma_qp.c | 68 __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 …]
|
D | pvrdma_cq.c | 75 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()
|
D | pvrdma.h | 89 spinlock_t cq_lock; /* Poll lock. */ member
|
/linux-6.12.1/drivers/ufs/core/ |
D | ufs-mcq.c | 321 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/ |
D | ocrdma_verbs.c | 988 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 …]
|
D | ocrdma.h | 325 spinlock_t cq_lock ____cacheline_aligned; /* provide synchronization
|
/linux-6.12.1/net/xdp/ |
D | xsk.c | 535 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()
|
D | xsk_buff_pool.c | 94 spin_lock_init(&pool->cq_lock); in xp_create_and_assign_umem()
|
/linux-6.12.1/drivers/infiniband/hw/bnxt_re/ |
D | ib_verbs.c | 832 __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 …]
|
D | ib_verbs.h | 103 spinlock_t cq_lock; /* protect cq */ member
|
/linux-6.12.1/include/net/ |
D | xsk_buff_pool.h | 91 spinlock_t cq_lock; member
|
/linux-6.12.1/drivers/infiniband/hw/qedr/ |
D | qedr_roce_cm.c | 679 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()
|
D | qedr.h | 289 spinlock_t cq_lock; member
|
D | verbs.c | 885 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/ |
D | bnx2fc.h | 362 spinlock_t cq_lock; member
|
D | bnx2fc_hwi.c | 1078 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()
|
D | bnx2fc_tgt.c | 413 spin_lock_init(&tgt->cq_lock); in bnx2fc_init_tgt()
|
/linux-6.12.1/include/ufs/ |
D | ufshcd.h | 1169 spinlock_t cq_lock; member
|
/linux-6.12.1/drivers/infiniband/hw/mlx5/ |
D | main.c | 2914 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()
|
D | mlx5_ib.h | 843 struct mutex cq_lock; member
|