Home
last modified time | relevance | path

Searched refs:real_qp (Results 1 – 6 of 6) sorted by relevance

/Linux-v6.6/drivers/infiniband/core/
Dsecurity.c375 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 …]
Dverbs.c1113 static struct ib_qp *__ib_open_qp(struct ib_qp *real_qp, in __ib_open_qp() argument
1125 qp->real_qp = real_qp; in __ib_open_qp()
1126 err = ib_open_shared_qp_security(qp, real_qp->device); in __ib_open_qp()
1132 qp->real_qp = real_qp; in __ib_open_qp()
1133 atomic_inc(&real_qp->usecnt); in __ib_open_qp()
1134 qp->device = real_qp->device; in __ib_open_qp()
1137 qp->qp_num = real_qp->qp_num; in __ib_open_qp()
1138 qp->qp_type = real_qp->qp_type; in __ib_open_qp()
1140 spin_lock_irqsave(&real_qp->device->qp_open_list_lock, flags); in __ib_open_qp()
1141 list_add(&qp->open_list, &real_qp->open_list); in __ib_open_qp()
[all …]
Dcore_priv.h258 return qp->device->ops.modify_qp(qp->real_qp, in ib_security_modify_qp()
Duverbs_std_types_qp.c30 } else if (qp == qp->real_qp) { in uverbs_free_qp()
Duverbs_cmd.c1797 if (cmd->base.dest.port_num != qp->real_qp->port) { in modify_qp()
2157 ret = qp->device->ops.post_send(qp->real_qp, wr, &bad_wr); in ib_uverbs_post_send()
2311 ret = qp->device->ops.post_recv(qp->real_qp, wr, &bad_wr); in ib_uverbs_post_recv()
/Linux-v6.6/include/rdma/
Dib_verbs.h1795 struct ib_qp *real_qp; member