Home
last modified time | relevance | path

Searched refs:nht (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/net/core/
Dneighbour.c204 struct neigh_hash_table *nht; in neigh_remove_one() local
210 nht = rcu_dereference_protected(tbl->nht, in neigh_remove_one()
212 hash_val = tbl->hash(pkey, ndel->dev, nht->hash_rnd); in neigh_remove_one()
213 hash_val = hash_val >> (32 - nht->hash_shift); in neigh_remove_one()
215 np = &nht->hash_buckets[hash_val]; in neigh_remove_one()
297 struct neigh_hash_table *nht; in neigh_flush_dev() local
299 nht = rcu_dereference_protected(tbl->nht, in neigh_flush_dev()
302 for (i = 0; i < (1 << nht->hash_shift); i++) { in neigh_flush_dev()
304 struct neighbour __rcu **np = &nht->hash_buckets[i]; in neigh_flush_dev()
473 struct neigh_hash_table *nht = container_of(head, in neigh_hash_free_rcu() local
[all …]
/kernel/linux/linux-5.10/include/net/
Dneighbour.h227 struct neigh_hash_table __rcu *nht; member
294 struct neigh_hash_table *nht = rcu_dereference_bh(tbl->nht); in ___neigh_lookup_noref() local
298 hash_val = hash(pkey, dev, nht->hash_rnd) >> (32 - nht->hash_shift); in ___neigh_lookup_noref()
299 for (n = rcu_dereference_bh(nht->hash_buckets[hash_val]); in ___neigh_lookup_noref()
385 struct neigh_hash_table *nht; member