/linux-6.1.9/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma_qp.c | 65 static void pvrdma_lock_cqs(struct pvrdma_cq *scq, struct pvrdma_cq *rcq, in pvrdma_lock_cqs() argument 68 __acquires(scq->cq_lock) __acquires(rcq->cq_lock) in pvrdma_lock_cqs() 70 if (scq == rcq) { in pvrdma_lock_cqs() 72 __acquire(rcq->cq_lock); in pvrdma_lock_cqs() 73 } else if (scq->cq_handle < rcq->cq_handle) { 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() 84 static void pvrdma_unlock_cqs(struct pvrdma_cq *scq, struct pvrdma_cq *rcq, in pvrdma_unlock_cqs() argument 87 __releases(scq->cq_lock) __releases(rcq->cq_lock) in pvrdma_unlock_cqs() 89 if (scq == rcq) { in pvrdma_unlock_cqs() [all …]
|
/linux-6.1.9/drivers/infiniband/sw/rxe/ |
D | rxe_qp.c | 313 struct rxe_cq *rcq = to_rcq(init->recv_cq); in rxe_qp_from_init() local 318 rxe_get(rcq); in rxe_qp_from_init() 324 qp->rcq = rcq; in rxe_qp_from_init() 328 atomic_inc(&rcq->num_wq); in rxe_qp_from_init() 350 atomic_dec(&rcq->num_wq); in rxe_qp_from_init() 354 qp->rcq = NULL; in rxe_qp_from_init() 361 rxe_put(rcq); in rxe_qp_from_init() 821 if (qp->rcq) { in rxe_qp_do_cleanup() 822 atomic_dec(&qp->rcq->num_wq); in rxe_qp_do_cleanup() 823 rxe_put(qp->rcq); in rxe_qp_do_cleanup()
|
D | rxe_verbs.h | 221 struct rxe_cq *rcq; member
|
D | rxe_resp.c | 939 if (qp->rcq->is_user) { in do_complete() 961 if (qp->rcq->is_user) { in do_complete() 1015 if (rxe_cq_post(qp->rcq, &cqe, pkt ? bth_se(pkt) : 1)) in do_complete()
|
/linux-6.1.9/arch/s390/include/asm/ |
D | fcx.h | 106 u8 rcq[16]; member 207 u32 rcq:8; member
|
/linux-6.1.9/drivers/infiniband/hw/bnxt_re/ |
D | qplib_fp.c | 70 struct bnxt_qplib_cq *scq, *rcq; in __bnxt_qplib_add_flush_qp() local 73 rcq = qp->rcq; in __bnxt_qplib_add_flush_qp() 84 dev_dbg(&rcq->hwq.pdev->dev, in __bnxt_qplib_add_flush_qp() 86 list_add_tail(&qp->rq_flush, &rcq->rqf_head); in __bnxt_qplib_add_flush_qp() 94 __acquires(&qp->scq->flush_lock) __acquires(&qp->rcq->flush_lock) in bnxt_qplib_acquire_cq_flush_locks() 97 if (qp->scq == qp->rcq) in bnxt_qplib_acquire_cq_flush_locks() 98 __acquire(&qp->rcq->flush_lock); in bnxt_qplib_acquire_cq_flush_locks() 100 spin_lock(&qp->rcq->flush_lock); in bnxt_qplib_acquire_cq_flush_locks() 105 __releases(&qp->scq->flush_lock) __releases(&qp->rcq->flush_lock) in bnxt_qplib_release_cq_flush_locks() 107 if (qp->scq == qp->rcq) in bnxt_qplib_release_cq_flush_locks() [all …]
|
D | ib_verbs.c | 727 __acquires(&qp->scq->cq_lock) __acquires(&qp->rcq->cq_lock) in bnxt_re_lock_cqs() 732 if (qp->rcq != qp->scq) in bnxt_re_lock_cqs() 733 spin_lock(&qp->rcq->cq_lock); in bnxt_re_lock_cqs() 735 __acquire(&qp->rcq->cq_lock); in bnxt_re_lock_cqs() 742 __releases(&qp->scq->cq_lock) __releases(&qp->rcq->cq_lock) in bnxt_re_unlock_cqs() 744 if (qp->rcq != qp->scq) in bnxt_re_unlock_cqs() 745 spin_unlock(&qp->rcq->cq_lock); in bnxt_re_unlock_cqs() 747 __release(&qp->rcq->cq_lock); in bnxt_re_unlock_cqs() 1057 qp->qplib_qp.rcq = qp1_qp->rcq; in bnxt_re_create_shadow_qp() 1290 qplqp->rcq = &cq->qplib_cq; in bnxt_re_init_qp_attr() [all …]
|
D | ib_verbs.h | 93 struct bnxt_re_cq *rcq; member
|
D | qplib_fp.h | 312 struct bnxt_qplib_cq *rcq; member
|
/linux-6.1.9/drivers/infiniband/core/ |
D | uverbs_cmd.c | 1286 struct ib_cq *scq = NULL, *rcq = NULL; in create_qp() local 1371 rcq = uobj_get_obj_read( in create_qp() 1374 if (!rcq) { in create_qp() 1386 rcq = rcq ?: scq; in create_qp() 1399 attr.recv_cq = rcq; in create_qp() 1462 if (rcq && rcq != scq) in create_qp() 1463 rdma_lookup_put_uobject(&rcq->uobject->uevent.uobject, in create_qp() 1490 if (rcq && rcq != scq) in create_qp() 1491 rdma_lookup_put_uobject(&rcq->uobject->uevent.uobject, in create_qp()
|
/linux-6.1.9/drivers/infiniband/hw/cxgb4/ |
D | ev.c | 141 cqid = qhp->attr.rcq; in c4iw_ev_dispatch()
|
D | qp.c | 200 struct t4_cq *rcq, struct t4_cq *scq, in create_qp() argument 368 FW_RI_RES_WR_IQID_V(rcq->cqid)); in create_qp() 1813 wqe->u.init.rcqid = cpu_to_be32(qhp->attr.rcq); in rdma_init() 2189 qhp->attr.rcq = ((struct c4iw_cq *) attrs->recv_cq)->cq.cqid; in c4iw_create_qp()
|
D | iw_cxgb4.h | 451 u32 rcq; member
|
/linux-6.1.9/drivers/infiniband/hw/erdma/ |
D | erdma_verbs.h | 204 struct erdma_cq *rcq; member
|
D | erdma_verbs.c | 50 FIELD_PREP(ERDMA_CMD_CREATE_QP_CQN_MASK, qp->rcq->cqn); in create_qp_cmd() 77 FIELD_PREP(ERDMA_CMD_CREATE_QP_CQN_MASK, qp->rcq->cqn); in create_qp_cmd() 687 qp->rcq = to_ecq(attrs->recv_cq); in erdma_create_qp()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/ |
D | resource_tracker.c | 111 struct res_cq *rcq; member 2965 struct res_cq *rcq; in mlx4_RST2INIT_QP_wrapper() local 2999 err = get_res(dev, slave, rcqn, RES_CQ, &rcq); in mlx4_RST2INIT_QP_wrapper() 3008 scq = rcq; in mlx4_RST2INIT_QP_wrapper() 3023 atomic_inc(&rcq->ref_count); in mlx4_RST2INIT_QP_wrapper() 3024 qp->rcq = rcq; in mlx4_RST2INIT_QP_wrapper() 4003 atomic_dec(&qp->rcq->ref_count); in mlx4_2RST_QP_wrapper() 4716 atomic_dec(&qp->rcq->ref_count); in rem_slave_qps()
|
/linux-6.1.9/drivers/infiniband/sw/siw/ |
D | siw.h | 431 struct siw_cq *rcq; member
|
D | siw_verbs.c | 400 qp->rcq = to_siw_cq(attrs->recv_cq); in siw_create_qp() 626 qp->scq = qp->rcq = NULL; in siw_destroy_qp()
|
D | siw_qp.c | 1121 struct siw_cq *cq = qp->rcq; in siw_rqe_complete()
|
/linux-6.1.9/drivers/s390/block/ |
D | dasd_eckd.c | 5666 u8 *sense, *rcq; in dasd_eckd_dump_sense_tcw() local 5737 rcq = tsb->tsa.ddpc.rcq; in dasd_eckd_dump_sense_tcw() 5740 rcq[8 * sl + sct]); in dasd_eckd_dump_sense_tcw()
|
/linux-6.1.9/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_main.c | 10497 #define BNX2X_PREV_UNDI_PROD(rcq, bd) ((bd) << 16 | (rcq)) argument 10522 u16 rcq, bd; in bnx2x_prev_unload_undi_inc() local 10531 rcq = BNX2X_PREV_UNDI_RCQ(tmp_reg) + inc; in bnx2x_prev_unload_undi_inc() 10534 tmp_reg = BNX2X_PREV_UNDI_PROD(rcq, bd); in bnx2x_prev_unload_undi_inc() 10538 BP_PORT(bp), BP_FUNC(bp), addr, bd, rcq); in bnx2x_prev_unload_undi_inc()
|