real_qp 259 drivers/infiniband/core/core_priv.h return qp->device->ops.modify_qp(qp->real_qp, real_qp 340 drivers/infiniband/core/core_priv.h qp->real_qp = qp; real_qp 375 drivers/infiniband/core/security.c struct ib_qp *real_qp = qp->real_qp; real_qp 386 drivers/infiniband/core/security.c mutex_lock(&real_qp->qp_sec->mutex); real_qp 387 drivers/infiniband/core/security.c ret = check_qp_port_pkey_settings(real_qp->qp_sec->ports_pkeys, real_qp 393 drivers/infiniband/core/security.c if (qp != real_qp) real_qp 395 drivers/infiniband/core/security.c &real_qp->qp_sec->shared_qp_list); real_qp 397 drivers/infiniband/core/security.c mutex_unlock(&real_qp->qp_sec->mutex); real_qp 406 drivers/infiniband/core/security.c struct ib_qp *real_qp = sec->qp->real_qp; real_qp 408 drivers/infiniband/core/security.c mutex_lock(&real_qp->qp_sec->mutex); real_qp 410 drivers/infiniband/core/security.c mutex_unlock(&real_qp->qp_sec->mutex); real_qp 579 drivers/infiniband/core/security.c struct ib_qp *real_qp = qp->real_qp; real_qp 580 drivers/infiniband/core/security.c bool special_qp = (real_qp->qp_type == IB_QPT_SMI || real_qp 581 drivers/infiniband/core/security.c real_qp->qp_type == IB_QPT_GSI || real_qp 582 drivers/infiniband/core/security.c real_qp->qp_type >= IB_QPT_RESERVED1); real_qp 587 drivers/infiniband/core/security.c rdma_protocol_ib(real_qp->device, qp_attr->port_num) && real_qp 588 drivers/infiniband/core/security.c !real_qp->qp_sec), real_qp 590 drivers/infiniband/core/security.c __func__, real_qp->qp_num); real_qp 598 drivers/infiniband/core/security.c if (pps_change && !special_qp && real_qp->qp_sec) { real_qp 599 drivers/infiniband/core/security.c mutex_lock(&real_qp->qp_sec->mutex); real_qp 600 drivers/infiniband/core/security.c new_pps = get_new_pps(real_qp, real_qp 604 drivers/infiniband/core/security.c mutex_unlock(&real_qp->qp_sec->mutex); real_qp 621 drivers/infiniband/core/security.c real_qp->qp_sec); real_qp 625 drivers/infiniband/core/security.c ret = real_qp->device->ops.modify_qp(real_qp, real_qp 637 drivers/infiniband/core/security.c tmp_pps = real_qp->qp_sec->ports_pkeys; real_qp 638 drivers/infiniband/core/security.c real_qp->qp_sec->ports_pkeys = new_pps; real_qp 646 drivers/infiniband/core/security.c mutex_unlock(&real_qp->qp_sec->mutex); real_qp 1806 drivers/infiniband/core/uverbs_cmd.c if (cmd->base.dest.port_num != qp->real_qp->port) { real_qp 2163 drivers/infiniband/core/uverbs_cmd.c ret = qp->device->ops.post_send(qp->real_qp, wr, &bad_wr); real_qp 2316 drivers/infiniband/core/uverbs_cmd.c ret = qp->device->ops.post_recv(qp->real_qp, wr, &bad_wr); real_qp 97 drivers/infiniband/core/uverbs_std_types.c } else if (qp == qp->real_qp) { real_qp 1068 drivers/infiniband/core/verbs.c static struct ib_qp *__ib_open_qp(struct ib_qp *real_qp, real_qp 1080 drivers/infiniband/core/verbs.c qp->real_qp = real_qp; real_qp 1081 drivers/infiniband/core/verbs.c err = ib_open_shared_qp_security(qp, real_qp->device); real_qp 1087 drivers/infiniband/core/verbs.c qp->real_qp = real_qp; real_qp 1088 drivers/infiniband/core/verbs.c atomic_inc(&real_qp->usecnt); real_qp 1089 drivers/infiniband/core/verbs.c qp->device = real_qp->device; real_qp 1092 drivers/infiniband/core/verbs.c qp->qp_num = real_qp->qp_num; real_qp 1093 drivers/infiniband/core/verbs.c qp->qp_type = real_qp->qp_type; real_qp 1095 drivers/infiniband/core/verbs.c spin_lock_irqsave(&real_qp->device->event_handler_lock, flags); real_qp 1096 drivers/infiniband/core/verbs.c list_add(&qp->open_list, &real_qp->open_list); real_qp 1097 drivers/infiniband/core/verbs.c spin_unlock_irqrestore(&real_qp->device->event_handler_lock, flags); real_qp 1105 drivers/infiniband/core/verbs.c struct ib_qp *qp, *real_qp; real_qp 1112 drivers/infiniband/core/verbs.c list_for_each_entry(real_qp, &xrcd->tgt_qp_list, xrcd_list) { real_qp 1113 drivers/infiniband/core/verbs.c if (real_qp->qp_num == qp_open_attr->qp_num) { real_qp 1114 drivers/infiniband/core/verbs.c qp = __ib_open_qp(real_qp, qp_open_attr->event_handler, real_qp 1128 drivers/infiniband/core/verbs.c struct ib_qp *real_qp = qp; real_qp 1139 drivers/infiniband/core/verbs.c qp = __ib_open_qp(real_qp, qp_init_attr->event_handler, real_qp 1144 drivers/infiniband/core/verbs.c __ib_insert_xrcd_qp(qp_init_attr->xrcd, real_qp); real_qp 1728 drivers/infiniband/core/verbs.c return _ib_modify_qp(ib_qp->real_qp, attr, attr_mask, udata); real_qp 1788 drivers/infiniband/core/verbs.c return _ib_modify_qp(qp->real_qp, qp_attr, qp_attr_mask, NULL); real_qp 1801 drivers/infiniband/core/verbs.c qp->device->ops.query_qp(qp->real_qp, qp_attr, qp_attr_mask, real_qp 1808 drivers/infiniband/core/verbs.c struct ib_qp *real_qp; real_qp 1811 drivers/infiniband/core/verbs.c real_qp = qp->real_qp; real_qp 1812 drivers/infiniband/core/verbs.c if (real_qp == qp) real_qp 1815 drivers/infiniband/core/verbs.c spin_lock_irqsave(&real_qp->device->event_handler_lock, flags); real_qp 1817 drivers/infiniband/core/verbs.c spin_unlock_irqrestore(&real_qp->device->event_handler_lock, flags); real_qp 1819 drivers/infiniband/core/verbs.c atomic_dec(&real_qp->usecnt); real_qp 1831 drivers/infiniband/core/verbs.c struct ib_qp *real_qp; real_qp 1834 drivers/infiniband/core/verbs.c real_qp = qp->real_qp; real_qp 1835 drivers/infiniband/core/verbs.c xrcd = real_qp->xrcd; real_qp 1839 drivers/infiniband/core/verbs.c if (atomic_read(&real_qp->usecnt) == 0) real_qp 1840 drivers/infiniband/core/verbs.c list_del(&real_qp->xrcd_list); real_qp 1842 drivers/infiniband/core/verbs.c real_qp = NULL; real_qp 1845 drivers/infiniband/core/verbs.c if (real_qp) { real_qp 1846 drivers/infiniband/core/verbs.c ret = ib_destroy_qp(real_qp); real_qp 1850 drivers/infiniband/core/verbs.c __ib_insert_xrcd_qp(xrcd, real_qp); real_qp 1872 drivers/infiniband/core/verbs.c if (qp->real_qp != qp) real_qp 4848 drivers/infiniband/hw/mlx5/main.c qp->real_qp = qp; real_qp 1727 include/rdma/ib_verbs.h struct ib_qp *real_qp;