Searched full:parent2 (Results 1 – 5 of 5) sorted by relevance
| /linux/tools/testing/selftests/cgroup/ |
| H A D | test_cpu.c | 42 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 D | test_memcontrol.c | 131 char *parent, *child, *parent2 = NULL, *child2 = NULL; in test_memcg_subtree_control() local 154 parent2 = cg_name(root, "memcg_test_1"); in test_memcg_subtree_control() 156 if (!parent2 || !child2) in test_memcg_subtree_control() 159 if (cg_create(parent2)) in test_memcg_subtree_control() 176 cg_destroy(parent2); in test_memcg_subtree_control() 178 free(parent2); in test_memcg_subtree_control()
|
| /linux/drivers/clk/ |
| H A D | clk-milbeaut.c | 36 #define M10V_SPI_PARENT2 "spi-parent2" 39 #define M10V_UHS1CLK2_PARENT2 "uhs1clk2-parent2" 44 #define M10V_NFCLK_PARENT2 "nfclk-parent2"
|
| H A D | clk_test.c | 573 struct clk *parent1, *parent2; in clk_test_multiple_parents_mux_set_range_set_parent_get_rate() local 583 parent2 = clk_hw_get_clk_kunit(test, &ctx->parents_ctx[1].hw, NULL); in clk_test_multiple_parents_mux_set_range_set_parent_get_rate() 584 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, parent2); in clk_test_multiple_parents_mux_set_range_set_parent_get_rate() 589 ret = clk_set_rate(parent2, DUMMY_CLOCK_RATE_2); in clk_test_multiple_parents_mux_set_range_set_parent_get_rate() 597 ret = clk_set_parent(clk, parent2); in clk_test_multiple_parents_mux_set_range_set_parent_get_rate()
|
| /linux/security/landlock/ |
| H A D | fs.c | 477 * Return: True if child1 may be moved from parent1 to parent2 without in test_no_more_access() 479 * that child2 may be used from parent2 to parent1 without increasing its access in test_no_more_access() 485 const struct layer_masks *const parent2, in test_no_more_access() 489 if (!may_refer(parent1, child1, parent2, child1_is_dir)) in test_no_more_access() 495 return may_refer(parent2, child2, parent1, child2_is_dir); in test_no_more_access() 782 * @dentry_child2: Dentry to the initial child of the parent2 path. This in is_access_to_paths_allowed() 852 * Simple requests have no parent2 to check, so parent2 is in is_access_to_paths_allowed() 439 no_more_access(const struct layer_access_masks * const parent1,const struct layer_access_masks * const child1,const bool child1_is_dir,const struct layer_access_masks * const parent2,const struct layer_access_masks * const child2,const bool child2_is_dir) no_more_access() argument
|