Home
last modified time | relevance | path

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

/Linux-v4.19/net/core/
Dneighbour.c146 struct neigh_hash_table *nht; in neigh_remove_one() local
152 nht = rcu_dereference_protected(tbl->nht, in neigh_remove_one()
154 hash_val = tbl->hash(pkey, ndel->dev, nht->hash_rnd); in neigh_remove_one()
155 hash_val = hash_val >> (32 - nht->hash_shift); in neigh_remove_one()
157 np = &nht->hash_buckets[hash_val]; in neigh_remove_one()
171 struct neigh_hash_table *nht; in neigh_forced_gc() local
176 nht = rcu_dereference_protected(tbl->nht, in neigh_forced_gc()
178 for (i = 0; i < (1 << nht->hash_shift); i++) { in neigh_forced_gc()
182 np = &nht->hash_buckets[i]; in neigh_forced_gc()
238 struct neigh_hash_table *nht; in neigh_flush_dev() local
[all …]
/Linux-v4.19/include/net/
Dneighbour.h220 struct neigh_hash_table __rcu *nht; member
282 struct neigh_hash_table *nht = rcu_dereference_bh(tbl->nht); in ___neigh_lookup_noref() local
286 hash_val = hash(pkey, dev, nht->hash_rnd) >> (32 - nht->hash_shift); in ___neigh_lookup_noref()
287 for (n = rcu_dereference_bh(nht->hash_buckets[hash_val]); in ___neigh_lookup_noref()
372 struct neigh_hash_table *nht; member