Lines Matching refs:ah
322 if (path->ah) in path_free()
323 ipoib_put_ah(path->ah); in path_free()
440 struct ipoib_ah *ah = NULL; in path_rec_completion() local
460 ah = ipoib_create_ah(dev, priv->pd, &av); in path_rec_completion()
465 if (!IS_ERR_OR_NULL(ah)) { in path_rec_completion()
468 old_ah = path->ah; in path_rec_completion()
469 path->ah = ah; in path_rec_completion()
472 ah, be16_to_cpu(pathrec->dlid), pathrec->sl); in path_rec_completion()
478 if (neigh->ah) { in path_rec_completion()
479 WARN_ON(neigh->ah != old_ah); in path_rec_completion()
487 ipoib_put_ah(neigh->ah); in path_rec_completion()
489 kref_get(&path->ah->ref); in path_rec_completion()
490 neigh->ah = path->ah; in path_rec_completion()
514 if (IS_ERR_OR_NULL(ah)) in path_rec_completion()
614 if (path->ah) { in neigh_add_path()
615 kref_get(&path->ah->ref); in neigh_add_path()
616 neigh->ah = path->ah; in neigh_add_path()
634 ipoib_send(dev, skb, path->ah, IPOIB_QPN(daddr)); in neigh_add_path()
639 neigh->ah = NULL; in neigh_add_path()
704 if (path->ah) { in unicast_arp_send()
709 ipoib_send(dev, skb, path->ah, IPOIB_QPN(cb->hwaddr)); in unicast_arp_send()
785 } else if (neigh->ah) { in ipoib_start_xmit()
786 ipoib_send(dev, skb, neigh->ah, IPOIB_QPN(cb->hwaddr)); in ipoib_start_xmit()
1063 if (neigh->ah) in ipoib_neigh_dtor()
1064 ipoib_put_ah(neigh->ah); in ipoib_neigh_dtor()