Searched refs:to_mah (Results 1 – 7 of 7) sorted by relevance
71 struct mlx4_ib_ah *ah = to_mah(ibah); in mlx4_ib_query_ah()98 kfree(to_mah(ah)); in mlx4_ib_destroy_ah()
238 static inline struct mlx4_ib_ah *to_mah(struct ib_ah *ibah) in to_mah() function
1215 struct mlx4_ib_ah *ah = to_mah(wr->wr.ud.ah); in build_mlx_header()1414 memcpy(dseg->av, &to_mah(wr->wr.ud.ah)->av, sizeof (struct mlx4_av)); in set_datagram_seg()
318 static inline struct mthca_ah *to_mah(struct ib_ah *ibah) in to_mah() function
1493 mthca_ah_grh_present(to_mah(wr->wr.ud.ah)), in build_mlx_header()1496 err = mthca_read_ah(dev, to_mah(wr->wr.ud.ah), &sqp->ud_header); in build_mlx_header()1592 useg->lkey = cpu_to_be32(to_mah(wr->wr.ud.ah)->key); in set_tavor_ud_seg()1593 useg->av_addr = cpu_to_be64(to_mah(wr->wr.ud.ah)->avdma); in set_tavor_ud_seg()1602 memcpy(useg->av, to_mah(wr->wr.ud.ah)->av, MTHCA_AV_SIZE); in set_arbel_ud_seg()
294 struct mthca_ah *ah = to_mah(ibah); in mthca_ah_query()
458 mthca_destroy_ah(to_mdev(ah->device), to_mah(ah)); in mthca_ah_destroy()