Lines Matching refs:hh
505 seqlock_init(&n->hh.hh_lock); in neigh_alloc()
1263 struct hh_cache *hh; in neigh_update_hhs() local
1271 hh = &neigh->hh; in neigh_update_hhs()
1272 if (READ_ONCE(hh->hh_len)) { in neigh_update_hhs()
1273 write_seqlock_bh(&hh->hh_lock); in neigh_update_hhs()
1274 update(hh, neigh->dev, neigh->ha); in neigh_update_hhs()
1275 write_sequnlock_bh(&hh->hh_lock); in neigh_update_hhs()
1530 struct hh_cache *hh = &n->hh; in neigh_hh_init() local
1537 if (!hh->hh_len) in neigh_hh_init()
1538 dev->header_ops->cache(n, hh, prot); in neigh_hh_init()
1554 if (dev->header_ops->cache && !READ_ONCE(neigh->hh.hh_len)) in neigh_resolve_output()