Home
last modified time | relevance | path

Searched refs:hash_buckets (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/net/core/
Dneighbour.c242 np = &nht->hash_buckets[hash_val]; in neigh_remove_one()
373 struct neighbour __rcu **np = &nht->hash_buckets[i]; in neigh_flush_dev()
535 ret->hash_buckets = buckets; in neigh_hash_alloc()
548 struct neighbour __rcu **buckets = nht->hash_buckets; in neigh_hash_free_rcu()
576 for (n = rcu_dereference_protected(old_nht->hash_buckets[i], in neigh_hash_grow()
589 new_nht->hash_buckets[hash], in neigh_hash_grow()
591 rcu_assign_pointer(new_nht->hash_buckets[hash], n); in neigh_hash_grow()
634 for (n = rcu_dereference_bh(nht->hash_buckets[hash_val]); in neigh_lookup_nodev()
709 for (n1 = rcu_dereference_protected(nht->hash_buckets[hash_val], in ___neigh_create()
730 rcu_dereference_protected(nht->hash_buckets[hash_val], in ___neigh_create()
[all …]
/linux-6.1.9/drivers/net/
Damt.c125 return reciprocal_scale(hash, tunnel->amt->hash_buckets); in amt_source_hash()
202 return reciprocal_scale(hash, tunnel->amt->hash_buckets); in amt_group_hash()
272 for (i = 0; i < amt->hash_buckets; i++) in amt_del_group()
420 buckets = amt->hash_buckets; in amt_group_work()
477 (sizeof(struct hlist_head) * amt->hash_buckets), in amt_add_group()
490 for (i = 0; i < amt->hash_buckets; i++) in amt_add_group()
1328 for (i = 0; i < amt->hash_buckets; i++) in amt_clear_groups()
1361 for (i = 0; i < amt->hash_buckets; i++) { in amt_cleanup_srcs()
1369 for (i = 0; i < amt->hash_buckets; i++) { in amt_cleanup_srcs()
1519 for (i = 0; i < amt->hash_buckets; i++) { in amt_lookup_act_srcs()
[all …]
/linux-6.1.9/include/net/
Dneighbour.h193 struct neighbour __rcu **hash_buckets; member
307 for (n = rcu_dereference_bh(nht->hash_buckets[hash_val]); in ___neigh_lookup_noref()
Damt.h337 u32 hash_buckets; member
/linux-6.1.9/io_uring/
Dio_uring.c261 unsigned hash_buckets = 1U << bits; in io_alloc_hash_table() local
262 size_t hash_size = hash_buckets * sizeof(table->hbs[0]); in io_alloc_hash_table()
269 init_hash_table(table, hash_buckets); in io_alloc_hash_table()