Searched refs:real_qp (Results 1 – 6 of 6) sorted by relevance
/linux/drivers/infiniband/core/ |
H A D | security.c | 375 struct ib_qp *real_qp = qp->real_qp; in ib_open_shared_qp_security() local 386 mutex_lock(&real_qp->qp_sec->mutex); in ib_open_shared_qp_security() 387 ret = check_qp_port_pkey_settings(real_qp->qp_sec->ports_pkeys, in ib_open_shared_qp_security() 393 if (qp != real_qp) in ib_open_shared_qp_security() 395 &real_qp->qp_sec->shared_qp_list); in ib_open_shared_qp_security() 397 mutex_unlock(&real_qp->qp_sec->mutex); in ib_open_shared_qp_security() 406 struct ib_qp *real_qp = sec->qp->real_qp; in ib_close_shared_qp_security() local 408 mutex_lock(&real_qp->qp_sec->mutex); in ib_close_shared_qp_security() 410 mutex_unlock(&real_qp->qp_sec->mutex); in ib_close_shared_qp_security() 579 struct ib_qp *real_qp = qp->real_qp; in ib_security_modify_qp() local [all …]
|
H A D | verbs.c | 1126 static struct ib_qp *__ib_open_qp(struct ib_qp *real_qp, in __ib_open_qp() argument 1138 qp->real_qp = real_qp; in __ib_open_qp() 1139 err = ib_open_shared_qp_security(qp, real_qp->device); in __ib_open_qp() 1145 qp->real_qp = real_qp; in __ib_open_qp() 1146 atomic_inc(&real_qp->usecnt); in __ib_open_qp() 1147 qp->device = real_qp->device; in __ib_open_qp() 1150 qp->qp_num = real_qp->qp_num; in __ib_open_qp() 1151 qp->qp_type = real_qp->qp_type; in __ib_open_qp() 1153 spin_lock_irqsave(&real_qp->device->qp_open_list_lock, flags); in __ib_open_qp() 1154 list_add(&qp->open_list, &real_qp->open_list); in __ib_open_qp() [all …]
|
H A D | core_priv.h | 258 return qp->device->ops.modify_qp(qp->real_qp, in ib_security_modify_qp()
|
H A D | uverbs_std_types_qp.c | 30 } else if (qp == qp->real_qp) { in uverbs_free_qp()
|
H A D | uverbs_cmd.c | 1795 if (cmd->base.dest.port_num != qp->real_qp->port) { in modify_qp() 2156 ret = qp->device->ops.post_send(qp->real_qp, wr, &bad_wr); in ib_uverbs_post_send() 2310 ret = qp->device->ops.post_recv(qp->real_qp, wr, &bad_wr); in ib_uverbs_post_recv()
|
/linux/include/rdma/ |
H A D | ib_verbs.h | 1798 struct ib_qp *real_qp; member
|