Home
last modified time | relevance | path

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

/Linux-v5.15/net/mac80211/
Dmesh_pathtbl.c52 struct mesh_table *newtbl; in mesh_table_alloc() local
54 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()
63 if (rhashtable_init(&newtbl->rhead, &mesh_rht_params)) { in mesh_table_alloc()
64 kfree(newtbl); in mesh_table_alloc()
[all …]
/Linux-v5.15/arch/powerpc/platforms/pseries/
Diommu.c1412 struct iommu_table *newtbl; in enable_ddw() local
1428 newtbl = iommu_pseries_alloc_table(pci->phb->node); in enable_ddw()
1429 if (!newtbl) { in enable_ddw()
1434 iommu_table_setparms_common(newtbl, pci->phb->bus->number, create.liobn, win_addr, in enable_ddw()
1436 iommu_init_table(newtbl, pci->phb->node, start, end); in enable_ddw()
1438 pci->table_group->tables[1] = newtbl; in enable_ddw()
1447 set_iommu_table_base(&dev->dev, newtbl); in enable_ddw()