Home
last modified time | relevance | path

Searched refs:fork_pid (Results 1 – 7 of 7) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/powerpc/math/
Dfpu_syscall.c30 pid_t fork_pid; in syscall_fpu() local
36 ret = test_fpu(darray, &fork_pid); in syscall_fpu()
37 if (fork_pid == -1) in syscall_fpu()
39 if (fork_pid == 0) in syscall_fpu()
41 waitpid(fork_pid, &child_ret, 0); in syscall_fpu()
Dvmx_syscall.c31 pid_t fork_pid; in vmx_syscall() local
37 ret = test_vmx(varray, &fork_pid); in vmx_syscall()
38 if (fork_pid == -1) in vmx_syscall()
40 if (fork_pid == 0) in vmx_syscall()
42 waitpid(fork_pid, &child_ret, 0); in vmx_syscall()
/external/ltp/testcases/kernel/syscalls/kill/
Dkill09.c129 int fork_pid; variable
148 if ((fork_pid = FORK_OR_VFORK()) == -1) in main()
151 if (fork_pid == 0) { in main()
162 TEST(kill(fork_pid, SIGKILL)); in main()
168 fork_pid, TEST_RETURN); in main()
/external/ltp/testcases/kernel/syscalls/waitpid/
Dwaitpid10.c87 pid_t fork_pid; in do_fork() local
93 fork_pid = SAFE_FORK(); in do_fork()
94 if (fork_pid == 0) in do_fork()
97 if (TST_TRACE(reap_children(fork_pid, 0, &fork_pid, 1))) in do_fork()
/external/ltp/testcases/kernel/syscalls/wait/
Dwait02.c78 int fork_pid, status, exit_child = 1; in wait_verify() local
80 fork_pid = FORK_OR_VFORK(); in wait_verify()
81 if (fork_pid == -1) { in wait_verify()
83 } else if (fork_pid == 0) { in wait_verify()
/external/toybox/toys/pending/
Dtelnetd.c36 pid_t fork_pid;
196 if ((TT.fork_pid = forkpty(&fd, tty_name, NULL, NULL)) > 0) { in new_session()
201 if (TT.fork_pid < 0) perror_exit("fork"); in new_session()
325 tm->child_pid = TT.fork_pid; in telnetd_main()
373 tm->child_pid = TT.fork_pid; in telnetd_main()
/external/toybox/generated/
Dglobals.h885 pid_t fork_pid; member