Searched refs:hash_buckets (Results 1 – 10 of 10) sorted by relevance
/Linux-v6.1/net/hsr/ |
D | hsr_debugfs.c | 37 for (i = 0 ; i < priv->hash_buckets; i++) { in hsr_node_table_show()
|
D | hsr_device.c | 493 hsr->hash_buckets = HSR_HSIZE; in hsr_dev_finalize() 495 for (i = 0; i < hsr->hash_buckets; i++) in hsr_dev_finalize()
|
D | hsr_main.h | 202 u32 hash_buckets; member
|
D | hsr_framereg.c | 34 return reciprocal_scale(hash, hsr->hash_buckets); in hsr_mac_hash() 532 for (i = 0; i < hsr->hash_buckets; i++) { in hsr_prune_nodes()
|
D | hsr_netlink.c | 117 for (i = 0; i < hsr->hash_buckets; i++) in hsr_dellink()
|
/Linux-v6.1/net/core/ |
D | neighbour.c | 242 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-v6.1/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.1/include/net/ |
D | neighbour.h | 193 struct neighbour __rcu **hash_buckets; member 307 for (n = rcu_dereference_bh(nht->hash_buckets[hash_val]); in ___neigh_lookup_noref()
|
D | amt.h | 337 u32 hash_buckets; member
|
/Linux-v6.1/io_uring/ |
D | io_uring.c | 261 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()
|