child_pid          82 drivers/connector/cn_proc.c 	ev->event_data.fork.child_pid = task->pid;
child_pid         194 drivers/hid/hid-elo.c 	u16 child_vid, child_pid;
child_pid         205 drivers/hid/hid-elo.c 		child_pid = le16_to_cpu(child->descriptor.idProduct);
child_pid         215 drivers/hid/hid-elo.c 			switch (child_pid) {
child_pid         297 include/trace/events/sched.h 		__field(	pid_t,	child_pid			)
child_pid         304 include/trace/events/sched.h 		__entry->child_pid	= child->pid;
child_pid         309 include/trace/events/sched.h 		__entry->child_comm, __entry->child_pid)
child_pid          76 include/uapi/linux/cn_proc.h 			__kernel_pid_t child_pid;
child_pid         145 tools/perf/builtin-stat.c static volatile pid_t		child_pid			= -1;
child_pid         454 tools/perf/builtin-stat.c 		child_pid = evsel_list->workload.pid;
child_pid         509 tools/perf/builtin-stat.c 			if (child_pid != -1)
child_pid         510 tools/perf/builtin-stat.c 				kill(child_pid, SIGTERM);
child_pid         562 tools/perf/builtin-stat.c 			while (!waitpid(child_pid, &status, WNOHANG)) {
child_pid         571 tools/perf/builtin-stat.c 		if (child_pid != -1)
child_pid         572 tools/perf/builtin-stat.c 			wait4(child_pid, &status, 0, &stat_config.ru_data);
child_pid         665 tools/perf/builtin-stat.c 	if ((child_pid == -1) || stat_config.interval)
child_pid         675 tools/perf/builtin-stat.c 	child_pid = -1;
child_pid         692 tools/perf/builtin-stat.c 	if (child_pid != -1)
child_pid         693 tools/perf/builtin-stat.c 		kill(child_pid, SIGTERM);
child_pid         286 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c 	pid_t child_pid;
child_pid         289 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c 	child_pid = fork();
child_pid         295 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c 	if (!child_pid) {
child_pid         300 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c 		if (child_pid == -1) {
child_pid         307 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c 		if (waitpid(child_pid, &status, 0) == -1) {
child_pid        5256 tools/power/x86/turbostat/turbostat.c 	pid_t child_pid;
child_pid        5268 tools/power/x86/turbostat/turbostat.c 	child_pid = fork();
child_pid        5269 tools/power/x86/turbostat/turbostat.c 	if (!child_pid) {
child_pid        5276 tools/power/x86/turbostat/turbostat.c 		if (child_pid == -1)
child_pid        5281 tools/power/x86/turbostat/turbostat.c 		if (waitpid(child_pid, &status, 0) == -1)
child_pid          33 tools/testing/selftests/breakpoints/breakpoint_test.c static pid_t child_pid;
child_pid          46 tools/testing/selftests/breakpoints/breakpoint_test.c 	ret = ptrace(PTRACE_POKEUSER, child_pid,
child_pid          88 tools/testing/selftests/breakpoints/breakpoint_test.c 	dr7 = ptrace(PTRACE_PEEKUSER, child_pid,
child_pid         108 tools/testing/selftests/breakpoints/breakpoint_test.c 	ret = ptrace(PTRACE_POKEUSER, child_pid,
child_pid         276 tools/testing/selftests/breakpoints/breakpoint_test.c 		child_nr_tests = ptrace(PTRACE_PEEKDATA, child_pid,
child_pid         280 tools/testing/selftests/breakpoints/breakpoint_test.c 		if (ptrace(PTRACE_POKEDATA, child_pid, &trapped, 1))
child_pid         299 tools/testing/selftests/breakpoints/breakpoint_test.c 		ptrace(PTRACE_CONT, child_pid, NULL, 0);
child_pid         321 tools/testing/selftests/breakpoints/breakpoint_test.c 		ptrace(PTRACE_CONT, child_pid, NULL, 0);
child_pid         377 tools/testing/selftests/breakpoints/breakpoint_test.c 	ptrace(PTRACE_CONT, child_pid, NULL, 0);
child_pid         381 tools/testing/selftests/breakpoints/breakpoint_test.c 	ptrace(PTRACE_CONT, child_pid, NULL, 0);
child_pid         384 tools/testing/selftests/breakpoints/breakpoint_test.c 	ptrace(PTRACE_CONT, child_pid, NULL, 0);
child_pid         400 tools/testing/selftests/breakpoints/breakpoint_test.c 	child_pid = pid;
child_pid         700 tools/testing/selftests/kselftest_harness.h 	pid_t child_pid;
child_pid         707 tools/testing/selftests/kselftest_harness.h 	child_pid = fork();
child_pid         708 tools/testing/selftests/kselftest_harness.h 	if (child_pid < 0) {
child_pid         711 tools/testing/selftests/kselftest_harness.h 	} else if (child_pid == 0) {
child_pid         717 tools/testing/selftests/kselftest_harness.h 		waitpid(child_pid, &status, 0);
child_pid          50 tools/testing/selftests/pidfd/pidfd_poll_test.c 		int child_pid = fork();
child_pid          52 tools/testing/selftests/pidfd/pidfd_poll_test.c 		if (child_pid < 0) {
child_pid          62 tools/testing/selftests/pidfd/pidfd_poll_test.c 		if (child_pid == 0) {
child_pid          69 tools/testing/selftests/pidfd/pidfd_poll_test.c 		pidfd = sys_pidfd_open(child_pid, 0);
child_pid         109 tools/testing/selftests/pidfd/pidfd_poll_test.c 		if (waitpid(child_pid, NULL, 0) < 0)
child_pid          22 tools/testing/selftests/powerpc/pmu/ebb/task_event_pinned_vs_ebb_test.c static int setup_child_event(struct event *event, pid_t child_pid)
child_pid          32 tools/testing/selftests/powerpc/pmu/ebb/task_event_pinned_vs_ebb_test.c 	FAIL_IF(event_open_with_pid(event, child_pid));
child_pid          22 tools/testing/selftests/powerpc/pmu/ebb/task_event_vs_ebb_test.c static int setup_child_event(struct event *event, pid_t child_pid)
child_pid          30 tools/testing/selftests/powerpc/pmu/ebb/task_event_vs_ebb_test.c 	FAIL_IF(event_open_with_pid(event, child_pid));
child_pid          73 tools/testing/selftests/powerpc/pmu/lib.c int wait_for_child(pid_t child_pid)
child_pid          77 tools/testing/selftests/powerpc/pmu/lib.c 	if (waitpid(child_pid, &rc, 0) == -1) {
child_pid          90 tools/testing/selftests/powerpc/pmu/lib.c int kill_child_and_wait(pid_t child_pid)
child_pid          92 tools/testing/selftests/powerpc/pmu/lib.c 	kill(child_pid, SIGTERM);
child_pid          94 tools/testing/selftests/powerpc/pmu/lib.c 	return wait_for_child(child_pid);
child_pid          23 tools/testing/selftests/powerpc/pmu/lib.h extern int kill_child_and_wait(pid_t child_pid);
child_pid          24 tools/testing/selftests/powerpc/pmu/lib.h extern int wait_for_child(pid_t child_pid);
child_pid          32 tools/testing/selftests/powerpc/ptrace/ptrace-hwbreak.c static pid_t child_pid;
child_pid          39 tools/testing/selftests/powerpc/ptrace/ptrace-hwbreak.c 	ret = ptrace(PPC_PTRACE_GETHWDBGINFO, child_pid, NULL, &dbginfo);
child_pid          60 tools/testing/selftests/powerpc/ptrace/ptrace-hwbreak.c 	ret = ptrace(PTRACE_SET_DEBUGREG, child_pid, 0, addr);
child_pid          83 tools/testing/selftests/powerpc/ptrace/ptrace-hwbreak.c 	ret = ptrace(PPC_PTRACE_SETHWDEBUG, child_pid, 0, &info);
child_pid          95 tools/testing/selftests/powerpc/ptrace/ptrace-hwbreak.c 	ret = ptrace(PPC_PTRACE_DELHWDEBUG, child_pid, 0, watchpoint_handle);
child_pid         237 tools/testing/selftests/powerpc/ptrace/ptrace-hwbreak.c 	ptrace(PTRACE_CONT, child_pid, NULL, 0);
child_pid         249 tools/testing/selftests/powerpc/ptrace/ptrace-hwbreak.c 	ptrace(PTRACE_CONT, child_pid, NULL, 0);
child_pid         260 tools/testing/selftests/powerpc/ptrace/ptrace-hwbreak.c 	ptrace(PTRACE_CONT, child_pid, NULL, 0);
child_pid         275 tools/testing/selftests/powerpc/ptrace/ptrace-hwbreak.c 	i = ptrace(PPC_PTRACE_GETHWDBGINFO, child_pid, NULL, &dbginfo);
child_pid         291 tools/testing/selftests/powerpc/ptrace/ptrace-hwbreak.c 	ptrace(PTRACE_CONT, child_pid, NULL, 0);
child_pid         302 tools/testing/selftests/powerpc/ptrace/ptrace-hwbreak.c 		ptrace(PTRACE_CONT, child_pid, NULL, 0);
child_pid         326 tools/testing/selftests/powerpc/ptrace/ptrace-hwbreak.c 	child_pid = pid;
child_pid         747 tools/testing/selftests/seccomp/seccomp_bpf.c 	pid_t child_pid;
child_pid         749 tools/testing/selftests/seccomp/seccomp_bpf.c 	child_pid = fork();
child_pid         750 tools/testing/selftests/seccomp/seccomp_bpf.c 	ASSERT_LE(0, child_pid);
child_pid         751 tools/testing/selftests/seccomp/seccomp_bpf.c 	if (child_pid == 0) {
child_pid         756 tools/testing/selftests/seccomp/seccomp_bpf.c 	ASSERT_EQ(child_pid, waitpid(child_pid, &status, 0));
child_pid         766 tools/testing/selftests/seccomp/seccomp_bpf.c 	pid_t child_pid;
child_pid         768 tools/testing/selftests/seccomp/seccomp_bpf.c 	child_pid = fork();
child_pid         769 tools/testing/selftests/seccomp/seccomp_bpf.c 	ASSERT_LE(0, child_pid);
child_pid         770 tools/testing/selftests/seccomp/seccomp_bpf.c 	if (child_pid == 0) {
child_pid         775 tools/testing/selftests/seccomp/seccomp_bpf.c 	ASSERT_EQ(child_pid, waitpid(child_pid, &status, 0));
child_pid        2732 tools/testing/selftests/seccomp/seccomp_bpf.c 	pid_t child_pid;
child_pid        2768 tools/testing/selftests/seccomp/seccomp_bpf.c 	child_pid = fork();
child_pid        2769 tools/testing/selftests/seccomp/seccomp_bpf.c 	ASSERT_LE(0, child_pid);
child_pid        2770 tools/testing/selftests/seccomp/seccomp_bpf.c 	if (child_pid == 0) {
child_pid        2819 tools/testing/selftests/seccomp/seccomp_bpf.c 	ASSERT_EQ(child_pid, waitpid(child_pid, &status, 0));
child_pid        2821 tools/testing/selftests/seccomp/seccomp_bpf.c 	ASSERT_EQ(0, ptrace(PTRACE_SETOPTIONS, child_pid, NULL,
child_pid        2823 tools/testing/selftests/seccomp/seccomp_bpf.c 	ASSERT_EQ(0, ptrace(PTRACE_CONT, child_pid, NULL, 0));
child_pid        2827 tools/testing/selftests/seccomp/seccomp_bpf.c 	ASSERT_EQ(child_pid, waitpid(child_pid, &status, 0));
child_pid        2831 tools/testing/selftests/seccomp/seccomp_bpf.c 	ASSERT_EQ(0, ptrace(PTRACE_GETEVENTMSG, child_pid, NULL, &msg));
child_pid        2833 tools/testing/selftests/seccomp/seccomp_bpf.c 	EXPECT_EQ(__NR_nanosleep, get_syscall(_metadata, child_pid));
child_pid        2836 tools/testing/selftests/seccomp/seccomp_bpf.c 	ASSERT_EQ(0, ptrace(PTRACE_GETSIGINFO, child_pid, NULL, &info));
child_pid        2842 tools/testing/selftests/seccomp/seccomp_bpf.c 	EXPECT_EQ(child_pid, info.si_pid);
child_pid        2845 tools/testing/selftests/seccomp/seccomp_bpf.c 	ASSERT_EQ(0, kill(child_pid, SIGSTOP));
child_pid        2846 tools/testing/selftests/seccomp/seccomp_bpf.c 	ASSERT_EQ(0, ptrace(PTRACE_CONT, child_pid, NULL, 0));
child_pid        2847 tools/testing/selftests/seccomp/seccomp_bpf.c 	ASSERT_EQ(child_pid, waitpid(child_pid, &status, 0));
child_pid        2850 tools/testing/selftests/seccomp/seccomp_bpf.c 	ASSERT_EQ(0, ptrace(PTRACE_GETSIGINFO, child_pid, NULL, &info));
child_pid        2860 tools/testing/selftests/seccomp/seccomp_bpf.c 	ASSERT_EQ(0, kill(child_pid, SIGCONT));
child_pid        2861 tools/testing/selftests/seccomp/seccomp_bpf.c 	ASSERT_EQ(0, ptrace(PTRACE_CONT, child_pid, NULL, 0));
child_pid        2862 tools/testing/selftests/seccomp/seccomp_bpf.c 	ASSERT_EQ(child_pid, waitpid(child_pid, &status, 0));
child_pid        2865 tools/testing/selftests/seccomp/seccomp_bpf.c 	ASSERT_EQ(0, ptrace(PTRACE_CONT, child_pid, NULL, 0));
child_pid        2868 tools/testing/selftests/seccomp/seccomp_bpf.c 	ASSERT_EQ(child_pid, waitpid(child_pid, &status, 0));
child_pid        2872 tools/testing/selftests/seccomp/seccomp_bpf.c 	ASSERT_EQ(0, ptrace(PTRACE_GETEVENTMSG, child_pid, NULL, &msg));
child_pid        2875 tools/testing/selftests/seccomp/seccomp_bpf.c 	ret = get_syscall(_metadata, child_pid);
child_pid        2892 tools/testing/selftests/seccomp/seccomp_bpf.c 	ASSERT_EQ(0, ptrace(PTRACE_CONT, child_pid, NULL, 0));
child_pid        2896 tools/testing/selftests/seccomp/seccomp_bpf.c 	ASSERT_EQ(child_pid, waitpid(child_pid, &status, 0));
child_pid        1240 tools/testing/selftests/x86/protection_keys.c 	pid_t child_pid;
child_pid        1256 tools/testing/selftests/x86/protection_keys.c 	child_pid = fork_lazy_child();
child_pid        1257 tools/testing/selftests/x86/protection_keys.c 	dprintf1("[%d] child pid: %d\n", getpid(), child_pid);
child_pid        1259 tools/testing/selftests/x86/protection_keys.c 	ret = ptrace(PTRACE_ATTACH, child_pid, ignored, ignored);
child_pid        1264 tools/testing/selftests/x86/protection_keys.c 	ret = waitpid(child_pid, &status, WUNTRACED);
child_pid        1265 tools/testing/selftests/x86/protection_keys.c 	if ((ret != child_pid) || !(WIFSTOPPED(status))) {
child_pid        1285 tools/testing/selftests/x86/protection_keys.c 	ret = ptrace(PTRACE_PEEKDATA, child_pid, ptr, ignored);
child_pid        1295 tools/testing/selftests/x86/protection_keys.c 	ret = ptrace(PTRACE_PEEKDATA, child_pid, plain_ptr, ignored);
child_pid        1302 tools/testing/selftests/x86/protection_keys.c 	ret = ptrace(PTRACE_DETACH, child_pid, ignored, 0);
child_pid        1305 tools/testing/selftests/x86/protection_keys.c 	ret = kill(child_pid, SIGKILL);