/third_party/ltp/testcases/kernel/syscalls/kcmp/ |
D | kcmp02.c | 28 static int pid1; variable 37 int *pid1; member 44 {&pid1, &pid_unused, KCMP_FILE, &fd1, &fd2, ESRCH}, 45 {&pid1, &pid1, KCMP_TYPES + 1, &fd1, &fd2, EINVAL}, 46 {&pid1, &pid1, -1, &fd1, &fd2, EINVAL}, 47 {&pid1, &pid1, INT_MIN, &fd1, &fd2, EINVAL}, 48 {&pid1, &pid1, INT_MAX, &fd1, &fd2, EINVAL}, 49 {&pid1, &pid1, KCMP_FILE, &fd1, &fd_fake, EBADF} 54 pid1 = getpid(); in setup() 74 TEST(kcmp(*(test->pid1), *(test->pid2), test->type, in verify_kcmp()
|
D | kcmp01.c | 26 static int pid1; variable 30 int *pid1; member 37 {&pid1, &pid1, KCMP_FILE, &fd1, &fd1, 0}, 39 {&pid1, &pid2, KCMP_FILE, &fd1, &fd1, 0}, 40 {&pid1, &pid2, KCMP_FILE, &fd1, &fd2, 0}, 41 {&pid1, &pid2, KCMP_FILE, &fd1, &fd3, 1}, 68 TEST(kcmp(*(test->pid1), *(test->pid2), test->type, in do_child() 93 pid1 = getpid(); in verify_kcmp()
|
D | kcmp03.c | 29 static int pid1; variable 57 TEST(kcmp(pid1, pid2, *(int *)arg, 0, 0)); in do_child() 77 pid1 = getpid(); in verify_kcmp()
|
D | kcmp.h | 47 int kcmp(int pid1, int pid2, int type, int fd1, int fd2) in kcmp() argument 49 return tst_syscall(__NR_kcmp, pid1, pid2, type, fd1, fd2); in kcmp()
|
/third_party/ltp/testcases/kernel/syscalls/unshare/ |
D | unshare01.c | 158 pid_t pid1; in main() local 170 pid1 = fork(); //call to fork() in main() 171 if (pid1 == -1) { in main() 174 } else if (pid1 == 0) { in main() 206 pid1 = fork(); in main() 207 if (pid1 == -1) { in main() 210 } else if (pid1 == 0) { in main() 242 pid1 = fork(); in main() 243 if (pid1 == -1) { in main() 246 } else if (pid1 == 0) { in main()
|
D | unshare02.c | 123 pid_t pid1; in main() local 135 TEST(pid1 = fork()); //call to fork() in main() 173 TEST(pid1 = fork()); //call to fork() in main() 174 if (pid1 == -1) { in main()
|
/third_party/ltp/testcases/kernel/syscalls/fork/ |
D | fork03.c | 57 int pid1, pid2, status; in main() local 67 pid1 = fork(); in main() 68 if (pid1 == -1) in main() 71 if (pid1 == 0) { in main() 83 if (pid1 != 0) in main() 89 "fork : %d", pid1); in main() 92 if (pid1 != pid2) { in main() 94 pid1, pid2); in main()
|
D | fork02.c | 57 int pid1, pid2, status; in main() local 68 pid1 = fork(); in main() 69 if (pid1 == -1) in main() 72 if (pid1 == 0) { in main() 80 if (pid1 == pid2) in main()
|
D | fork08.c | 58 int status, count, forks, pid1; in main() local 90 pid1 = fork(); in main() 91 if (pid1 != 0) { in main() 94 if ((pid1 != (-1)) && (forks < 2)) in main() 96 else if (pid1 < 0) in main()
|
D | fork07.c | 73 int status, forks, pid1; in main() local 115 pid1 = fork(); in main() 116 if (pid1 == 0) { in main() 141 } else if (pid1 == -1) in main()
|
D | fork12.c | 58 int forks, pid1, fork_errno, waitstatus; in main() local 71 while ((pid1 = fork()) != -1) { in main() 72 if (pid1 == 0) { /* child */ in main()
|
/third_party/ltp/testcases/kernel/controllers/cgroup/ |
D | cgroup_regression_test.sh | 186 pid1=$! 191 kill -USR1 $pid1 $pid2 192 wait $pid1 2>/dev/null 245 local pid1=$! 250 kill -USR1 $pid1 $pid2 251 wait $pid1 2>/dev/null 280 local pid1=$! 286 kill -USR1 $pid1 288 wait $pid1 2>/dev/null 429 local pid1=$! [all …]
|
/third_party/ltp/testcases/kernel/controllers/memcg/regression/ |
D | memcg_regression_test.sh | 128 pid1=$! 132 echo $pid1 > memcg/0/tasks 135 /bin/kill -SIGUSR1 $pid1 151 kill -9 $pid1 $pid2 > /dev/null 2>&1 152 wait $pid1 $pid2 166 kill -9 $pid1 $pid2 > /dev/null 2>&1 167 wait $pid1 $pid2 > /dev/null 2>&1
|
/third_party/ltp/testcases/kernel/syscalls/kill/ |
D | kill05.c | 144 pid_t pid1; in do_master_child() local 156 pid1 = FORK_OR_VFORK(); in do_master_child() 158 if (pid1 == -1) in do_master_child() 161 if (pid1 == 0) { in do_master_child() 186 TEST(kill(pid1, TEST_SIG)); in do_master_child() 191 if (waitpid(pid1, &status, 0) == -1) { in do_master_child()
|
D | kill08.c | 77 pid_t pid1, pid2; in main() local 98 pid1 = FORK_OR_VFORK(); in main() 99 if (pid1 < 0) { in main() 101 } else if (pid1 == 0) { in main() 124 waitpid(pid1, &status, 0); in main()
|
D | kill06.c | 77 pid_t pid1, pid2; in main() local 98 pid1 = FORK_OR_VFORK(); in main() 99 if (pid1 < 0) { in main() 101 } else if (pid1 == 0) { in main() 127 waitpid(pid1, &status, 0); in main()
|
D | kill02.c | 159 int pid1; /*Return value from 1st fork. Global so that it can be */ variable 234 if ((pid1 = FORK_OR_VFORK()) > 0) { in main() 240 if (kill(pid1, SIGKILL) == -1 in main() 255 if (kill(pid1, SIGKILL) == -1 && errno != ESRCH) { in main() 263 } else if (pid1 == 0) { in main() 817 if (kill(pid1, SIGUSR2) == -1 && errno != ESRCH) { in par_kill()
|
/third_party/ltp/testcases/kernel/fs/fs_inod/ |
D | fs_inod | 170 pid1=$! 180 wait $pid1 182 pid1=$! 186 wait $pid1 200 pid1=$!
|
/third_party/ltp/testcases/kernel/syscalls/vhangup/ |
D | vhangup02.c | 20 pid_t pid, pid1; in run() local 26 pid1 = setsid(); in run() 27 if (pid1 < 0) in run()
|
/third_party/ltp/testcases/kernel/mem/shmt/ |
D | shmt04.c | 69 int pid, pid1, shmid; in main() local 120 while ((pid1 = wait(&status)) < 0 && (errno == EINTR)) ; in main() 121 if (pid1 != pid) { in main() 125 pid1); in main()
|
D | shmt06.c | 68 int pid, pid1, shmid; in main() local 119 while ((pid1 = wait(&status)) < 0 && (errno == EINTR)) ; in main() 120 if (pid1 != pid) { in main() 124 pid1); in main()
|
/third_party/ltp/testcases/kernel/syscalls/rename/ |
D | rename09.c | 100 pid_t pid, pid1; in main() local 156 if ((pid1 = FORK_OR_VFORK()) == -1) { in main() 160 if (pid1 == 0) { /* second child */ in main() 204 waitpid(pid1, &status, 0); in main()
|
/third_party/ltp/testcases/network/nfs/nfs_stress/ |
D | nfs03 | 57 pid1=$! 69 wait $pid1
|
/third_party/musl/libc-test/report_base/ |
D | REPORT | 608 ../../third_party/musl/libc-test/src/regression/pthread_atfork-errno-clobber.c:32: (pid1 = fork()) … 609 ../../third_party/musl/libc-test/src/regression/pthread_atfork-errno-clobber.c:32: (pid1 = fork()) …
|