Home
last modified time | relevance | path

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

/linux-6.15/net/core/
H A Dneighbour.c513 struct hlist_head *hash_heads; in neigh_hash_alloc() local
521 hash_heads = kzalloc(size, GFP_ATOMIC); in neigh_hash_alloc()
522 if (!hash_heads) { in neigh_hash_alloc()
526 ret->hash_heads = hash_heads; in neigh_hash_alloc()
539 kfree(nht->hash_heads); in neigh_hash_free_rcu()
568 hlist_add_head_rcu(&n->hash, &new_nht->hash_heads[hash]); in neigh_hash_grow()
655 neigh_for_each_in_bucket(n1, &nht->hash_heads[hash_val]) { in ___neigh_create()
671 hlist_add_head_rcu(&n->hash, &nht->hash_heads[hash_val]); in ___neigh_create()
933 neigh_for_each_in_bucket_safe(n, tmp, &nht->hash_heads[i]) { in neigh_periodic_work()
2675 neigh_for_each_in_bucket_rcu(n, &nht->hash_heads[h]) { in neigh_dump_table()
[all …]
/linux-6.15/include/net/
H A Dneighbour.h195 struct hlist_head *hash_heads; member
307 neigh_for_each_in_bucket_rcu(n, &nht->hash_heads[hash_val]) in ___neigh_lookup_noref()