Searched refs:hash_buckets (Results 1 – 6 of 6) sorted by relevance
/linux-3.4.99/net/mac80211/ |
D | mesh_pathtbl.c | 80 hlist_for_each_entry_rcu(node, p, &tbl->hash_buckets[i], list) 92 newtbl->hash_buckets = kzalloc(sizeof(struct hlist_head) * in mesh_table_alloc() 95 if (!newtbl->hash_buckets) { in mesh_table_alloc() 103 kfree(newtbl->hash_buckets); in mesh_table_alloc() 122 kfree(tbl->hash_buckets); in __mesh_table_free() 134 mesh_hash = tbl->hash_buckets; in mesh_table_free() 174 oldhash = oldtbl->hash_buckets; in mesh_table_grow() 184 hlist_for_each_safe(p, q, &newtbl->hash_buckets[i]) in mesh_table_grow() 347 bucket = &tbl->hash_buckets[mesh_table_hash(dst, sdata, tbl)]; in mpath_lookup() 554 bucket = &tbl->hash_buckets[hash_idx]; in mesh_path_add() [all …]
|
D | mesh.h | 140 struct hlist_head *hash_buckets; member
|
/linux-3.4.99/net/core/ |
D | neighbour.c | 144 np = &nht->hash_buckets[i]; in neigh_forced_gc() 215 struct neighbour __rcu **np = &nht->hash_buckets[i]; in neigh_flush_dev() 351 ret->hash_buckets = buckets; in neigh_hash_alloc() 364 struct neighbour __rcu **buckets = nht->hash_buckets; in neigh_hash_free_rcu() 390 for (n = rcu_dereference_protected(old_nht->hash_buckets[i], in neigh_hash_grow() 403 new_nht->hash_buckets[hash], in neigh_hash_grow() 405 rcu_assign_pointer(new_nht->hash_buckets[hash], n); in neigh_hash_grow() 428 for (n = rcu_dereference_bh(nht->hash_buckets[hash_val]); in neigh_lookup() 458 for (n = rcu_dereference_bh(nht->hash_buckets[hash_val]); in neigh_lookup_nodev() 530 for (n1 = rcu_dereference_protected(nht->hash_buckets[hash_val], in neigh_create() [all …]
|
/linux-3.4.99/include/net/ |
D | arp.h | 27 for (n = rcu_dereference_bh(nht->hash_buckets[hash_val]); in __ipv4_neigh_lookup()
|
D | ndisc.h | 102 for (n = rcu_dereference_bh(nht->hash_buckets[hash_val]); in __ipv6_neigh_lookup()
|
D | neighbour.h | 145 struct neighbour __rcu **hash_buckets; member
|