sm_ah 92 drivers/infiniband/core/sa_query.c struct ib_sa_sm_ah *sm_ah; sm_ah 113 drivers/infiniband/core/sa_query.c struct ib_sa_sm_ah *sm_ah; sm_ah 1147 drivers/infiniband/core/sa_query.c struct ib_sa_sm_ah *sm_ah = container_of(kref, struct ib_sa_sm_ah, ref); sm_ah 1149 drivers/infiniband/core/sa_query.c rdma_destroy_ah(sm_ah->ah, 0); sm_ah 1150 drivers/infiniband/core/sa_query.c kfree(sm_ah); sm_ah 1214 drivers/infiniband/core/sa_query.c src_path_mask = port->sm_ah ? port->sm_ah->src_path_mask : 0x7f; sm_ah 1301 drivers/infiniband/core/sa_query.c if (!query->port->sm_ah) { sm_ah 1305 drivers/infiniband/core/sa_query.c kref_get(&query->port->sm_ah->ref); sm_ah 1306 drivers/infiniband/core/sa_query.c query->sm_ah = query->port->sm_ah; sm_ah 1313 drivers/infiniband/core/sa_query.c if ((rdma_query_ah(query->sm_ah->ah, &ah_attr) < 0) || sm_ah 1315 drivers/infiniband/core/sa_query.c kref_put(&query->sm_ah->ref, free_sm_ah); sm_ah 1319 drivers/infiniband/core/sa_query.c query->sm_ah->pkey_index, sm_ah 1326 drivers/infiniband/core/sa_query.c kref_put(&query->sm_ah->ref, free_sm_ah); sm_ah 1330 drivers/infiniband/core/sa_query.c query->mad_buf->ah = query->sm_ah->ah; sm_ah 1338 drivers/infiniband/core/sa_query.c kref_put(&query->sm_ah->ref, free_sm_ah); sm_ah 2280 drivers/infiniband/core/sa_query.c if (port->sm_ah) sm_ah 2281 drivers/infiniband/core/sa_query.c kref_put(&port->sm_ah->ref, free_sm_ah); sm_ah 2282 drivers/infiniband/core/sa_query.c port->sm_ah = new_ah; sm_ah 2305 drivers/infiniband/core/sa_query.c if (port->sm_ah) sm_ah 2306 drivers/infiniband/core/sa_query.c kref_put(&port->sm_ah->ref, free_sm_ah); sm_ah 2307 drivers/infiniband/core/sa_query.c port->sm_ah = NULL; sm_ah 2349 drivers/infiniband/core/sa_query.c sa_dev->port[i].sm_ah = NULL; sm_ah 2416 drivers/infiniband/core/sa_query.c if (sa_dev->port[i].sm_ah) sm_ah 2417 drivers/infiniband/core/sa_query.c kref_put(&sa_dev->port[i].sm_ah->ref, free_sm_ah); sm_ah 374 drivers/infiniband/hw/hfi1/mad.c if (!ibp->rvp.sm_ah) { sm_ah 384 drivers/infiniband/hw/hfi1/mad.c ibp->rvp.sm_ah = ibah_to_rvtah(ah); sm_ah 390 drivers/infiniband/hw/hfi1/mad.c send_buf->ah = &ibp->rvp.sm_ah->ibah; sm_ah 1456 drivers/infiniband/hw/hfi1/mad.c if (ibp->rvp.sm_ah) { sm_ah 1458 drivers/infiniband/hw/hfi1/mad.c hfi1_modify_qp0_ah(ibp, ibp->rvp.sm_ah, smlid); sm_ah 1460 drivers/infiniband/hw/hfi1/mad.c rdma_ah_set_sl(&ibp->rvp.sm_ah->attr, msl); sm_ah 210 drivers/infiniband/hw/mlx4/mad.c if (dev->sm_ah[port_num - 1]) sm_ah 211 drivers/infiniband/hw/mlx4/mad.c rdma_destroy_ah(dev->sm_ah[port_num - 1], 0); sm_ah 212 drivers/infiniband/hw/mlx4/mad.c dev->sm_ah[port_num - 1] = new_ah; sm_ah 405 drivers/infiniband/hw/mlx4/mad.c if ((send_buf->ah = dev->sm_ah[port_num - 1])) sm_ah 1081 drivers/infiniband/hw/mlx4/mad.c if (dev->sm_ah[p]) sm_ah 1082 drivers/infiniband/hw/mlx4/mad.c rdma_destroy_ah(dev->sm_ah[p], 0); sm_ah 216 drivers/infiniband/hw/mlx4/mcg.c if (!dev->sm_ah[ctx->port - 1]) { sm_ah 221 drivers/infiniband/hw/mlx4/mcg.c mlx4_ib_query_ah(dev->sm_ah[ctx->port - 1], &ah_attr); sm_ah 240 drivers/infiniband/hw/mlx4/mcg.c rdma_query_ah(dev->sm_ah[ctx->port - 1], &ah_attr); sm_ah 593 drivers/infiniband/hw/mlx4/mlx4_ib.h struct ib_ah *sm_ah[MLX4_MAX_PORTS]; sm_ah 357 drivers/infiniband/hw/mthca/mthca_dev.h struct ib_ah *sm_ah[MTHCA_MAX_PORTS]; sm_ah 97 drivers/infiniband/hw/mthca/mthca_mad.c if (dev->sm_ah[port_num - 1]) sm_ah 98 drivers/infiniband/hw/mthca/mthca_mad.c rdma_destroy_ah(dev->sm_ah[port_num - 1], 0); sm_ah 99 drivers/infiniband/hw/mthca/mthca_mad.c dev->sm_ah[port_num - 1] = new_ah; sm_ah 188 drivers/infiniband/hw/mthca/mthca_mad.c if ((send_buf->ah = dev->sm_ah[port_num - 1])) sm_ah 349 drivers/infiniband/hw/mthca/mthca_mad.c if (dev->sm_ah[p]) sm_ah 350 drivers/infiniband/hw/mthca/mthca_mad.c rdma_destroy_ah(dev->sm_ah[p], sm_ah 104 drivers/infiniband/hw/qib/qib_mad.c if (!ibp->rvp.sm_ah) { sm_ah 113 drivers/infiniband/hw/qib/qib_mad.c ibp->rvp.sm_ah = ibah_to_rvtah(ah); sm_ah 119 drivers/infiniband/hw/qib/qib_mad.c send_buf->ah = &ibp->rvp.sm_ah->ibah; sm_ah 715 drivers/infiniband/hw/qib/qib_mad.c if (ibp->rvp.sm_ah) { sm_ah 717 drivers/infiniband/hw/qib/qib_mad.c rdma_ah_set_dlid(&ibp->rvp.sm_ah->attr, sm_ah 720 drivers/infiniband/hw/qib/qib_mad.c rdma_ah_set_sl(&ibp->rvp.sm_ah->attr, msl); sm_ah 162 drivers/infiniband/sw/rdmavt/mad.c if (rvp->sm_ah) { sm_ah 163 drivers/infiniband/sw/rdmavt/mad.c rdma_destroy_ah(&rvp->sm_ah->ibah, sm_ah 165 drivers/infiniband/sw/rdmavt/mad.c rvp->sm_ah = NULL; sm_ah 142 include/rdma/rdma_vt.h struct rvt_ah *sm_ah;