Home
last modified time | relevance | path

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

/drivers/infiniband/core/
Dsa_query.c63 struct ib_sa_sm_ah *sm_ah; member
81 struct ib_sa_sm_ah *sm_ah; member
352 struct ib_sa_sm_ah *sm_ah = container_of(kref, struct ib_sa_sm_ah, ref); in free_sm_ah() local
354 ib_destroy_ah(sm_ah->ah); in free_sm_ah()
355 kfree(sm_ah); in free_sm_ah()
398 if (port->sm_ah) in update_sm_ah()
399 kref_put(&port->sm_ah->ref, free_sm_ah); in update_sm_ah()
400 port->sm_ah = new_ah; in update_sm_ah()
423 if (port->sm_ah) in ib_sa_event()
424 kref_put(&port->sm_ah->ref, free_sm_ah); in ib_sa_event()
[all …]
/drivers/infiniband/hw/mthca/
Dmthca_mad.c95 if (dev->sm_ah[port_num - 1]) in update_sm_ah()
96 ib_destroy_ah(dev->sm_ah[port_num - 1]); in update_sm_ah()
97 dev->sm_ah[port_num - 1] = new_ah; in update_sm_ah()
184 if ((send_buf->ah = dev->sm_ah[port_num - 1])) in forward_trap()
338 if (dev->sm_ah[p]) in mthca_free_agents()
339 ib_destroy_ah(dev->sm_ah[p]); in mthca_free_agents()
Dmthca_dev.h357 struct ib_ah *sm_ah[MTHCA_MAX_PORTS]; member
/drivers/infiniband/hw/mlx4/
Dmad.c143 if (dev->sm_ah[port_num - 1]) in update_sm_ah()
144 ib_destroy_ah(dev->sm_ah[port_num - 1]); in update_sm_ah()
145 dev->sm_ah[port_num - 1] = new_ah; in update_sm_ah()
226 if ((send_buf->ah = dev->sm_ah[port_num - 1])) in forward_trap()
426 if (dev->sm_ah[p]) in mlx4_ib_mad_cleanup()
427 ib_destroy_ah(dev->sm_ah[p]); in mlx4_ib_mad_cleanup()
Dmlx4_ib.h198 struct ib_ah *sm_ah[MLX4_MAX_PORTS]; member
/drivers/infiniband/hw/qib/
Dqib_mad.c90 if (!ibp->sm_ah) { in qib_send_trap()
103 ibp->sm_ah = to_iah(ah); in qib_send_trap()
109 send_buf->ah = &ibp->sm_ah->ibah; in qib_send_trap()
688 if (ibp->sm_ah) { in subn_set_portinfo()
690 ibp->sm_ah->attr.dlid = smlid; in subn_set_portinfo()
692 ibp->sm_ah->attr.sl = msl; in subn_set_portinfo()
2171 if (ibp->sm_ah) { in qib_free_agents()
2172 ib_destroy_ah(&ibp->sm_ah->ibah); in qib_free_agents()
2173 ibp->sm_ah = NULL; in qib_free_agents()
Dqib_verbs.h642 struct qib_ah *sm_ah; member