Home
last modified time | relevance | path

Searched refs:parent2 (Results 1 – 3 of 3) sorted by relevance

/linux/tools/testing/selftests/cgroup/
H A Dtest_cpu.c42 char *parent = NULL, *child = NULL, *parent2 = NULL, *child2 = NULL; in test_cpucg_subtree_control() local
67 parent2 = cg_name(root, "cpucg_test_1"); in test_cpucg_subtree_control()
68 if (!parent2) in test_cpucg_subtree_control()
71 if (cg_create(parent2)) in test_cpucg_subtree_control()
74 child2 = cg_name(parent2, "cpucg_test_child"); in test_cpucg_subtree_control()
93 cg_destroy(parent2); in test_cpucg_subtree_control()
94 free(parent2); in test_cpucg_subtree_control()
H A Dtest_memcontrol.c113 char *parent, *child, *parent2 = NULL, *child2 = NULL; in test_memcg_subtree_control()
136 parent2 = cg_name(root, "memcg_test_1"); in test_memcg_subtree_control()
138 if (!parent2 || !child2) in test_memcg_subtree_control()
141 if (cg_create(parent2)) in test_memcg_subtree_control()
158 cg_destroy(parent2); in test_memcg_subtree_control()
160 free(parent2); in test_memcg_subtree_control()
111 char *parent, *child, *parent2 = NULL, *child2 = NULL; test_memcg_subtree_control() local
/linux/security/landlock/
H A Dfs.c439 const struct layer_access_masks *const parent2, in no_more_access() argument
443 if (!may_refer(parent1, child1, parent2, child1_is_dir)) in no_more_access()
449 return may_refer(parent2, child2, parent1, child2_is_dir); in no_more_access()