qp_context 343 drivers/infiniband/core/core_priv.h qp->qp_context = attr->qp_context; qp_context 3115 drivers/infiniband/core/mad.c static void qp_event_handler(struct ib_event *event, void *qp_context) qp_context 3117 drivers/infiniband/core/mad.c struct ib_mad_qp_info *qp_info = qp_context; qp_context 3163 drivers/infiniband/core/mad.c qp_init_attr.qp_context = qp_info; qp_context 174 drivers/infiniband/core/security.c if (sec->qp->event_handler && sec->qp->qp_context) { qp_context 177 drivers/infiniband/core/security.c sec->qp->qp_context); qp_context 185 drivers/infiniband/core/security.c if (qp->event_handler && qp->qp_context) { qp_context 189 drivers/infiniband/core/security.c qp->qp_context); qp_context 1376 drivers/infiniband/core/uverbs_cmd.c attr.qp_context = attrs->ufile; qp_context 1584 drivers/infiniband/core/uverbs_cmd.c attr.qp_context = attrs->ufile; qp_context 1057 drivers/infiniband/core/verbs.c event->element.qp->event_handler(event, event->element.qp->qp_context); qp_context 1070 drivers/infiniband/core/verbs.c void *qp_context) qp_context 1091 drivers/infiniband/core/verbs.c qp->qp_context = qp_context; qp_context 1115 drivers/infiniband/core/verbs.c qp_open_attr->qp_context); qp_context 1131 drivers/infiniband/core/verbs.c qp->qp_context = qp; qp_context 1140 drivers/infiniband/core/verbs.c qp_init_attr->qp_context); qp_context 1195 drivers/infiniband/core/verbs.c qp->qp_context = qp_init_attr->qp_context; qp_context 806 drivers/infiniband/hw/bnxt_re/main.c qp->ib_qp.event_handler(&event, qp->ib_qp.qp_context); qp_context 1052 drivers/infiniband/hw/bnxt_re/main.c qp->event_handler(&ib_event, qp->qp_context); qp_context 97 drivers/infiniband/hw/cxgb3/iwch_ev.c (*qhp->ibqp.event_handler)(&event, qhp->ibqp.qp_context); qp_context 111 drivers/infiniband/hw/cxgb4/ev.c (*qhp->ibqp.event_handler)(&event, qhp->ibqp.qp_context); qp_context 393 drivers/infiniband/hw/efa/efa_verbs.c qp_init_attr->qp_context = ibqp->qp_context; qp_context 843 drivers/infiniband/hw/hfi1/qp.c qp->ibqp.event_handler(&ev, qp->ibqp.qp_context); qp_context 958 drivers/infiniband/hw/hfi1/qp.c qp->ibqp.event_handler(&ev, qp->ibqp.qp_context); qp_context 4004 drivers/infiniband/hw/hfi1/tid_rdma.c qp->ibqp.event_handler(&ev, qp->ibqp.qp_context); qp_context 107 drivers/infiniband/hw/hns/hns_roce_qp.c ibqp->event_handler(&event, ibqp->qp_context); qp_context 3584 drivers/infiniband/hw/i40iw/i40iw_cm.c iwqp->ibqp.event_handler(&ibevent, iwqp->ibqp.qp_context); qp_context 774 drivers/infiniband/hw/i40iw/i40iw_verbs.c init_attr->qp_context = iwqp->ibqp.qp_context; qp_context 1787 drivers/infiniband/hw/mlx4/mad.c static void pv_qp_event_handler(struct ib_event *event, void *qp_context) qp_context 1789 drivers/infiniband/hw/mlx4/mad.c struct mlx4_ib_demux_pv_ctx *sqp = qp_context; qp_context 1832 drivers/infiniband/hw/mlx4/mad.c qp_init_attr.init_attr.qp_context = ctx; qp_context 271 drivers/infiniband/hw/mlx4/qp.c ibqp->event_handler(&event, ibqp->qp_context); qp_context 4178 drivers/infiniband/hw/mlx4/qp.c ib_qp_init_attr.qp_context = init_attr->wq_context; qp_context 256 drivers/infiniband/hw/mlx5/gsi.c .qp_context = gsi->rx_qp->qp_context, qp_context 326 drivers/infiniband/hw/mlx5/qp.c ibqp->event_handler(&event, ibqp->qp_context); qp_context 5803 drivers/infiniband/hw/mlx5/qp.c qp_init_attr->qp_context = ibqp->qp_context; qp_context 263 drivers/infiniband/hw/mthca/mthca_qp.c qp->ibqp.event_handler(&event, qp->ibqp.qp_context); qp_context 568 drivers/infiniband/hw/mthca/mthca_qp.c struct mthca_qp_context *qp_context; qp_context 578 drivers/infiniband/hw/mthca/mthca_qp.c qp_context = &qp_param->context; qp_context 581 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->flags = cpu_to_be32((to_mthca_state(new_state) << 28) | qp_context 583 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->flags |= cpu_to_be32(MTHCA_QP_BIT_DE); qp_context 585 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->flags |= cpu_to_be32(MTHCA_QP_PM_MIGRATED << 11); qp_context 590 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->flags |= cpu_to_be32(MTHCA_QP_PM_MIGRATED << 11); qp_context 593 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->flags |= cpu_to_be32(MTHCA_QP_PM_REARM << 11); qp_context 596 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->flags |= cpu_to_be32(MTHCA_QP_PM_ARMED << 11); qp_context 604 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->mtu_msgmax = (IB_MTU_2048 << 5) | 11; qp_context 611 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->mtu_msgmax = (attr->path_mtu << 5) | 31; qp_context 616 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->rq_size_stride = ilog2(qp->rq.max) << 3; qp_context 617 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->rq_size_stride |= qp->rq.wqe_shift - 4; qp_context 620 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->sq_size_stride = ilog2(qp->sq.max) << 3; qp_context 621 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->sq_size_stride |= qp->sq.wqe_shift - 4; qp_context 627 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->usr_page = cpu_to_be32(context->uar.index); qp_context 629 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->usr_page = cpu_to_be32(dev->driver_uar.index); qp_context 630 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->local_qpn = cpu_to_be32(qp->qpn); qp_context 632 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->remote_qpn = cpu_to_be32(attr->dest_qp_num); qp_context 636 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->pri_path.port_pkey |= qp_context 640 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->pri_path.port_pkey |= qp_context 647 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->pri_path.port_pkey |= qp_context 653 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->alt_path.rnr_retry = qp_context->pri_path.rnr_retry = qp_context 660 drivers/infiniband/hw/mthca/mthca_qp.c if (mthca_path_set(dev, &attr->ah_attr, &qp_context->pri_path, qp_context 672 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->rlkey_arbel_sched_queue |= sched_queue; qp_context 674 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->tavor_sched_queue |= cpu_to_be32(sched_queue); qp_context 681 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->pri_path.ackto = attr->timeout << 3; qp_context 698 drivers/infiniband/hw/mthca/mthca_qp.c if (mthca_path_set(dev, &attr->alt_ah_attr, &qp_context->alt_path, qp_context 702 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->alt_path.port_pkey |= cpu_to_be32(attr->alt_pkey_index | qp_context 704 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->alt_path.ackto = attr->alt_timeout << 3; qp_context 709 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->pd = cpu_to_be32(to_mpd(ibqp->pd)->pd_num); qp_context 711 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->wqe_lkey = cpu_to_be32(qp->mr.ibmr.lkey); qp_context 712 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->params1 = cpu_to_be32((MTHCA_ACK_REQ_FREQ << 28) | qp_context 716 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->params1 |= cpu_to_be32(MTHCA_QP_BIT_SSC); qp_context 718 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->params1 |= cpu_to_be32(attr->retry_cnt << 16); qp_context 724 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->params1 |= qp_context 727 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->params1 |= qp_context 734 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->next_send_psn = cpu_to_be32(attr->sq_psn); qp_context 735 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->cqn_snd = cpu_to_be32(to_mcq(ibqp->send_cq)->cqn); qp_context 738 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->snd_wqe_base_l = cpu_to_be32(qp->send_wqe_offset); qp_context 739 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->snd_db_index = cpu_to_be32(qp->sq.db_index); qp_context 744 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->params2 |= qp_context 751 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->params2 |= get_hw_access_flags(qp, attr, attr_mask); qp_context 757 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->params2 |= cpu_to_be32(MTHCA_QP_BIT_RSC); qp_context 760 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->params2 |= cpu_to_be32(MTHCA_QP_BIT_RIC); qp_context 763 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->rnr_nextrecvpsn |= cpu_to_be32(attr->min_rnr_timer << 24); qp_context 767 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->rnr_nextrecvpsn |= cpu_to_be32(attr->rq_psn); qp_context 769 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->ra_buff_indx = qp_context 774 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->cqn_rcv = cpu_to_be32(to_mcq(ibqp->recv_cq)->cqn); qp_context 777 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->rcv_db_index = cpu_to_be32(qp->rq.db_index); qp_context 780 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->qkey = cpu_to_be32(attr->qkey); qp_context 785 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->srqn = cpu_to_be32(1 << 24 | qp_context 785 drivers/infiniband/hw/ocrdma/ocrdma_hw.c qp->ibqp.event_handler(&ib_evt, qp->ibqp.qp_context); qp_context 751 drivers/infiniband/hw/qedr/main.c ibqp->event_handler(&event, ibqp->qp_context); qp_context 188 drivers/infiniband/hw/qedr/qedr_iw_cm.c ibqp->event_handler(&event, ibqp->qp_context); qp_context 56 drivers/infiniband/hw/qib/qib_ruc.c qp->ibqp.event_handler(&ev, qp->ibqp.qp_context); qp_context 493 drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c qp_grp->ibqp.qp_context); qp_context 498 drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c qp_grp->ibqp.qp_context); qp_context 505 drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c qp_grp->ibqp.qp_context); qp_context 329 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c ibqp->event_handler(&e, ibqp->qp_context); qp_context 988 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c init_attr->qp_context = qp->ibqp.qp_context; qp_context 756 drivers/infiniband/sw/rdmavt/qp.c qp->ibqp.event_handler(&ev, qp->ibqp.qp_context); qp_context 1691 drivers/infiniband/sw/rdmavt/qp.c qp->ibqp.event_handler(&ev, qp->ibqp.qp_context); qp_context 1697 drivers/infiniband/sw/rdmavt/qp.c qp->ibqp.event_handler(&ev, qp->ibqp.qp_context); qp_context 1797 drivers/infiniband/sw/rdmavt/qp.c init_attr->qp_context = qp->ibqp.qp_context; qp_context 2521 drivers/infiniband/sw/rdmavt/qp.c qp->ibqp.event_handler(&ev, qp->ibqp.qp_context); qp_context 2541 drivers/infiniband/sw/rdmavt/qp.c qp->ibqp.event_handler(&ev, qp->ibqp.qp_context); qp_context 3261 drivers/infiniband/sw/rdmavt/qp.c sqp->ibqp.event_handler(&ev, sqp->ibqp.qp_context); qp_context 501 drivers/infiniband/sw/rxe/rxe_comp.c qp->ibqp.qp_context); qp_context 389 drivers/infiniband/sw/rxe/rxe_qp.c init->qp_context = qp->ibqp.qp_context; qp_context 169 drivers/infiniband/sw/rxe/rxe_req.c qp->ibqp.qp_context); qp_context 1818 drivers/infiniband/sw/siw/siw_verbs.c base_qp->event_handler(&event, base_qp->qp_context); qp_context 262 drivers/infiniband/ulp/ipoib/ipoib_cm.c .qp_context = p, qp_context 589 drivers/infiniband/ulp/ipoib/ipoib_cm.c p = wc->qp->qp_context; qp_context 797 drivers/infiniband/ulp/ipoib/ipoib_cm.c struct ipoib_cm_tx *tx = wc->qp->qp_context; qp_context 1068 drivers/infiniband/ulp/ipoib/ipoib_cm.c .qp_context = tx, qp_context 560 drivers/infiniband/ulp/iser/iser_initiator.c struct ib_conn *ib_conn = wc->qp->qp_context; qp_context 652 drivers/infiniband/ulp/iser/iser_initiator.c struct ib_conn *ib_conn = wc->qp->qp_context; qp_context 727 drivers/infiniband/ulp/iser/iser_initiator.c struct ib_conn *ib_conn = wc->qp->qp_context; qp_context 392 drivers/infiniband/ulp/iser/iser_verbs.c init_attr.qp_context = (void *)ib_conn; qp_context 1120 drivers/infiniband/ulp/iser/iser_verbs.c struct iser_conn *iser_conn = to_iser_conn(wc->qp->qp_context); qp_context 125 drivers/infiniband/ulp/isert/ib_isert.c attr.qp_context = isert_conn; qp_context 595 drivers/infiniband/ulp/isert/ib_isert.c struct isert_conn *isert_conn = cma_id->qp->qp_context; qp_context 709 drivers/infiniband/ulp/isert/ib_isert.c struct isert_conn *isert_conn = cma_id->qp->qp_context; qp_context 736 drivers/infiniband/ulp/isert/ib_isert.c struct isert_conn *isert_conn = cma_id->qp->qp_context; qp_context 775 drivers/infiniband/ulp/isert/ib_isert.c isert_conn = cma_id->qp->qp_context; qp_context 1398 drivers/infiniband/ulp/isert/ib_isert.c struct isert_conn *isert_conn = wc->qp->qp_context; qp_context 1457 drivers/infiniband/ulp/isert/ib_isert.c struct isert_conn *isert_conn = wc->qp->qp_context; qp_context 1655 drivers/infiniband/ulp/isert/ib_isert.c struct isert_conn *isert_conn = wc->qp->qp_context; qp_context 1697 drivers/infiniband/ulp/isert/ib_isert.c struct isert_conn *isert_conn = wc->qp->qp_context; qp_context 1773 drivers/infiniband/ulp/isert/ib_isert.c struct isert_conn *isert_conn = wc->qp->qp_context; qp_context 1789 drivers/infiniband/ulp/isert/ib_isert.c struct isert_conn *isert_conn = wc->qp->qp_context; qp_context 1803 drivers/infiniband/ulp/srpt/ib_srpt.c qp_init->qp_context = (void *)ch; qp_context 459 drivers/net/ethernet/mellanox/mlx4/qp.c cmd->qp_context.pri_path.grh_mylmc = params->smac_index; qp_context 474 drivers/net/ethernet/mellanox/mlx4/qp.c cmd->qp_context.pri_path.fl |= qp_context 482 drivers/net/ethernet/mellanox/mlx4/qp.c cmd->qp_context.param3 |= cpu_to_be32(MLX4_STRIP_VLAN); qp_context 487 drivers/net/ethernet/mellanox/mlx4/qp.c cmd->qp_context.rate_limit_params = cpu_to_be16((params->rate_unit << 14) | params->rate_val); qp_context 498 drivers/net/ethernet/mellanox/mlx4/qp.c cmd->qp_context.qos_vport = params->qos_vport; qp_context 4324 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c smac_index = cmd->qp_context.pri_path.grh_mylmc; qp_context 5269 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c ctx->qp_context.qos_vport = work->qos_vport; qp_context 5360 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c upd_context->qp_context.param3 = qp->param3; qp_context 5361 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c upd_context->qp_context.pri_path.vlan_control = qp->vlan_control; qp_context 5362 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c upd_context->qp_context.pri_path.fvl_rx = qp->fvl_rx; qp_context 5363 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c upd_context->qp_context.pri_path.vlan_index = qp->vlan_index; qp_context 5364 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c upd_context->qp_context.pri_path.fl = qp->pri_path_fl; qp_context 5365 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c upd_context->qp_context.pri_path.feup = qp->feup; qp_context 5366 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c upd_context->qp_context.pri_path.sched_queue = qp_context 5369 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c upd_context->qp_context.param3 = qp->param3 & ~cpu_to_be32(MLX4_STRIP_VLAN); qp_context 5370 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c upd_context->qp_context.pri_path.vlan_control = vlan_control; qp_context 5371 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c upd_context->qp_context.pri_path.vlan_index = work->vlan_ix; qp_context 5372 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c upd_context->qp_context.pri_path.fvl_rx = qp_context 5374 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c upd_context->qp_context.pri_path.fl = qp_context 5377 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c upd_context->qp_context.pri_path.fl |= MLX4_FL_SV; qp_context 5379 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c upd_context->qp_context.pri_path.fl |= MLX4_FL_CV; qp_context 5380 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c upd_context->qp_context.pri_path.feup = qp_context 5382 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c upd_context->qp_context.pri_path.sched_queue = qp_context 5384 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c upd_context->qp_context.pri_path.sched_queue |= qp_context 1003 drivers/nvme/target/rdma.c qp_attr.qp_context = queue; qp_context 1446 drivers/nvme/target/rdma.c queue = cm_id->qp->qp_context; qp_context 1677 fs/cifs/smbdirect.c qp_attr.qp_context = info; qp_context 240 include/linux/mlx4/qp.h struct mlx4_qp_context qp_context; qp_context 1126 include/rdma/ib_verbs.h void *qp_context; qp_context 1146 include/rdma/ib_verbs.h void *qp_context; qp_context 1730 include/rdma/ib_verbs.h void *qp_context; qp_context 702 net/9p/trans_rdma.c qp_attr.qp_context = client; qp_context 529 net/rds/ib_cm.c attr.qp_context = conn; qp_context 353 net/smc/smc_cdc.c struct smc_link *link = (struct smc_link *)wc->qp->qp_context; qp_context 330 net/smc/smc_ib.c .qp_context = lnk, qp_context 558 net/smc/smc_llc.c struct smc_link *link = (struct smc_link *)wc->qp->qp_context; qp_context 71 net/smc/smc_wr.c link = wc->qp->qp_context; qp_context 339 net/smc/smc_wr.c struct smc_link *link = (struct smc_link *)wc->qp->qp_context; qp_context 362 net/smc/smc_wr.c link = wc[i].qp->qp_context; qp_context 470 net/sunrpc/xprtrdma/svc_rdma_transport.c qp_attr.qp_context = &newxprt->sc_xprt; qp_context 501 net/sunrpc/xprtrdma/verbs.c ep->rep_attr.qp_context = ep;