Lines Matching refs:ah
550 if (path->ah) in path_free()
551 ipoib_put_ah(path->ah); in path_free()
668 struct ipoib_ah *ah = NULL; in path_rec_completion() local
688 ah = ipoib_create_ah(dev, priv->pd, &av); in path_rec_completion()
693 if (!IS_ERR_OR_NULL(ah)) { in path_rec_completion()
696 old_ah = path->ah; in path_rec_completion()
697 path->ah = ah; in path_rec_completion()
700 ah, be16_to_cpu(pathrec->dlid), pathrec->sl); in path_rec_completion()
706 if (neigh->ah) { in path_rec_completion()
707 WARN_ON(neigh->ah != old_ah); in path_rec_completion()
715 ipoib_put_ah(neigh->ah); in path_rec_completion()
717 kref_get(&path->ah->ref); in path_rec_completion()
718 neigh->ah = path->ah; in path_rec_completion()
742 if (IS_ERR_OR_NULL(ah)) in path_rec_completion()
842 if (path->ah) { in neigh_add_path()
843 kref_get(&path->ah->ref); in neigh_add_path()
844 neigh->ah = path->ah; in neigh_add_path()
862 ipoib_send(dev, skb, path->ah, IPOIB_QPN(daddr)); in neigh_add_path()
867 neigh->ah = NULL; in neigh_add_path()
932 if (path->ah) { in unicast_arp_send()
937 ipoib_send(dev, skb, path->ah, IPOIB_QPN(cb->hwaddr)); in unicast_arp_send()
1013 } else if (neigh->ah) { in ipoib_start_xmit()
1014 ipoib_send(dev, skb, neigh->ah, IPOIB_QPN(cb->hwaddr)); in ipoib_start_xmit()
1311 if (neigh->ah) in ipoib_neigh_dtor()
1312 ipoib_put_ah(neigh->ah); in ipoib_neigh_dtor()