Home
last modified time | relevance | path

Searched refs:newtbl (Results 1 – 2 of 2) sorted by relevance

/linux-3.4.99/net/mac80211/
Dmesh_pathtbl.c86 struct mesh_table *newtbl; in mesh_table_alloc() local
88 newtbl = kmalloc(sizeof(struct mesh_table), GFP_ATOMIC); in mesh_table_alloc()
89 if (!newtbl) in mesh_table_alloc()
92 newtbl->hash_buckets = kzalloc(sizeof(struct hlist_head) * in mesh_table_alloc()
95 if (!newtbl->hash_buckets) { in mesh_table_alloc()
96 kfree(newtbl); in mesh_table_alloc()
100 newtbl->hashwlock = kmalloc(sizeof(spinlock_t) * in mesh_table_alloc()
102 if (!newtbl->hashwlock) { in mesh_table_alloc()
103 kfree(newtbl->hash_buckets); in mesh_table_alloc()
104 kfree(newtbl); in mesh_table_alloc()
[all …]
Dmesh.h146 int (*copy_node) (struct hlist_node *p, struct mesh_table *newtbl);