Searched refs:newtbl (Results 1 – 1 of 1) sorted by relevance
52 struct mesh_table *newtbl; in mesh_table_alloc() local54 newtbl = kmalloc(sizeof(struct mesh_table), GFP_ATOMIC); in mesh_table_alloc()55 if (!newtbl) in mesh_table_alloc()58 INIT_HLIST_HEAD(&newtbl->known_gates); in mesh_table_alloc()59 INIT_HLIST_HEAD(&newtbl->walk_head); in mesh_table_alloc()60 atomic_set(&newtbl->entries, 0); in mesh_table_alloc()61 spin_lock_init(&newtbl->gates_lock); in mesh_table_alloc()62 spin_lock_init(&newtbl->walk_lock); in mesh_table_alloc()64 return newtbl; in mesh_table_alloc()