Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/infiniband/core/
Dsecurity.c382 struct ib_qp *real_qp = qp->real_qp; in ib_open_shared_qp_security() local
393 mutex_lock(&real_qp->qp_sec->mutex); in ib_open_shared_qp_security()
394 ret = check_qp_port_pkey_settings(real_qp->qp_sec->ports_pkeys, in ib_open_shared_qp_security()
400 if (qp != real_qp) in ib_open_shared_qp_security()
402 &real_qp->qp_sec->shared_qp_list); in ib_open_shared_qp_security()
404 mutex_unlock(&real_qp->qp_sec->mutex); in ib_open_shared_qp_security()
413 struct ib_qp *real_qp = sec->qp->real_qp; in ib_close_shared_qp_security() local
415 mutex_lock(&real_qp->qp_sec->mutex); in ib_close_shared_qp_security()
417 mutex_unlock(&real_qp->qp_sec->mutex); in ib_close_shared_qp_security()
586 struct ib_qp *real_qp = qp->real_qp; in ib_security_modify_qp() local
[all …]
Dverbs.c1068 static struct ib_qp *__ib_open_qp(struct ib_qp *real_qp, in __ib_open_qp() argument
1080 qp->real_qp = real_qp; in __ib_open_qp()
1081 err = ib_open_shared_qp_security(qp, real_qp->device); in __ib_open_qp()
1087 qp->real_qp = real_qp; in __ib_open_qp()
1088 atomic_inc(&real_qp->usecnt); in __ib_open_qp()
1089 qp->device = real_qp->device; in __ib_open_qp()
1092 qp->qp_num = real_qp->qp_num; in __ib_open_qp()
1093 qp->qp_type = real_qp->qp_type; in __ib_open_qp()
1095 spin_lock_irqsave(&real_qp->device->event_handler_lock, flags); in __ib_open_qp()
1096 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()
339 qp->real_qp = qp; in _ib_create_qp()
Duverbs_std_types.c97 } else if (qp == qp->real_qp) { in uverbs_free_qp()
Duverbs_cmd.c1816 if (cmd->base.dest.port_num != qp->real_qp->port) { in modify_qp()
2173 ret = qp->device->ops.post_send(qp->real_qp, wr, &bad_wr); in ib_uverbs_post_send()
2326 ret = qp->device->ops.post_recv(qp->real_qp, wr, &bad_wr); in ib_uverbs_post_recv()
/Linux-v5.4/include/rdma/
Dib_verbs.h1727 struct ib_qp *real_qp; member
/Linux-v5.4/drivers/infiniband/hw/mlx5/
Dmain.c4853 qp->real_qp = qp; in create_umr_res()