Searched refs:hash_buckets (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.6/drivers/net/ |
D | amt.c | 125 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-v6.6/net/core/ |
D | neighbour.c | 242 np = &nht->hash_buckets[hash_val]; in neigh_remove_one() 384 struct neighbour __rcu **np = &nht->hash_buckets[i]; in neigh_flush_dev() 546 ret->hash_buckets = buckets; in neigh_hash_alloc() 559 struct neighbour __rcu **buckets = nht->hash_buckets; in neigh_hash_free_rcu() 587 for (n = rcu_dereference_protected(old_nht->hash_buckets[i], in neigh_hash_grow() 600 new_nht->hash_buckets[hash], in neigh_hash_grow() 602 rcu_assign_pointer(new_nht->hash_buckets[hash], n); in neigh_hash_grow() 689 for (n1 = rcu_dereference_protected(nht->hash_buckets[hash_val], in ___neigh_create() 710 rcu_dereference_protected(nht->hash_buckets[hash_val], in ___neigh_create() 712 rcu_assign_pointer(nht->hash_buckets[hash_val], n); in ___neigh_create() [all …]
|
/Linux-v6.6/include/net/ |
D | neighbour.h | 193 struct neighbour __rcu **hash_buckets; member 307 for (n = rcu_dereference(nht->hash_buckets[hash_val]); in ___neigh_lookup_noref()
|
D | amt.h | 337 u32 hash_buckets; member
|
/Linux-v6.6/io_uring/ |
D | io_uring.c | 283 unsigned hash_buckets = 1U << bits; in io_alloc_hash_table() local 284 size_t hash_size = hash_buckets * sizeof(table->hbs[0]); in io_alloc_hash_table() 291 init_hash_table(table, hash_buckets); in io_alloc_hash_table()
|