Home
last modified time | relevance | path

Searched refs:hash_buckets (Results 1 - 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/net/core/
H A Dneighbour.c215 np = &nht->hash_buckets[hash_val]; in neigh_remove_one()
337 struct neighbour __rcu **np = &nht->hash_buckets[i]; in neigh_flush_dev()
497 ret->hash_buckets = buckets; in neigh_hash_alloc()
510 struct neighbour __rcu **buckets = nht->hash_buckets; in neigh_hash_free_rcu()
538 for (n = rcu_dereference_protected(old_nht->hash_buckets[i], in neigh_hash_grow()
551 new_nht->hash_buckets[hash], in neigh_hash_grow()
553 rcu_assign_pointer(new_nht->hash_buckets[hash], n); in neigh_hash_grow()
640 for (n1 = rcu_dereference_protected(nht->hash_buckets[hash_val], in ___neigh_create()
660 rcu_dereference_protected(nht->hash_buckets[hash_val], in ___neigh_create()
662 rcu_assign_pointer(nht->hash_buckets[hash_va in ___neigh_create()
[all...]
/kernel/linux/linux-6.6/drivers/net/
H A 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; in amt_lookup_act_srcs()
[all...]
/kernel/linux/linux-5.10/include/net/
H A Dneighbour.h187 struct neighbour __rcu **hash_buckets; member
294 for (n = rcu_dereference_bh(nht->hash_buckets[hash_val]); in ___neigh_lookup_noref()
/kernel/linux/linux-6.6/net/core/
H A Dneighbour.c242 np = &nht->hash_buckets[hash_val]; in neigh_remove_one()
391 struct neighbour __rcu **np = &nht->hash_buckets[i]; in neigh_flush_dev()
553 ret->hash_buckets = buckets; in neigh_hash_alloc()
566 struct neighbour __rcu **buckets = nht->hash_buckets; in neigh_hash_free_rcu()
594 for (n = rcu_dereference_protected(old_nht->hash_buckets[i], in neigh_hash_grow()
607 new_nht->hash_buckets[hash], in neigh_hash_grow()
609 rcu_assign_pointer(new_nht->hash_buckets[hash], n); in neigh_hash_grow()
696 for (n1 = rcu_dereference_protected(nht->hash_buckets[hash_val], in ___neigh_create()
717 rcu_dereference_protected(nht->hash_buckets[hash_val], in ___neigh_create()
719 rcu_assign_pointer(nht->hash_buckets[hash_va in ___neigh_create()
[all...]
/kernel/linux/linux-6.6/include/net/
H A Damt.h337 u32 hash_buckets; member
H A Dneighbour.h193 struct neighbour __rcu **hash_buckets; member
307 for (n = rcu_dereference(nht->hash_buckets[hash_val]); in ___neigh_lookup_noref()
/kernel/linux/linux-6.6/io_uring/
H A Dio_uring.c271 unsigned hash_buckets = 1U << bits; in io_alloc_hash_table() local
272 size_t hash_size = hash_buckets * sizeof(table->hbs[0]); in io_alloc_hash_table()
279 init_hash_table(table, hash_buckets); in io_alloc_hash_table()

Completed in 17 milliseconds