Lines Matching refs:lvlid
207 static unsigned int topo_unit_count(u32 lvlid, enum x86_topology_domains at_level, in topo_unit_count() argument
213 end = lvlid + (1U << x86_topo_system.dom_shifts[at_level]); in topo_unit_count()
216 for (id = find_next_bit(map, end, lvlid); id < end; id = find_next_bit(map, end, ++id)) in topo_unit_count()
328 unsigned int lvlid = topo_apicid(apicid, at_level); in topology_get_logical_id() local
330 if (lvlid >= MAX_LOCAL_APIC) in topology_get_logical_id()
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()
361 unsigned int lvlid = topo_apicid(apicid, at_level); in topology_unit_count() local
363 if (lvlid >= MAX_LOCAL_APIC) in topology_unit_count()
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()