| /drivers/infiniband/sw/rxe/ |
| A D | rxe_cq.c | 64 spin_lock_init(&cq->cq_lock); in rxe_cq_from_init() 77 uresp ? &uresp->mi : NULL, NULL, &cq->cq_lock); in rxe_cq_resize_queue() 92 spin_lock_irqsave(&cq->cq_lock, flags); in rxe_cq_post() 97 spin_unlock_irqrestore(&cq->cq_lock, flags); in rxe_cq_post() 119 spin_unlock_irqrestore(&cq->cq_lock, flags); in rxe_cq_post()
|
| A D | rxe_verbs.c | 1172 spin_lock_irqsave(&cq->cq_lock, flags); in rxe_poll_cq() 1181 spin_unlock_irqrestore(&cq->cq_lock, flags); in rxe_poll_cq() 1203 spin_lock_irqsave(&cq->cq_lock, irq_flags); in rxe_req_notify_cq() 1210 spin_unlock_irqrestore(&cq->cq_lock, irq_flags); in rxe_req_notify_cq()
|
| A D | rxe_verbs.h | 64 spinlock_t cq_lock; member
|
| /drivers/net/ethernet/intel/idpf/ |
| A D | idpf_controlq.c | 99 spin_lock(&cq->cq_lock); in idpf_ctlq_shutdown() 107 spin_unlock(&cq->cq_lock); in idpf_ctlq_shutdown() 175 spin_lock_init(&cq->cq_lock); in idpf_ctlq_add() 274 spin_lock(&cq->cq_lock); in idpf_ctlq_send() 334 spin_unlock(&cq->cq_lock); in idpf_ctlq_send() 366 spin_lock(&cq->cq_lock); in idpf_ctlq_clean_sq() 399 spin_unlock(&cq->cq_lock); in idpf_ctlq_clean_sq() 437 spin_lock(&cq->cq_lock); in idpf_ctlq_post_rx_buffs() 526 spin_unlock(&cq->cq_lock); in idpf_ctlq_post_rx_buffs() 554 spin_lock(&cq->cq_lock); in idpf_ctlq_recv() [all …]
|
| A D | idpf_controlq_api.h | 102 spinlock_t cq_lock; /* control queue lock */ member
|
| /drivers/infiniband/hw/vmw_pvrdma/ |
| A 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() 78 spin_lock_irqsave(&rcq->cq_lock, *rcq_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() 93 spin_unlock_irqrestore(&rcq->cq_lock, *rcq_flags); in pvrdma_unlock_cqs() 94 spin_unlock_irqrestore(&scq->cq_lock, *scq_flags); in pvrdma_unlock_cqs() [all …]
|
| A 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()
|
| A D | pvrdma.h | 89 spinlock_t cq_lock; /* Poll lock. */ member
|
| /drivers/infiniband/hw/mana/ |
| A D | qp.c | 609 spin_lock_irqsave(&send_cq->cq_lock, flags); in mana_add_qp_to_cqs() 611 spin_unlock_irqrestore(&send_cq->cq_lock, flags); in mana_add_qp_to_cqs() 613 spin_lock_irqsave(&recv_cq->cq_lock, flags); in mana_add_qp_to_cqs() 615 spin_unlock_irqrestore(&recv_cq->cq_lock, flags); in mana_add_qp_to_cqs() 624 spin_lock_irqsave(&send_cq->cq_lock, flags); in mana_remove_qp_from_cqs() 626 spin_unlock_irqrestore(&send_cq->cq_lock, flags); in mana_remove_qp_from_cqs() 628 spin_lock_irqsave(&recv_cq->cq_lock, flags); in mana_remove_qp_from_cqs() 630 spin_unlock_irqrestore(&recv_cq->cq_lock, flags); in mana_remove_qp_from_cqs()
|
| A D | cq.c | 92 spin_lock_init(&cq->cq_lock); in mana_ib_create_cq() 304 spin_lock_irqsave(&cq->cq_lock, flags); in mana_ib_poll_cq() 313 spin_unlock_irqrestore(&cq->cq_lock, flags); in mana_ib_poll_cq()
|
| A D | mana_ib.h | 136 spinlock_t cq_lock; member
|
| /drivers/ufs/core/ |
| A 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()
|
| A D | ufshcd.c | 5747 spin_lock_irqsave(&hwq->cq_lock, flags); in ufshcd_mcq_compl_pending_transfer() 5753 spin_unlock_irqrestore(&hwq->cq_lock, flags); in ufshcd_mcq_compl_pending_transfer()
|
| /drivers/infiniband/hw/ocrdma/ |
| A D | ocrdma_verbs.c | 992 spin_lock_init(&cq->cq_lock); in ocrdma_create_cq() 1047 spin_lock_irqsave(&cq->cq_lock, flags); in ocrdma_flush_cq() 1055 spin_unlock_irqrestore(&cq->cq_lock, flags); in ocrdma_flush_cq() 1601 spin_lock_irqsave(&cq->cq_lock, cq_flags); in ocrdma_discard_cqes() 1705 spin_lock_irqsave(&qp->sq_cq->cq_lock, flags); in ocrdma_destroy_qp() 1707 spin_lock(&qp->rq_cq->cq_lock); in ocrdma_destroy_qp() 1709 spin_unlock(&qp->rq_cq->cq_lock); in ocrdma_destroy_qp() 2852 spin_lock_irqsave(&cq->cq_lock, flags); in ocrdma_poll_cq() 2854 spin_unlock_irqrestore(&cq->cq_lock, flags); in ocrdma_poll_cq() 2888 spin_lock_irqsave(&cq->cq_lock, flags); in ocrdma_arm_cq() [all …]
|
| A D | ocrdma.h | 325 spinlock_t cq_lock ____cacheline_aligned; /* provide synchronization
|
| /drivers/infiniband/hw/bnxt_re/ |
| A D | ib_verbs.c | 890 __acquires(&qp->scq->cq_lock) __acquires(&qp->rcq->cq_lock) in bnxt_re_lock_cqs() 894 spin_lock_irqsave(&qp->scq->cq_lock, flags); in bnxt_re_lock_cqs() 896 spin_lock(&qp->rcq->cq_lock); in bnxt_re_lock_cqs() 898 __acquire(&qp->rcq->cq_lock); in bnxt_re_lock_cqs() 905 __releases(&qp->scq->cq_lock) __releases(&qp->rcq->cq_lock) in bnxt_re_unlock_cqs() 908 spin_unlock(&qp->rcq->cq_lock); in bnxt_re_unlock_cqs() 910 __release(&qp->rcq->cq_lock); in bnxt_re_unlock_cqs() 3154 spin_lock_init(&cq->cq_lock); in bnxt_re_create_cq() 3807 spin_lock_irqsave(&cq->cq_lock, flags); in bnxt_re_poll_cq() 3923 spin_unlock_irqrestore(&cq->cq_lock, flags); in bnxt_re_poll_cq() [all …]
|
| A D | ib_verbs.h | 104 spinlock_t cq_lock; /* protect cq */ member
|
| /drivers/infiniband/hw/qedr/ |
| A 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()
|
| A D | qedr.h | 289 spinlock_t cq_lock; member
|
| A 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() 4434 spin_lock_irqsave(&cq->cq_lock, flags); in qedr_poll_cq() 4488 spin_unlock_irqrestore(&cq->cq_lock, flags); in qedr_poll_cq()
|
| /drivers/scsi/bnx2fc/ |
| A D | bnx2fc.h | 362 spinlock_t cq_lock; member
|
| A 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()
|
| A D | bnx2fc_tgt.c | 413 spin_lock_init(&tgt->cq_lock); in bnx2fc_init_tgt()
|
| /drivers/infiniband/hw/mlx5/ |
| A D | main.c | 2989 mutex_lock(&devr->cq_lock); in mlx5_ib_dev_res_cq_init() 3013 mutex_unlock(&devr->cq_lock); in mlx5_ib_dev_res_cq_init() 3090 mutex_init(&devr->cq_lock); in mlx5_ib_dev_res_init() 3112 mutex_destroy(&devr->cq_lock); in mlx5_ib_dev_res_cleanup()
|
| A D | mlx5_ib.h | 861 struct mutex cq_lock; member
|