Searched refs:child2 (Results 1 – 2 of 2) sorted by relevance
/tools/include/linux/ |
D | rbtree_augmented.h | 220 struct rb_node *successor = child, *child2; in __rb_erase_augmented() local 234 child2 = successor->rb_right; in __rb_erase_augmented() 257 child2 = successor->rb_right; in __rb_erase_augmented() 258 WRITE_ONCE(parent->rb_left, child2); in __rb_erase_augmented() 274 if (child2) { in __rb_erase_augmented() 276 rb_set_parent_color(child2, parent, RB_BLACK); in __rb_erase_augmented()
|
/tools/testing/selftests/cgroup/ |
D | test_memcontrol.c | 29 char *parent, *child, *parent2 = NULL, *child2 = NULL; in test_memcg_subtree_control() local 53 child2 = cg_name(root, "memcg_test_1/memcg_test_1"); in test_memcg_subtree_control() 54 if (!parent2 || !child2) in test_memcg_subtree_control() 60 if (cg_create(child2)) in test_memcg_subtree_control() 63 if (cg_read(child2, "cgroup.controllers", buf, sizeof(buf))) in test_memcg_subtree_control() 66 if (!cg_read_strstr(child2, "cgroup.controllers", "memory")) in test_memcg_subtree_control() 72 cg_destroy(child2); in test_memcg_subtree_control() 77 free(child2); in test_memcg_subtree_control()
|