Home
last modified time | relevance | path

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

/linux-4.4.14/arch/s390/numa/
Dtoptree.c28 struct toptree *toptree_alloc(int level, int id) in toptree_alloc()
30 struct toptree *res = kzalloc(sizeof(struct toptree), GFP_KERNEL); in toptree_alloc()
50 static void toptree_remove(struct toptree *cand) in toptree_remove()
52 struct toptree *oldparent; in toptree_remove()
68 void toptree_free(struct toptree *cand) in toptree_free()
70 struct toptree *child, *tmp; in toptree_free()
91 void toptree_update_mask(struct toptree *cand) in toptree_update_mask()
93 struct toptree *child; in toptree_update_mask()
113 static int toptree_insert(struct toptree *cand, struct toptree *target) in toptree_insert()
132 static void toptree_move_children(struct toptree *cand, struct toptree *target) in toptree_move_children()
[all …]
Dmode_emu.c84 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()
[all …]
Dtoptree.h14 struct toptree { struct
18 struct toptree *parent; argument
23 struct toptree *toptree_alloc(int level, int id); argument
24 void toptree_free(struct toptree *cand);
25 void toptree_update_mask(struct toptree *cand);
26 void toptree_unify(struct toptree *cand);
27 struct toptree *toptree_get_child(struct toptree *cand, int id);
28 void toptree_move(struct toptree *cand, struct toptree *target);
29 int toptree_count(struct toptree *context, int level);
31 struct toptree *toptree_first(struct toptree *context, int level);
[all …]
DMakefile2 obj-y += toptree.o