Searched refs:newtbl (Results 1 – 2 of 2) sorted by relevance
84 struct mesh_table *newtbl; in mesh_table_alloc() local86 newtbl = kmalloc(sizeof(struct mesh_table), GFP_ATOMIC); in mesh_table_alloc()87 if (!newtbl) in mesh_table_alloc()90 newtbl->hash_buckets = kzalloc(sizeof(struct hlist_head) * in mesh_table_alloc()93 if (!newtbl->hash_buckets) { in mesh_table_alloc()94 kfree(newtbl); in mesh_table_alloc()98 newtbl->hashwlock = kmalloc(sizeof(spinlock_t) * in mesh_table_alloc()100 if (!newtbl->hashwlock) { in mesh_table_alloc()101 kfree(newtbl->hash_buckets); in mesh_table_alloc()102 kfree(newtbl); in mesh_table_alloc()[all …]
155 int (*copy_node) (struct hlist_node *p, struct mesh_table *newtbl);