recv_cq 346 drivers/infiniband/core/core_priv.h qp->recv_cq = attr->recv_cq; recv_cq 3155 drivers/infiniband/core/mad.c qp_init_attr.recv_cq = qp_info->port_priv->cq; recv_cq 1378 drivers/infiniband/core/uverbs_cmd.c attr.recv_cq = rcq; recv_cq 1437 drivers/infiniband/core/uverbs_cmd.c if (attr.recv_cq) recv_cq 1438 drivers/infiniband/core/uverbs_cmd.c atomic_inc(&attr.recv_cq->usecnt); recv_cq 1133 drivers/infiniband/core/verbs.c qp->send_cq = qp->recv_cq = NULL; recv_cq 1157 drivers/infiniband/core/verbs.c (qp_init_attr->recv_cq || recv_cq 1197 drivers/infiniband/core/verbs.c qp->recv_cq = NULL; recv_cq 1200 drivers/infiniband/core/verbs.c qp->recv_cq = qp_init_attr->recv_cq; recv_cq 1201 drivers/infiniband/core/verbs.c if (qp_init_attr->recv_cq) recv_cq 1202 drivers/infiniband/core/verbs.c atomic_inc(&qp_init_attr->recv_cq->usecnt); recv_cq 1877 drivers/infiniband/core/verbs.c rcq = qp->recv_cq; recv_cq 2671 drivers/infiniband/core/verbs.c struct ib_cq *cq = qp->recv_cq; recv_cq 1060 drivers/infiniband/hw/bnxt_re/ib_verbs.c if (qp_init_attr->recv_cq) { recv_cq 1061 drivers/infiniband/hw/bnxt_re/ib_verbs.c cq = container_of(qp_init_attr->recv_cq, struct bnxt_re_cq, recv_cq 714 drivers/infiniband/hw/cxgb3/iwch_provider.c rchp = get_chp(rhp, ((struct iwch_cq *) attrs->recv_cq)->cq.cqid); recv_cq 771 drivers/infiniband/hw/cxgb3/iwch_provider.c qhp->attr.rcq = ((struct iwch_cq *) attrs->recv_cq)->cq.cqid; recv_cq 1168 drivers/infiniband/hw/cxgb4/cq.c struct c4iw_cq *rchp = to_c4iw_cq(qhp->ibqp.recv_cq); recv_cq 1042 drivers/infiniband/hw/cxgb4/qp.c rchp = to_c4iw_cq(qhp->ibqp.recv_cq); recv_cq 1664 drivers/infiniband/hw/cxgb4/qp.c rchp = to_c4iw_cq(qhp->ibqp.recv_cq); recv_cq 2135 drivers/infiniband/hw/cxgb4/qp.c rchp = get_chp(rhp, ((struct c4iw_cq *)attrs->recv_cq)->cq.cqid); recv_cq 2198 drivers/infiniband/hw/cxgb4/qp.c qhp->attr.rcq = ((struct c4iw_cq *) attrs->recv_cq)->cq.cqid; recv_cq 391 drivers/infiniband/hw/efa/efa_verbs.c qp_init_attr->recv_cq = ibqp->recv_cq; recv_cq 708 drivers/infiniband/hw/efa/efa_verbs.c create_qp_params.recv_cq_idx = to_ecq(init_attr->recv_cq)->cq_idx; recv_cq 1249 drivers/infiniband/hw/hns/hns_roce_device.h struct hns_roce_cq *recv_cq); recv_cq 1251 drivers/infiniband/hw/hns/hns_roce_device.h struct hns_roce_cq *recv_cq); recv_cq 367 drivers/infiniband/hw/hns/hns_roce_hw_v1.c hr_qp->ibqp.recv_cq)) { recv_cq 811 drivers/infiniband/hw/hns/hns_roce_hw_v1.c hr_qp->ibqp.recv_cq = cq; recv_cq 2647 drivers/infiniband/hw/hns/hns_roce_hw_v1.c to_hr_cq(ibqp->recv_cq)->cqn); recv_cq 2692 drivers/infiniband/hw/hns/hns_roce_hw_v1.c hns_roce_v1_cq_clean(to_hr_cq(ibqp->recv_cq), hr_qp->qpn, recv_cq 2694 drivers/infiniband/hw/hns/hns_roce_hw_v1.c if (ibqp->send_cq != ibqp->recv_cq) recv_cq 2800 drivers/infiniband/hw/hns/hns_roce_hw_v1.c to_hr_cq(ibqp->recv_cq)->cqn); recv_cq 2866 drivers/infiniband/hw/hns/hns_roce_hw_v1.c to_hr_cq(ibqp->recv_cq)->cqn); recv_cq 3305 drivers/infiniband/hw/hns/hns_roce_hw_v1.c hns_roce_v1_cq_clean(to_hr_cq(ibqp->recv_cq), hr_qp->qpn, recv_cq 3307 drivers/infiniband/hw/hns/hns_roce_hw_v1.c if (ibqp->send_cq != ibqp->recv_cq) recv_cq 3606 drivers/infiniband/hw/hns/hns_roce_hw_v1.c struct hns_roce_cq *send_cq, *recv_cq; recv_cq 3614 drivers/infiniband/hw/hns/hns_roce_hw_v1.c recv_cq = to_hr_cq(hr_qp->ibqp.recv_cq); recv_cq 3616 drivers/infiniband/hw/hns/hns_roce_hw_v1.c hns_roce_lock_cqs(send_cq, recv_cq); recv_cq 3618 drivers/infiniband/hw/hns/hns_roce_hw_v1.c __hns_roce_v1_cq_clean(recv_cq, hr_qp->qpn, hr_qp->ibqp.srq ? recv_cq 3620 drivers/infiniband/hw/hns/hns_roce_hw_v1.c if (send_cq != recv_cq) recv_cq 3623 drivers/infiniband/hw/hns/hns_roce_hw_v1.c hns_roce_unlock_cqs(send_cq, recv_cq); recv_cq 645 drivers/infiniband/hw/hns/hns_roce_hw_v2.c hr_qp->ibqp.recv_cq)) { recv_cq 3344 drivers/infiniband/hw/hns/hns_roce_hw_v2.c V2_QPC_BYTE_80_RX_CQN_S, to_hr_cq(ibqp->recv_cq)->cqn); recv_cq 3607 drivers/infiniband/hw/hns/hns_roce_hw_v2.c V2_QPC_BYTE_80_RX_CQN_S, to_hr_cq(ibqp->recv_cq)->cqn); recv_cq 4461 drivers/infiniband/hw/hns/hns_roce_hw_v2.c hns_roce_v2_cq_clean(to_hr_cq(ibqp->recv_cq), hr_qp->qpn, recv_cq 4463 drivers/infiniband/hw/hns/hns_roce_hw_v2.c if (ibqp->send_cq != ibqp->recv_cq) recv_cq 4653 drivers/infiniband/hw/hns/hns_roce_hw_v2.c struct hns_roce_cq *send_cq, *recv_cq; recv_cq 4666 drivers/infiniband/hw/hns/hns_roce_hw_v2.c recv_cq = to_hr_cq(hr_qp->ibqp.recv_cq); recv_cq 4668 drivers/infiniband/hw/hns/hns_roce_hw_v2.c hns_roce_lock_cqs(send_cq, recv_cq); recv_cq 4671 drivers/infiniband/hw/hns/hns_roce_hw_v2.c __hns_roce_v2_cq_clean(recv_cq, hr_qp->qpn, hr_qp->ibqp.srq ? recv_cq 4673 drivers/infiniband/hw/hns/hns_roce_hw_v2.c if (send_cq != recv_cq) recv_cq 4679 drivers/infiniband/hw/hns/hns_roce_hw_v2.c hns_roce_unlock_cqs(send_cq, recv_cq); recv_cq 1234 drivers/infiniband/hw/hns/hns_roce_qp.c void hns_roce_lock_cqs(struct hns_roce_cq *send_cq, struct hns_roce_cq *recv_cq) recv_cq 1235 drivers/infiniband/hw/hns/hns_roce_qp.c __acquires(&send_cq->lock) __acquires(&recv_cq->lock) recv_cq 1237 drivers/infiniband/hw/hns/hns_roce_qp.c if (send_cq == recv_cq) { recv_cq 1239 drivers/infiniband/hw/hns/hns_roce_qp.c __acquire(&recv_cq->lock); recv_cq 1240 drivers/infiniband/hw/hns/hns_roce_qp.c } else if (send_cq->cqn < recv_cq->cqn) { recv_cq 1242 drivers/infiniband/hw/hns/hns_roce_qp.c spin_lock_nested(&recv_cq->lock, SINGLE_DEPTH_NESTING); recv_cq 1244 drivers/infiniband/hw/hns/hns_roce_qp.c spin_lock_irq(&recv_cq->lock); recv_cq 1250 drivers/infiniband/hw/hns/hns_roce_qp.c struct hns_roce_cq *recv_cq) __releases(&send_cq->lock) recv_cq 1251 drivers/infiniband/hw/hns/hns_roce_qp.c __releases(&recv_cq->lock) recv_cq 1253 drivers/infiniband/hw/hns/hns_roce_qp.c if (send_cq == recv_cq) { recv_cq 1254 drivers/infiniband/hw/hns/hns_roce_qp.c __release(&recv_cq->lock); recv_cq 1256 drivers/infiniband/hw/hns/hns_roce_qp.c } else if (send_cq->cqn < recv_cq->cqn) { recv_cq 1257 drivers/infiniband/hw/hns/hns_roce_qp.c spin_unlock(&recv_cq->lock); recv_cq 1261 drivers/infiniband/hw/hns/hns_roce_qp.c spin_unlock_irq(&recv_cq->lock); recv_cq 611 drivers/infiniband/hw/i40iw/i40iw_verbs.c iwqp->iwrcq = to_iwcq(init_attr->recv_cq); recv_cq 776 drivers/infiniband/hw/i40iw/i40iw_verbs.c init_attr->recv_cq = iwqp->ibqp.recv_cq; recv_cq 1812 drivers/infiniband/hw/mlx4/mad.c qp_init_attr.init_attr.recv_cq = ctx->cq; recv_cq 3140 drivers/infiniband/hw/mlx4/main.c recv_mcq = to_mcq(mqp->ibqp.recv_cq); recv_cq 3143 drivers/infiniband/hw/mlx4/main.c mqp->ibqp.recv_cq->comp_handler) { recv_cq 53 drivers/infiniband/hw/mlx4/qp.c struct mlx4_ib_cq *recv_cq); recv_cq 55 drivers/infiniband/hw/mlx4/qp.c struct mlx4_ib_cq *recv_cq); recv_cq 960 drivers/infiniband/hw/mlx4/qp.c to_mcq(init_attr->recv_cq)); recv_cq 970 drivers/infiniband/hw/mlx4/qp.c mcq = to_mcq(init_attr->recv_cq); recv_cq 973 drivers/infiniband/hw/mlx4/qp.c to_mcq(init_attr->recv_cq)); recv_cq 1247 drivers/infiniband/hw/mlx4/qp.c to_mcq(init_attr->recv_cq)); recv_cq 1257 drivers/infiniband/hw/mlx4/qp.c mcq = to_mcq(init_attr->recv_cq); recv_cq 1260 drivers/infiniband/hw/mlx4/qp.c to_mcq(init_attr->recv_cq)); recv_cq 1317 drivers/infiniband/hw/mlx4/qp.c static void mlx4_ib_lock_cqs(struct mlx4_ib_cq *send_cq, struct mlx4_ib_cq *recv_cq) recv_cq 1318 drivers/infiniband/hw/mlx4/qp.c __acquires(&send_cq->lock) __acquires(&recv_cq->lock) recv_cq 1320 drivers/infiniband/hw/mlx4/qp.c if (send_cq == recv_cq) { recv_cq 1322 drivers/infiniband/hw/mlx4/qp.c __acquire(&recv_cq->lock); recv_cq 1323 drivers/infiniband/hw/mlx4/qp.c } else if (send_cq->mcq.cqn < recv_cq->mcq.cqn) { recv_cq 1325 drivers/infiniband/hw/mlx4/qp.c spin_lock_nested(&recv_cq->lock, SINGLE_DEPTH_NESTING); recv_cq 1327 drivers/infiniband/hw/mlx4/qp.c spin_lock(&recv_cq->lock); recv_cq 1332 drivers/infiniband/hw/mlx4/qp.c static void mlx4_ib_unlock_cqs(struct mlx4_ib_cq *send_cq, struct mlx4_ib_cq *recv_cq) recv_cq 1333 drivers/infiniband/hw/mlx4/qp.c __releases(&send_cq->lock) __releases(&recv_cq->lock) recv_cq 1335 drivers/infiniband/hw/mlx4/qp.c if (send_cq == recv_cq) { recv_cq 1336 drivers/infiniband/hw/mlx4/qp.c __release(&recv_cq->lock); recv_cq 1338 drivers/infiniband/hw/mlx4/qp.c } else if (send_cq->mcq.cqn < recv_cq->mcq.cqn) { recv_cq 1339 drivers/infiniband/hw/mlx4/qp.c spin_unlock(&recv_cq->lock); recv_cq 1343 drivers/infiniband/hw/mlx4/qp.c spin_unlock(&recv_cq->lock); recv_cq 1366 drivers/infiniband/hw/mlx4/qp.c struct mlx4_ib_cq **send_cq, struct mlx4_ib_cq **recv_cq) recv_cq 1371 drivers/infiniband/hw/mlx4/qp.c *recv_cq = *send_cq; recv_cq 1375 drivers/infiniband/hw/mlx4/qp.c *recv_cq = *send_cq; recv_cq 1378 drivers/infiniband/hw/mlx4/qp.c *recv_cq = (src == MLX4_IB_QP_SRC) ? to_mcq(qp->ibqp.recv_cq) : recv_cq 1381 drivers/infiniband/hw/mlx4/qp.c *recv_cq; recv_cq 1420 drivers/infiniband/hw/mlx4/qp.c struct mlx4_ib_cq *send_cq, *recv_cq; recv_cq 1451 drivers/infiniband/hw/mlx4/qp.c get_cqs(qp, src, &send_cq, &recv_cq); recv_cq 1454 drivers/infiniband/hw/mlx4/qp.c mlx4_ib_lock_cqs(send_cq, recv_cq); recv_cq 1461 drivers/infiniband/hw/mlx4/qp.c __mlx4_ib_cq_clean(recv_cq, qp->mqp.qpn, recv_cq 1463 drivers/infiniband/hw/mlx4/qp.c if (send_cq != recv_cq) recv_cq 1469 drivers/infiniband/hw/mlx4/qp.c mlx4_ib_unlock_cqs(send_cq, recv_cq); recv_cq 1585 drivers/infiniband/hw/mlx4/qp.c init_attr->recv_cq = init_attr->send_cq; recv_cq 2144 drivers/infiniband/hw/mlx4/qp.c struct mlx4_ib_cq *send_cq, *recv_cq; recv_cq 2379 drivers/infiniband/hw/mlx4/qp.c get_cqs(qp, src_type, &send_cq, &recv_cq); recv_cq 2382 drivers/infiniband/hw/mlx4/qp.c recv_cq = send_cq; recv_cq 2385 drivers/infiniband/hw/mlx4/qp.c context->cqn_recv = cpu_to_be32(recv_cq->mcq.cqn); recv_cq 2601 drivers/infiniband/hw/mlx4/qp.c mlx4_ib_cq_clean(recv_cq, qp->mqp.qpn, recv_cq 2603 drivers/infiniband/hw/mlx4/qp.c if (send_cq != recv_cq) recv_cq 3882 drivers/infiniband/hw/mlx4/qp.c if (mlx4_wq_overflow(&qp->rq, nreq, qp->ibqp.recv_cq)) { recv_cq 4182 drivers/infiniband/hw/mlx4/qp.c ib_qp_init_attr.recv_cq = init_attr->cq; recv_cq 4183 drivers/infiniband/hw/mlx4/qp.c ib_qp_init_attr.send_cq = ib_qp_init_attr.recv_cq; /* Dummy CQ */ recv_cq 4514 drivers/infiniband/hw/mlx4/qp.c struct ib_cq *cq = qp->recv_cq; recv_cq 258 drivers/infiniband/hw/mlx5/gsi.c .recv_cq = gsi->rx_qp->recv_cq, recv_cq 4501 drivers/infiniband/hw/mlx5/main.c recv_mcq = to_mcq(mqp->ibqp.recv_cq); recv_cq 4504 drivers/infiniband/hw/mlx5/main.c mqp->ibqp.recv_cq->comp_handler) { recv_cq 4835 drivers/infiniband/hw/mlx5/main.c init_attr->recv_cq = cq; recv_cq 4852 drivers/infiniband/hw/mlx5/main.c qp->recv_cq = init_attr->recv_cq; recv_cq 101 drivers/infiniband/hw/mlx5/qp.c struct mlx5_ib_cq **send_cq, struct mlx5_ib_cq **recv_cq); recv_cq 712 drivers/infiniband/hw/mlx5/qp.c struct mlx5_ib_cq *recv_cq); recv_cq 714 drivers/infiniband/hw/mlx5/qp.c struct mlx5_ib_cq *recv_cq); recv_cq 1850 drivers/infiniband/hw/mlx5/qp.c rcqe_sz = mlx5_ib_get_cqe_size(init_attr->recv_cq); recv_cq 1956 drivers/infiniband/hw/mlx5/qp.c struct mlx5_ib_cq *recv_cq; recv_cq 2246 drivers/infiniband/hw/mlx5/qp.c if (init_attr->recv_cq) recv_cq 2247 drivers/infiniband/hw/mlx5/qp.c MLX5_SET(qpc, qpc, cqn_rcv, to_mcq(init_attr->recv_cq)->mcq.cqn); recv_cq 2300 drivers/infiniband/hw/mlx5/qp.c get_cqs(init_attr->qp_type, init_attr->send_cq, init_attr->recv_cq, recv_cq 2301 drivers/infiniband/hw/mlx5/qp.c &send_cq, &recv_cq); recv_cq 2303 drivers/infiniband/hw/mlx5/qp.c mlx5_ib_lock_cqs(send_cq, recv_cq); recv_cq 2312 drivers/infiniband/hw/mlx5/qp.c if (recv_cq) recv_cq 2313 drivers/infiniband/hw/mlx5/qp.c list_add_tail(&qp->cq_recv_list, &recv_cq->list_recv_qp); recv_cq 2314 drivers/infiniband/hw/mlx5/qp.c mlx5_ib_unlock_cqs(send_cq, recv_cq); recv_cq 2330 drivers/infiniband/hw/mlx5/qp.c static void mlx5_ib_lock_cqs(struct mlx5_ib_cq *send_cq, struct mlx5_ib_cq *recv_cq) recv_cq 2331 drivers/infiniband/hw/mlx5/qp.c __acquires(&send_cq->lock) __acquires(&recv_cq->lock) recv_cq 2334 drivers/infiniband/hw/mlx5/qp.c if (recv_cq) { recv_cq 2335 drivers/infiniband/hw/mlx5/qp.c if (send_cq->mcq.cqn < recv_cq->mcq.cqn) { recv_cq 2337 drivers/infiniband/hw/mlx5/qp.c spin_lock_nested(&recv_cq->lock, recv_cq 2339 drivers/infiniband/hw/mlx5/qp.c } else if (send_cq->mcq.cqn == recv_cq->mcq.cqn) { recv_cq 2341 drivers/infiniband/hw/mlx5/qp.c __acquire(&recv_cq->lock); recv_cq 2343 drivers/infiniband/hw/mlx5/qp.c spin_lock(&recv_cq->lock); recv_cq 2349 drivers/infiniband/hw/mlx5/qp.c __acquire(&recv_cq->lock); recv_cq 2351 drivers/infiniband/hw/mlx5/qp.c } else if (recv_cq) { recv_cq 2352 drivers/infiniband/hw/mlx5/qp.c spin_lock(&recv_cq->lock); recv_cq 2356 drivers/infiniband/hw/mlx5/qp.c __acquire(&recv_cq->lock); recv_cq 2360 drivers/infiniband/hw/mlx5/qp.c static void mlx5_ib_unlock_cqs(struct mlx5_ib_cq *send_cq, struct mlx5_ib_cq *recv_cq) recv_cq 2361 drivers/infiniband/hw/mlx5/qp.c __releases(&send_cq->lock) __releases(&recv_cq->lock) recv_cq 2364 drivers/infiniband/hw/mlx5/qp.c if (recv_cq) { recv_cq 2365 drivers/infiniband/hw/mlx5/qp.c if (send_cq->mcq.cqn < recv_cq->mcq.cqn) { recv_cq 2366 drivers/infiniband/hw/mlx5/qp.c spin_unlock(&recv_cq->lock); recv_cq 2368 drivers/infiniband/hw/mlx5/qp.c } else if (send_cq->mcq.cqn == recv_cq->mcq.cqn) { recv_cq 2369 drivers/infiniband/hw/mlx5/qp.c __release(&recv_cq->lock); recv_cq 2373 drivers/infiniband/hw/mlx5/qp.c spin_unlock(&recv_cq->lock); recv_cq 2376 drivers/infiniband/hw/mlx5/qp.c __release(&recv_cq->lock); recv_cq 2379 drivers/infiniband/hw/mlx5/qp.c } else if (recv_cq) { recv_cq 2381 drivers/infiniband/hw/mlx5/qp.c spin_unlock(&recv_cq->lock); recv_cq 2383 drivers/infiniband/hw/mlx5/qp.c __release(&recv_cq->lock); recv_cq 2395 drivers/infiniband/hw/mlx5/qp.c struct mlx5_ib_cq **send_cq, struct mlx5_ib_cq **recv_cq) recv_cq 2400 drivers/infiniband/hw/mlx5/qp.c *recv_cq = NULL; recv_cq 2405 drivers/infiniband/hw/mlx5/qp.c *recv_cq = NULL; recv_cq 2417 drivers/infiniband/hw/mlx5/qp.c *recv_cq = ib_recv_cq ? to_mcq(ib_recv_cq) : NULL; recv_cq 2423 drivers/infiniband/hw/mlx5/qp.c *recv_cq = NULL; recv_cq 2435 drivers/infiniband/hw/mlx5/qp.c struct mlx5_ib_cq *send_cq, *recv_cq; recv_cq 2468 drivers/infiniband/hw/mlx5/qp.c get_cqs(qp->ibqp.qp_type, qp->ibqp.send_cq, qp->ibqp.recv_cq, recv_cq 2469 drivers/infiniband/hw/mlx5/qp.c &send_cq, &recv_cq); recv_cq 2472 drivers/infiniband/hw/mlx5/qp.c mlx5_ib_lock_cqs(send_cq, recv_cq); recv_cq 2478 drivers/infiniband/hw/mlx5/qp.c if (recv_cq) recv_cq 2482 drivers/infiniband/hw/mlx5/qp.c __mlx5_ib_cq_clean(recv_cq, base->mqp.qpn, recv_cq 2484 drivers/infiniband/hw/mlx5/qp.c if (send_cq != recv_cq) recv_cq 2488 drivers/infiniband/hw/mlx5/qp.c mlx5_ib_unlock_cqs(send_cq, recv_cq); recv_cq 2552 drivers/infiniband/hw/mlx5/qp.c if (!attr->srq || !attr->recv_cq) recv_cq 2574 drivers/infiniband/hw/mlx5/qp.c MLX5_SET(dctc, dctc, cqn, to_mcq(attr->recv_cq)->mcq.cqn); recv_cq 2690 drivers/infiniband/hw/mlx5/qp.c init_attr->recv_cq = NULL; recv_cq 2725 drivers/infiniband/hw/mlx5/qp.c init_attr->recv_cq ? to_mcq(init_attr->recv_cq)->mcq.cqn : -1, recv_cq 3455 drivers/infiniband/hw/mlx5/qp.c struct mlx5_ib_cq *send_cq, *recv_cq; recv_cq 3563 drivers/infiniband/hw/mlx5/qp.c get_cqs(qp->ibqp.qp_type, qp->ibqp.send_cq, qp->ibqp.recv_cq, recv_cq 3564 drivers/infiniband/hw/mlx5/qp.c &send_cq, &recv_cq); recv_cq 3568 drivers/infiniband/hw/mlx5/qp.c context->cqn_recv = recv_cq ? cpu_to_be32(recv_cq->mcq.cqn) : 0; recv_cq 3716 drivers/infiniband/hw/mlx5/qp.c mlx5_ib_cq_clean(recv_cq, base->mqp.qpn, recv_cq 3718 drivers/infiniband/hw/mlx5/qp.c if (send_cq != recv_cq) recv_cq 5383 drivers/infiniband/hw/mlx5/qp.c if (mlx5_wq_overflow(&qp->rq, nreq, qp->ibqp.recv_cq)) { recv_cq 5810 drivers/infiniband/hw/mlx5/qp.c qp_init_attr->recv_cq = ibqp->recv_cq; recv_cq 6476 drivers/infiniband/hw/mlx5/qp.c struct ib_cq *cq = qp->recv_cq; recv_cq 547 drivers/infiniband/hw/mthca/mthca_dev.h struct mthca_cq *recv_cq, recv_cq 556 drivers/infiniband/hw/mthca/mthca_dev.h struct mthca_cq *recv_cq, recv_cq 523 drivers/infiniband/hw/mthca/mthca_provider.c to_mcq(init_attr->recv_cq), recv_cq 556 drivers/infiniband/hw/mthca/mthca_provider.c to_mcq(init_attr->recv_cq), recv_cq 774 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->cqn_rcv = cpu_to_be32(to_mcq(ibqp->recv_cq)->cqn); recv_cq 835 drivers/infiniband/hw/mthca/mthca_qp.c mthca_cq_clean(dev, to_mcq(qp->ibqp.recv_cq), qp->qpn, recv_cq 837 drivers/infiniband/hw/mthca/mthca_qp.c if (qp->ibqp.send_cq != qp->ibqp.recv_cq) recv_cq 1162 drivers/infiniband/hw/mthca/mthca_qp.c struct mthca_cq *recv_cq, recv_cq 1291 drivers/infiniband/hw/mthca/mthca_qp.c struct mthca_cq *recv_cq, recv_cq 1318 drivers/infiniband/hw/mthca/mthca_qp.c err = mthca_alloc_qp_common(dev, pd, send_cq, recv_cq, recv_cq 1333 drivers/infiniband/hw/mthca/mthca_qp.c static void mthca_lock_cqs(struct mthca_cq *send_cq, struct mthca_cq *recv_cq) recv_cq 1334 drivers/infiniband/hw/mthca/mthca_qp.c __acquires(&send_cq->lock) __acquires(&recv_cq->lock) recv_cq 1336 drivers/infiniband/hw/mthca/mthca_qp.c if (send_cq == recv_cq) { recv_cq 1338 drivers/infiniband/hw/mthca/mthca_qp.c __acquire(&recv_cq->lock); recv_cq 1339 drivers/infiniband/hw/mthca/mthca_qp.c } else if (send_cq->cqn < recv_cq->cqn) { recv_cq 1341 drivers/infiniband/hw/mthca/mthca_qp.c spin_lock_nested(&recv_cq->lock, SINGLE_DEPTH_NESTING); recv_cq 1343 drivers/infiniband/hw/mthca/mthca_qp.c spin_lock_irq(&recv_cq->lock); recv_cq 1348 drivers/infiniband/hw/mthca/mthca_qp.c static void mthca_unlock_cqs(struct mthca_cq *send_cq, struct mthca_cq *recv_cq) recv_cq 1349 drivers/infiniband/hw/mthca/mthca_qp.c __releases(&send_cq->lock) __releases(&recv_cq->lock) recv_cq 1351 drivers/infiniband/hw/mthca/mthca_qp.c if (send_cq == recv_cq) { recv_cq 1352 drivers/infiniband/hw/mthca/mthca_qp.c __release(&recv_cq->lock); recv_cq 1354 drivers/infiniband/hw/mthca/mthca_qp.c } else if (send_cq->cqn < recv_cq->cqn) { recv_cq 1355 drivers/infiniband/hw/mthca/mthca_qp.c spin_unlock(&recv_cq->lock); recv_cq 1359 drivers/infiniband/hw/mthca/mthca_qp.c spin_unlock_irq(&recv_cq->lock); recv_cq 1366 drivers/infiniband/hw/mthca/mthca_qp.c struct mthca_cq *recv_cq, recv_cq 1402 drivers/infiniband/hw/mthca/mthca_qp.c err = mthca_alloc_qp_common(dev, pd, send_cq, recv_cq, recv_cq 1416 drivers/infiniband/hw/mthca/mthca_qp.c mthca_lock_cqs(send_cq, recv_cq); recv_cq 1422 drivers/infiniband/hw/mthca/mthca_qp.c mthca_unlock_cqs(send_cq, recv_cq); recv_cq 1446 drivers/infiniband/hw/mthca/mthca_qp.c struct mthca_cq *recv_cq; recv_cq 1449 drivers/infiniband/hw/mthca/mthca_qp.c recv_cq = to_mcq(qp->ibqp.recv_cq); recv_cq 1455 drivers/infiniband/hw/mthca/mthca_qp.c mthca_lock_cqs(send_cq, recv_cq); recv_cq 1463 drivers/infiniband/hw/mthca/mthca_qp.c mthca_unlock_cqs(send_cq, recv_cq); recv_cq 1477 drivers/infiniband/hw/mthca/mthca_qp.c mthca_cq_clean(dev, recv_cq, qp->qpn, recv_cq 1479 drivers/infiniband/hw/mthca/mthca_qp.c if (send_cq != recv_cq) recv_cq 1850 drivers/infiniband/hw/mthca/mthca_qp.c if (mthca_wq_overflow(&qp->rq, nreq, qp->ibqp.recv_cq)) { recv_cq 2179 drivers/infiniband/hw/mthca/mthca_qp.c if (mthca_wq_overflow(&qp->rq, nreq, qp->ibqp.recv_cq)) { recv_cq 2435 drivers/infiniband/hw/ocrdma/ocrdma_hw.c cq = get_ocrdma_cq(attrs->recv_cq); recv_cq 1175 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c (dev->gsi_rqcq == get_ocrdma_cq(attrs->recv_cq))) { recv_cq 1302 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c dev->gsi_rqcq = get_ocrdma_cq(attrs->recv_cq); recv_cq 63 drivers/infiniband/hw/qedr/qedr_roce_cm.c dev->gsi_rqcq = get_qedr_cq(attrs->recv_cq); recv_cq 144 drivers/infiniband/hw/qedr/qedr_roce_cm.c cq = get_qedr_cq(attrs->recv_cq); recv_cq 1213 drivers/infiniband/hw/qedr/verbs.c qp->rq_cq = get_qedr_cq(attrs->recv_cq); recv_cq 1535 drivers/infiniband/hw/qedr/verbs.c params->rq_cq_id = get_qedr_cq(attrs->recv_cq)->icid; recv_cq 1538 drivers/infiniband/hw/qedr/verbs.c params->rq_cq_id = get_qedr_cq(attrs->recv_cq)->icid; recv_cq 1906 drivers/infiniband/hw/qedr/verbs.c get_qedr_cq(attrs->recv_cq), recv_cq 1907 drivers/infiniband/hw/qedr/verbs.c attrs->recv_cq ? get_qedr_cq(attrs->recv_cq)->icid : 0); recv_cq 512 drivers/infiniband/hw/usnic/usnic_ib_verbs.c cq_cnt = (init_attr->send_cq == init_attr->recv_cq) ? 1 : 2; recv_cq 56 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c struct pvrdma_cq **recv_cq) recv_cq 59 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c *recv_cq = to_vcq(qp->ibqp.recv_cq); recv_cq 351 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c cmd->recv_cq_handle = to_vcq(init_attr->recv_cq)->cq_handle; recv_cq 990 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c init_attr->recv_cq = qp->ibqp.recv_cq; recv_cq 1366 drivers/infiniband/sw/rdmavt/qp.c rvt_cq_enter(ibcq_to_rvtcq(qp->ibqp.recv_cq), &wc, 1); recv_cq 1396 drivers/infiniband/sw/rdmavt/qp.c rvt_cq_enter(ibcq_to_rvtcq(qp->ibqp.recv_cq), &wc, 1); recv_cq 1799 drivers/infiniband/sw/rdmavt/qp.c init_attr->recv_cq = qp->ibqp.recv_cq; recv_cq 1863 drivers/infiniband/sw/rdmavt/qp.c rvt_cq_enter(ibcq_to_rvtcq(qp->ibqp.recv_cq), &wc, 1); recv_cq 2349 drivers/infiniband/sw/rdmavt/qp.c rvt_cq_enter(ibcq_to_rvtcq(qp->ibqp.recv_cq), &wc, 1); recv_cq 92 drivers/infiniband/sw/rxe/rxe_qp.c if (!init->recv_cq || !init->send_cq) { recv_cq 343 drivers/infiniband/sw/rxe/rxe_qp.c struct rxe_cq *rcq = to_rcq(init->recv_cq); recv_cq 391 drivers/infiniband/sw/rxe/rxe_qp.c init->recv_cq = qp->ibqp.recv_cq; recv_cq 357 drivers/infiniband/sw/siw/siw_verbs.c rcq = to_siw_cq(attrs->recv_cq); recv_cq 550 drivers/infiniband/sw/siw/siw_verbs.c qp_init_attr->recv_cq = base_qp->recv_cq; recv_cq 365 drivers/infiniband/ulp/ipoib/ipoib.h struct ib_cq *recv_cq; recv_cq 255 drivers/infiniband/ulp/ipoib/ipoib_cm.c .send_cq = priv->recv_cq, /* For drain WR */ recv_cq 256 drivers/infiniband/ulp/ipoib/ipoib_cm.c .recv_cq = priv->recv_cq, recv_cq 1062 drivers/infiniband/ulp/ipoib/ipoib_cm.c .recv_cq = priv->recv_cq, recv_cq 102 drivers/infiniband/ulp/ipoib/ipoib_ethtool.c ret = rdma_set_cq_moderation(priv->recv_cq, recv_cq 466 drivers/infiniband/ulp/ipoib/ipoib_ib.c n = ib_poll_cq(priv->recv_cq, t, priv->ibwc); recv_cq 488 drivers/infiniband/ulp/ipoib/ipoib_ib.c if (unlikely(ib_req_notify_cq(priv->recv_cq, recv_cq 844 drivers/infiniband/ulp/ipoib/ipoib_ib.c ib_req_notify_cq(priv->recv_cq, IB_CQ_NEXT_COMP); recv_cq 985 drivers/infiniband/ulp/ipoib/ipoib_ib.c n = ib_poll_cq(priv->recv_cq, IPOIB_NUM_WC, priv->ibwc); recv_cq 178 drivers/infiniband/ulp/ipoib/ipoib_verbs.c priv->recv_cq = ib_create_cq(priv->ca, ipoib_ib_rx_completion, NULL, recv_cq 180 drivers/infiniband/ulp/ipoib/ipoib_verbs.c if (IS_ERR(priv->recv_cq)) { recv_cq 194 drivers/infiniband/ulp/ipoib/ipoib_verbs.c if (ib_req_notify_cq(priv->recv_cq, IB_CQ_NEXT_COMP)) recv_cq 198 drivers/infiniband/ulp/ipoib/ipoib_verbs.c init_attr.recv_cq = priv->recv_cq; recv_cq 244 drivers/infiniband/ulp/ipoib/ipoib_verbs.c ib_destroy_cq(priv->recv_cq); recv_cq 264 drivers/infiniband/ulp/ipoib/ipoib_verbs.c ib_destroy_cq(priv->recv_cq); recv_cq 394 drivers/infiniband/ulp/iser/iser_verbs.c init_attr.recv_cq = ib_conn->comp->cq; recv_cq 127 drivers/infiniband/ulp/isert/ib_isert.c attr.recv_cq = comp->cq; recv_cq 575 drivers/infiniband/ulp/isert/ib_isert.c struct isert_comp *comp = isert_conn->qp->recv_cq->cq_context; recv_cq 556 drivers/infiniband/ulp/srp/ib_srp.c struct ib_cq *recv_cq, *send_cq; recv_cq 568 drivers/infiniband/ulp/srp/ib_srp.c recv_cq = ib_alloc_cq(dev->dev, ch, target->queue_size + 1, recv_cq 570 drivers/infiniband/ulp/srp/ib_srp.c if (IS_ERR(recv_cq)) { recv_cq 571 drivers/infiniband/ulp/srp/ib_srp.c ret = PTR_ERR(recv_cq); recv_cq 590 drivers/infiniband/ulp/srp/ib_srp.c init_attr->recv_cq = recv_cq; recv_cq 631 drivers/infiniband/ulp/srp/ib_srp.c if (ch->recv_cq) recv_cq 632 drivers/infiniband/ulp/srp/ib_srp.c ib_free_cq(ch->recv_cq); recv_cq 637 drivers/infiniband/ulp/srp/ib_srp.c ch->recv_cq = recv_cq; recv_cq 663 drivers/infiniband/ulp/srp/ib_srp.c ib_free_cq(recv_cq); recv_cq 709 drivers/infiniband/ulp/srp/ib_srp.c ib_free_cq(ch->recv_cq); recv_cq 720 drivers/infiniband/ulp/srp/ib_srp.c ch->send_cq = ch->recv_cq = NULL; recv_cq 156 drivers/infiniband/ulp/srp/ib_srp.h struct ib_cq *recv_cq; recv_cq 1807 drivers/infiniband/ulp/srpt/ib_srpt.c qp_init->recv_cq = ch->cq; recv_cq 351 drivers/net/ethernet/ibm/ehea/ehea.h struct ehea_cq *recv_cq; recv_cq 197 drivers/net/ethernet/ibm/ehea/ehea_main.c arr[i++].fwh = pr->recv_cq->fw_handle; recv_cq 888 drivers/net/ethernet/ibm/ehea/ehea_main.c ehea_reset_cq_ep(pr->recv_cq); recv_cq 890 drivers/net/ethernet/ibm/ehea/ehea_main.c ehea_reset_cq_n1(pr->recv_cq); recv_cq 1465 drivers/net/ethernet/ibm/ehea/ehea_main.c pr->recv_cq = ehea_create_cq(adapter, pr_cfg->max_entries_rcq, recv_cq 1468 drivers/net/ethernet/ibm/ehea/ehea_main.c if (!pr->recv_cq) { recv_cq 1484 drivers/net/ethernet/ibm/ehea/ehea_main.c pr->recv_cq->attr.act_nr_of_cqes); recv_cq 1509 drivers/net/ethernet/ibm/ehea/ehea_main.c init_attr->recv_cq_handle = pr->recv_cq->fw_handle; recv_cq 1559 drivers/net/ethernet/ibm/ehea/ehea_main.c ehea_destroy_cq(pr->recv_cq); recv_cq 1576 drivers/net/ethernet/ibm/ehea/ehea_main.c ehea_destroy_cq(pr->recv_cq); recv_cq 271 drivers/nvme/host/rdma.c init_attr.recv_cq = queue->ib_cq; recv_cq 1006 drivers/nvme/target/rdma.c qp_attr.recv_cq = queue->cq; recv_cq 1465 fs/cifs/smbdirect.c ib_free_cq(info->recv_cq); recv_cq 1658 fs/cifs/smbdirect.c info->recv_cq = NULL; recv_cq 1667 fs/cifs/smbdirect.c info->recv_cq = recv_cq 1670 fs/cifs/smbdirect.c if (IS_ERR(info->recv_cq)) { recv_cq 1671 fs/cifs/smbdirect.c info->recv_cq = NULL; recv_cq 1686 fs/cifs/smbdirect.c qp_attr.recv_cq = info->recv_cq; recv_cq 1806 fs/cifs/smbdirect.c if (info->recv_cq) recv_cq 1807 fs/cifs/smbdirect.c ib_free_cq(info->recv_cq); recv_cq 59 fs/cifs/smbdirect.h struct ib_cq *send_cq, *recv_cq; recv_cq 1128 include/rdma/ib_verbs.h struct ib_cq *recv_cq; recv_cq 1715 include/rdma/ib_verbs.h struct ib_cq *recv_cq; recv_cq 801 include/rdma/rdmavt_qp.h struct rvt_cq *cq = ibcq_to_rvtcq(qp->ibqp.recv_cq); recv_cq 710 net/9p/trans_rdma.c qp_attr.recv_cq = rdma->cq; recv_cq 538 net/rds/ib_cm.c attr.recv_cq = ic->i_recv_cq; recv_cq 332 net/smc/smc_ib.c .recv_cq = lnk->smcibdev->roce_cq_recv, recv_cq 480 net/sunrpc/xprtrdma/svc_rdma_transport.c qp_attr.recv_cq = newxprt->sc_rq_cq; recv_cq 424 net/sunrpc/xprtrdma/verbs.c ib_free_cq(ep->rep_attr.recv_cq); recv_cq 425 net/sunrpc/xprtrdma/verbs.c ep->rep_attr.recv_cq = NULL; recv_cq 540 net/sunrpc/xprtrdma/verbs.c ep->rep_attr.recv_cq = recvcq; recv_cq 596 net/sunrpc/xprtrdma/verbs.c if (ep->rep_attr.recv_cq) recv_cq 597 net/sunrpc/xprtrdma/verbs.c ib_free_cq(ep->rep_attr.recv_cq);