• Home
  • Raw
  • Download

Lines Matching full:phys

221 static void toptree_to_numa_single(struct toptree *numa, struct toptree *phys,  in toptree_to_numa_single()  argument
226 toptree_for_each_safe(core, tmp, phys, CORE) { in toptree_to_numa_single()
238 static void move_level_to_numa_node(struct toptree *node, struct toptree *phys, in move_level_to_numa_node() argument
244 toptree_for_each_safe(cur, tmp, phys, level) { in move_level_to_numa_node()
261 static void move_level_to_numa(struct toptree *numa, struct toptree *phys, in move_level_to_numa() argument
267 move_level_to_numa_node(node, phys, level, perfect); in move_level_to_numa()
273 static void toptree_to_numa_first(struct toptree *numa, struct toptree *phys) in toptree_to_numa_first() argument
278 move_level_to_numa(numa, phys, DRAWER, true); in toptree_to_numa_first()
279 move_level_to_numa(numa, phys, DRAWER, false); in toptree_to_numa_first()
280 move_level_to_numa(numa, phys, BOOK, true); in toptree_to_numa_first()
281 move_level_to_numa(numa, phys, BOOK, false); in toptree_to_numa_first()
282 move_level_to_numa(numa, phys, MC, true); in toptree_to_numa_first()
283 move_level_to_numa(numa, phys, MC, false); in toptree_to_numa_first()
325 static struct toptree *toptree_to_numa(struct toptree *phys) in toptree_to_numa() argument
331 cores_total = emu_cores->total + cores_free(phys); in toptree_to_numa()
335 toptree_to_numa_first(numa, phys); in toptree_to_numa()
338 toptree_to_numa_single(numa, phys, 0); in toptree_to_numa()
339 toptree_to_numa_single(numa, phys, 1); in toptree_to_numa()
342 WARN_ON(cpumask_weight(&phys->mask)); in toptree_to_numa()
351 struct toptree *phys, *node, *drawer, *book, *mc, *core; in toptree_from_topology() local
355 phys = toptree_new(TOPTREE_ID_PHYS, 1); in toptree_from_topology()
359 node = toptree_get_child(phys, 0); in toptree_from_topology()
369 return phys; in toptree_from_topology()
457 struct toptree *phys, *numa; in emu_update_cpu_topology() local
461 phys = toptree_from_topology(); in emu_update_cpu_topology()
462 numa = toptree_to_numa(phys); in emu_update_cpu_topology()
463 toptree_free(phys); in emu_update_cpu_topology()