Home
last modified time | relevance | path

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

/Linux-v4.19/arch/s390/numa/
Dtoptree.c30 struct toptree __ref *toptree_alloc(int level, int id) in toptree_alloc()
32 struct toptree *res; in toptree_alloc()
56 static void toptree_remove(struct toptree *cand) in toptree_remove()
58 struct toptree *oldparent; in toptree_remove()
74 void __ref toptree_free(struct toptree *cand) in toptree_free()
76 struct toptree *child, *tmp; in toptree_free()
100 void toptree_update_mask(struct toptree *cand) in toptree_update_mask()
102 struct toptree *child; in toptree_update_mask()
122 static int toptree_insert(struct toptree *cand, struct toptree *target) in toptree_insert()
141 static void toptree_move_children(struct toptree *cand, struct toptree *target) in toptree_move_children()
[all …]
Dmode_emu.c87 static int cores_pinned(struct toptree *node) in cores_pinned()
95 static int core_pinned_to_node_id(struct toptree *core) in core_pinned_to_node_id()
103 static int cores_free(struct toptree *tree) in cores_free()
105 struct toptree *core; in cores_free()
118 static struct toptree *core_node(struct toptree *core) in core_node()
126 static struct toptree *core_drawer(struct toptree *core) in core_drawer()
134 static struct toptree *core_book(struct toptree *core) in core_book()
142 static struct toptree *core_mc(struct toptree *core) in core_mc()
150 static int dist_core_to_core(struct toptree *core1, struct toptree *core2) in dist_core_to_core()
165 static int dist_node_to_core(struct toptree *node, struct toptree *core) in dist_node_to_core()
[all …]
Dtoptree.h15 struct toptree { struct
19 struct toptree *parent; argument
24 struct toptree *toptree_alloc(int level, int id); argument
25 void toptree_free(struct toptree *cand);
26 void toptree_update_mask(struct toptree *cand);
27 void toptree_unify(struct toptree *cand);
28 struct toptree *toptree_get_child(struct toptree *cand, int id);
29 void toptree_move(struct toptree *cand, struct toptree *target);
30 int toptree_count(struct toptree *context, int level);
32 struct toptree *toptree_first(struct toptree *context, int level);
[all …]
DMakefile3 obj-y += toptree.o