Home
last modified time | relevance | path

Searched refs:grandchild (Results 1 – 5 of 5) sorted by relevance

/linux/tools/testing/selftests/x86/
H A Damx.c317 pid_t parent, child, grandchild; in test_dynamic_state() local
368 grandchild = fork(); in test_dynamic_state()
369 if (grandchild < 0) { in test_dynamic_state()
372 } else if (!grandchild) { in test_dynamic_state()
437 pid_t child, grandchild; in test_fork() local
457 grandchild = fork(); in test_fork()
458 if (grandchild < 0) { in test_fork()
461 } else if (grandchild > 0) { in test_fork()
/linux/tools/testing/selftests/namespaces/
H A Dnsid_test.c640 pid_t grandchild = fork(); in TEST_F() local
641 if (grandchild == 0) { in TEST_F()
647 } else if (grandchild > 0) { in TEST_F()
650 write(pipefd[1], &grandchild, sizeof(grandchild)); in TEST_F()
761 pid_t grandchild = fork(); in TEST_F() local
762 if (grandchild == 0) { in TEST_F()
768 } else if (grandchild > 0) { in TEST_F()
771 write(pipefd[1], &grandchild, sizeof(grandchild)); in TEST_F()
/linux/drivers/gpu/drm/imx/dc/
H A Ddc-drv.c54 struct device_node *child, *grandchild; in dc_add_components() local
64 for_each_available_child_of_node(child, grandchild) in dc_add_components()
67 grandchild); in dc_add_components()
/linux/kernel/cgroup/
H A Drstat.c204 struct cgroup_subsys_state *parent, *grandchild; in css_rstat_push_children() local
243 grandchild = crstatc->updated_children; in css_rstat_push_children()
244 if (grandchild != child) { in css_rstat_push_children()
247 grandchild->rstat_flush_next = ghead; in css_rstat_push_children()
248 ghead = grandchild; in css_rstat_push_children()
/linux/drivers/of/
H A Dunittest.c1913 struct device_node *np, *child, *grandchild; in of_unittest_platform_populate() local
1975 for_each_child_of_node(child, grandchild) { in of_unittest_platform_populate()
1976 if (!of_property_present(grandchild, "compatible")) in of_unittest_platform_populate()
1978 pdev = of_find_device_by_node(grandchild); in of_unittest_platform_populate()
1981 grandchild); in of_unittest_platform_populate()
1988 for_each_child_of_node(child, grandchild) in of_unittest_platform_populate()
1989 unittest(!of_find_device_by_node(grandchild), in of_unittest_platform_populate()
1991 grandchild); in of_unittest_platform_populate()