Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/namespaces/
H A Dnsid_test.c38 * Kill grandchild first: timens_separate and pidns_separate fork a in FIXTURE_TEARDOWN()
39 * grandchild that calls pause(). It is reparented to init on child in FIXTURE_TEARDOWN()
649 /* Fork a grandchild to actually enter the new namespace */ in TEST_F()
650 pid_t grandchild = fork(); in TEST_F()
651 if (grandchild == 0) { in TEST_F()
655 } else if (grandchild > 0) { in TEST_F()
656 /* Child writes grandchild PID and waits */ in TEST_F()
658 write(pipefd[1], &grandchild, sizeof(grandchild)); in TEST_F()
660 pause(); /* Keep the parent alive to maintain the grandchild */ in TEST_F()
640 pid_t grandchild = fork(); TEST_F() local
761 pid_t grandchild = fork(); TEST_F() local
[all...]
/linux/drivers/gpu/drm/imx/dc/
H A Ddc-drv.c53 struct device_node *child, *grandchild; in dc_add_components() local
63 for_each_available_child_of_node(child, grandchild) in dc_add_components()
66 grandchild); in dc_add_components()
/linux/kernel/cgroup/
H A Drstat.c213 struct cgroup_subsys_state *parent, *grandchild; in css_rstat_push_children() local
252 grandchild = crstatc->updated_children; in css_rstat_push_children()
253 if (grandchild != child) { in css_rstat_push_children()
256 grandchild->rstat_flush_next = ghead; in css_rstat_push_children()
257 ghead = grandchild; in css_rstat_push_children()