Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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.c1106 static struct ib_qp *__ib_open_qp(struct ib_qp *real_qp, in __ib_open_qp() argument
1118 qp->real_qp = real_qp; in __ib_open_qp()
1119 err = ib_open_shared_qp_security(qp, real_qp->device); in __ib_open_qp()
1125 qp->real_qp = real_qp; in __ib_open_qp()
1126 atomic_inc(&real_qp->usecnt); in __ib_open_qp()
1127 qp->device = real_qp->device; in __ib_open_qp()
1130 qp->qp_num = real_qp->qp_num; in __ib_open_qp()
1131 qp->qp_type = real_qp->qp_type; in __ib_open_qp()
1133 spin_lock_irqsave(&real_qp->device->qp_open_list_lock, flags); in __ib_open_qp()
1134 list_add(&qp->open_list, &real_qp->open_list); in __ib_open_qp()
[all …]
Dcore_priv.h260 return qp->device->ops.modify_qp(qp->real_qp, in ib_security_modify_qp()
341 qp->real_qp = qp; in _ib_create_qp()
Duverbs_std_types_qp.c30 } else if (qp == qp->real_qp) { in uverbs_free_qp()
Duverbs_cmd.c1789 if (cmd->base.dest.port_num != qp->real_qp->port) { in modify_qp()
2147 ret = qp->device->ops.post_send(qp->real_qp, wr, &bad_wr); in ib_uverbs_post_send()
2301 ret = qp->device->ops.post_recv(qp->real_qp, wr, &bad_wr); in ib_uverbs_post_recv()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dgsi.c159 gsi->rx_qp->real_qp = gsi->rx_qp; in mlx5_ib_create_gsi()
Dmain.c4453 qp->real_qp = qp; in mlx5_ib_stage_post_ib_reg_umr_init()
/kernel/linux/linux-5.10/include/rdma/
Dib_verbs.h1756 struct ib_qp *real_qp; member