Lines Matching refs:hh
444 seqlock_init(&n->hh.hh_lock); in neigh_alloc()
1220 struct hh_cache *hh; in neigh_update_hhs() local
1228 hh = &neigh->hh; in neigh_update_hhs()
1229 if (READ_ONCE(hh->hh_len)) { in neigh_update_hhs()
1230 write_seqlock_bh(&hh->hh_lock); in neigh_update_hhs()
1231 update(hh, neigh->dev, neigh->ha); in neigh_update_hhs()
1232 write_sequnlock_bh(&hh->hh_lock); in neigh_update_hhs()
1487 struct hh_cache *hh = &n->hh; in neigh_hh_init() local
1494 if (!hh->hh_len) in neigh_hh_init()
1495 dev->header_ops->cache(n, hh, prot); in neigh_hh_init()
1511 if (dev->header_ops->cache && !READ_ONCE(neigh->hh.hh_len)) in neigh_resolve_output()