Lines Matching refs:toptree
84 static int cores_pinned(struct toptree *node) in cores_pinned()
92 static int core_pinned_to_node_id(struct toptree *core) in core_pinned_to_node_id()
100 static int cores_free(struct toptree *tree) in cores_free()
102 struct toptree *core; in cores_free()
115 static struct toptree *core_node(struct toptree *core) in core_node()
123 static struct toptree *core_book(struct toptree *core) in core_book()
131 static struct toptree *core_mc(struct toptree *core) in core_mc()
139 static int dist_core_to_core(struct toptree *core1, struct toptree *core2) in dist_core_to_core()
152 static int dist_node_to_core(struct toptree *node, struct toptree *core) in dist_node_to_core()
154 struct toptree *core_node; in dist_node_to_core()
165 static void toptree_unify_tree(struct toptree *tree) in toptree_unify_tree()
178 static struct toptree *node_for_core(struct toptree *numa, struct toptree *core, in node_for_core()
181 struct toptree *node, *node_best = NULL; in node_for_core()
208 static void toptree_to_numa_single(struct toptree *numa, struct toptree *phys, in toptree_to_numa_single()
211 struct toptree *node, *core, *tmp; in toptree_to_numa_single()
225 static void move_level_to_numa_node(struct toptree *node, struct toptree *phys, in move_level_to_numa_node()
229 struct toptree *cur, *tmp; in move_level_to_numa_node()
248 static void move_level_to_numa(struct toptree *numa, struct toptree *phys, in move_level_to_numa()
251 struct toptree *node; in move_level_to_numa()
260 static void toptree_to_numa_first(struct toptree *numa, struct toptree *phys) in toptree_to_numa_first()
262 struct toptree *core; in toptree_to_numa_first()
277 static struct toptree *toptree_new(int id, int nodes) in toptree_new()
279 struct toptree *tree; in toptree_new()
312 static struct toptree *toptree_to_numa(struct toptree *phys) in toptree_to_numa()
315 struct toptree *numa; in toptree_to_numa()
336 static struct toptree *toptree_from_topology(void) in toptree_from_topology()
338 struct toptree *phys, *node, *book, *mc, *core; in toptree_from_topology()
361 static void topology_add_core(struct toptree *core) in topology_add_core()
379 static void toptree_to_topology(struct toptree *numa) in toptree_to_topology()
381 struct toptree *core; in toptree_to_topology()
421 struct toptree *phys, *numa; in emu_update_cpu_topology()