Home
last modified time | relevance | path

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

/linux-4.4.14/net/mac80211/
Dmesh_pathtbl.c78 hlist_for_each_entry_rcu(node, &tbl->hash_buckets[i], list)
90 newtbl->hash_buckets = kzalloc(sizeof(struct hlist_head) * in mesh_table_alloc()
93 if (!newtbl->hash_buckets) { in mesh_table_alloc()
101 kfree(newtbl->hash_buckets); in mesh_table_alloc()
120 kfree(tbl->hash_buckets); in __mesh_table_free()
132 mesh_hash = tbl->hash_buckets; in mesh_table_free()
172 oldhash = oldtbl->hash_buckets; in mesh_table_grow()
182 hlist_for_each_safe(p, q, &newtbl->hash_buckets[i]) in mesh_table_grow()
342 bucket = &tbl->hash_buckets[mesh_table_hash(dst, sdata, tbl)]; in mpath_lookup()
553 bucket = &tbl->hash_buckets[hash_idx]; in mesh_path_add()
[all …]
Dmesh.h149 struct hlist_head *hash_buckets; member
/linux-4.4.14/net/core/
Dneighbour.c134 np = &nht->hash_buckets[i]; in neigh_forced_gc()
205 struct neighbour __rcu **np = &nht->hash_buckets[i]; in neigh_flush_dev()
337 ret->hash_buckets = buckets; in neigh_hash_alloc()
350 struct neighbour __rcu **buckets = nht->hash_buckets; in neigh_hash_free_rcu()
376 for (n = rcu_dereference_protected(old_nht->hash_buckets[i], in neigh_hash_grow()
389 new_nht->hash_buckets[hash], in neigh_hash_grow()
391 rcu_assign_pointer(new_nht->hash_buckets[hash], n); in neigh_hash_grow()
434 for (n = rcu_dereference_bh(nht->hash_buckets[hash_val]); in neigh_lookup_nodev()
506 for (n1 = rcu_dereference_protected(nht->hash_buckets[hash_val], in __neigh_create()
523 rcu_dereference_protected(nht->hash_buckets[hash_val], in __neigh_create()
[all …]
/linux-4.4.14/include/net/
Dneighbour.h183 struct neighbour __rcu **hash_buckets; member
284 for (n = rcu_dereference_bh(nht->hash_buckets[hash_val]); in ___neigh_lookup_noref()