Home
last modified time | relevance | path

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

/linux-6.12.1/arch/x86/kernel/cpu/
Dtopology.c52 static struct { DECLARE_BITMAP(map, MAX_LOCAL_APIC); } apic_maps[TOPO_MAX_DOMAIN] __ro_after_init; variable
70 #define domain_weight(_dom) bitmap_weight(apic_maps[_dom].map, MAX_LOCAL_APIC)
265 set_bit(topo_apicid(apic_id, dom), apic_maps[dom].map); in topo_register_apic()
332 if (!test_bit(lvlid, apic_maps[at_level].map)) in topology_get_logical_id()
335 return bitmap_weight(apic_maps[at_level].map, lvlid); in topology_get_logical_id()
365 if (!test_bit(lvlid, apic_maps[at_level].map)) in topology_unit_count()
371 return topo_unit_count(lvlid, at_level, apic_maps[which_units].map); in topology_unit_count()
388 if (!test_bit(apic_id, apic_maps[TOPO_SMT_DOMAIN].map)) in topology_hotplug_apic()
517 firstid = find_first_bit(apic_maps[TOPO_SMT_DOMAIN].map, MAX_LOCAL_APIC); in topology_init_possible_cpus()
532 apicid = find_next_andnot_bit(apic_maps[TOPO_SMT_DOMAIN].map, phys_cpu_present_map, in topology_init_possible_cpus()