Home
last modified time | relevance | path

Searched refs:id_priv (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/infiniband/core/
Dcma.c138 struct rdma_id_private *id_priv; in rdma_iw_cm_id() local
140 id_priv = container_of(id, struct rdma_id_private, id); in rdma_iw_cm_id()
142 return id_priv->cm_id.iw; in rdma_iw_cm_id()
153 struct rdma_id_private *id_priv = in rdma_res_to_id() local
156 return &id_priv->id; in rdma_res_to_id()
355 struct rdma_id_private *id_priv; member
406 static int cma_comp_exch(struct rdma_id_private *id_priv, in cma_comp_exch() argument
419 lockdep_assert_held(&id_priv->handler_mutex); in cma_comp_exch()
421 spin_lock_irqsave(&id_priv->lock, flags); in cma_comp_exch()
422 if ((ret = (id_priv->state == comp))) in cma_comp_exch()
[all …]
Dcma_trace.h23 const struct rdma_id_private *id_priv
26 TP_ARGS(id_priv),
36 __entry->cm_id = id_priv->res.id;
37 __entry->tos = id_priv->tos;
38 memcpy(__entry->srcaddr, &id_priv->id.route.addr.src_addr,
40 memcpy(__entry->dstaddr, &id_priv->id.route.addr.dst_addr,
52 const struct rdma_id_private *id_priv \
54 TP_ARGS(id_priv))
68 const struct rdma_id_private *id_priv,
72 TP_ARGS(id_priv, device),
[all …]
Dnldev.c549 struct rdma_id_private *id_priv = in fill_res_cm_id_entry() local
551 struct ib_device *dev = id_priv->id.device; in fill_res_cm_id_entry()
552 struct rdma_cm_id *cm_id = &id_priv->id; in fill_res_cm_id_entry()
561 if (id_priv->qp_num) { in fill_res_cm_id_entry()
562 if (nla_put_u32(msg, RDMA_NLDEV_ATTR_RES_LQPN, id_priv->qp_num)) in fill_res_cm_id_entry()
571 if (nla_put_u8(msg, RDMA_NLDEV_ATTR_RES_STATE, id_priv->state)) in fill_res_cm_id_entry()