/external/ltp/testcases/kernel/syscalls/fcntl/ |
D | fcntl11.c | 57 pid_t parent_pid, child_pid; variable 97 parent_pid = getpid(); in setup() 293 compare_lock(&tl, (short)F_RDLCK, (short)0, 1, 5, parent_pid); in main() 299 compare_lock(&tl, (short)F_WRLCK, (short)0, 10, 5, parent_pid); in main() 331 compare_lock(&tl, (short)F_RDLCK, (short)0, 5, 5, parent_pid); in main() 337 compare_lock(&tl, (short)F_WRLCK, (short)0, 10, 5, parent_pid); in main() 369 compare_lock(&tl, (short)F_RDLCK, (short)0, 5, 6, parent_pid); in main() 375 compare_lock(&tl, (short)F_WRLCK, (short)0, 11, 4, parent_pid); in main() 407 compare_lock(&tl, (short)F_RDLCK, (short)0, 5, 8, parent_pid); in main() 413 compare_lock(&tl, (short)F_WRLCK, (short)0, 13, 2, parent_pid); in main() [all …]
|
D | fcntl21.c | 56 pid_t parent_pid, child_pid; variable 95 parent_pid = getpid(); in setup() 342 compare_lock(&tl, (short)F_RDLCK, (short)0, 0, 0, parent_pid); in main() 373 compare_lock(&tl, (short)F_WRLCK, (short)0, 0, 0, parent_pid); in main() 412 compare_lock(&tl, (short)F_WRLCK, (short)0, 1, 5, parent_pid); in main() 418 compare_lock(&tl, (short)F_RDLCK, (short)0, 10, 5, parent_pid); in main() 462 compare_lock(&tl, (short)F_WRLCK, (short)0, 5, 5, parent_pid); in main() 468 compare_lock(&tl, (short)F_RDLCK, (short)0, 10, 5, parent_pid); in main() 512 compare_lock(&tl, (short)F_WRLCK, (short)0, 5, 6, parent_pid); in main() 518 compare_lock(&tl, (short)F_RDLCK, (short)0, 11, 4, parent_pid); in main() [all …]
|
D | fcntl19.c | 61 pid_t parent_pid, child_pid; variable 97 parent_pid = getpid(); in setup() 342 compare_lock(&tl, (short)F_WRLCK, (short)0, 10, 5, parent_pid); in main() 385 compare_lock(&tl, (short)F_WRLCK, (short)0, 11, 4, parent_pid); in main() 429 compare_lock(&tl, (short)F_WRLCK, (short)0, 13, 2, parent_pid); in main() 473 compare_lock(&tl, (short)F_WRLCK, (short)0, 10, 3, parent_pid); in main() 479 compare_lock(&tl, (short)F_WRLCK, (short)0, 18, 2, parent_pid); in main() 523 compare_lock(&tl, (short)F_WRLCK, (short)0, 10, 3, parent_pid); in main() 567 compare_lock(&tl, (short)F_WRLCK, (short)0, 10, 4, parent_pid); in main() 612 compare_lock(&tl, (short)F_WRLCK, (short)0, 10, 5, parent_pid); in main()
|
D | fcntl20.c | 57 pid_t parent_pid, child_pid; variable 95 parent_pid = getpid(); in setup() 341 compare_lock(&tl, (short)F_RDLCK, (short)0, 10, 5, parent_pid); in main() 384 compare_lock(&tl, (short)F_RDLCK, (short)0, 11, 4, parent_pid); in main() 427 compare_lock(&tl, (short)F_RDLCK, (short)0, 13, 2, parent_pid); in main() 470 compare_lock(&tl, (short)F_RDLCK, (short)0, 10, 3, parent_pid); in main() 476 compare_lock(&tl, (short)F_RDLCK, (short)0, 18, 2, parent_pid); in main() 519 compare_lock(&tl, (short)F_RDLCK, (short)0, 10, 3, parent_pid); in main() 562 compare_lock(&tl, (short)F_RDLCK, (short)0, 10, 4, parent_pid); in main() 606 compare_lock(&tl, (short)F_RDLCK, (short)0, 10, 5, parent_pid); in main()
|
/external/ltp/testcases/kernel/ipc/ipc_stress/ |
D | semaphore_test_02.c | 122 pid_t parent_pid; variable 148 parent_pid = getpid(); in main() 178 if (pid != parent_pid) in main() 223 if (pid == parent_pid) in test_commands() 233 if (pid == parent_pid) in test_commands() 252 if (pid == parent_pid) in test_commands() 274 if (pid == parent_pid) in test_commands() 288 if (pid == parent_pid) in test_commands() 298 if (pid == parent_pid) in test_commands() 314 if (pid == parent_pid) in test_commands() [all …]
|
D | shmem_test_02.c | 135 pid_t parent_pid; variable 167 parent_pid = getpid(); in main() 312 if (getpid() == parent_pid) { in handler() 338 if (getpid() == parent_pid) { in cleanup()
|
D | shmem_test_03.c | 139 pid_t parent_pid; /* process id of parent */ variable 186 parent_pid = getpid(); in main() 516 if (getpid() == parent_pid) { in handler() 542 if (getpid() == parent_pid) { in cleanup()
|
D | semaphore_test_03.c | 103 if (proc_pid == parent_pid) \ 137 pid_t parent_pid; variable 166 errpid = parent_pid = getpid(); in main() 200 if (pid != parent_pid) in main() 247 if (proc_pid == parent_pid) in test_commands() 255 if (proc_pid == parent_pid) in test_commands() 271 if (proc_pid == parent_pid) in test_commands() 305 if (proc_pid == parent_pid) { in test_commands() 1002 if (pid == parent_pid) in catch()
|
D | pipe_test_02.c | 155 pid_t parent_pid; /* Parent's process id */ variable 564 parent_pid = getpid(); in setup() 614 if (getpid() == parent_pid) { in handler() 640 if (getpid() == parent_pid) { in cleanup()
|
D | shmem_test_04.c | 146 pid_t parent_pid; variable 179 parent_pid = getpid(); in main() 310 if (pid != parent_pid) in main()
|
/external/ltp/testcases/kernel/mem/page/ |
D | page02.c | 66 int parent_pid; variable 80 parent_pid = getpid(); 142 kill(parent_pid, SIGUSR1); 149 kill(parent_pid, SIGUSR1); 152 kill(parent_pid, SIGUSR1);
|
/external/libcap/progs/old/ |
D | sucap.c | 56 pid_t pid, parent_pid; in main() local 101 parent_pid = getpid(); in main() 189 if (capsetp(parent_pid, old_caps)) { in main()
|
/external/ltp/testcases/kernel/syscalls/rename/ |
D | rename14.c | 61 int parent_pid; variable 95 parent_pid = getpid(); in main() 155 if (parent_pid != getpid()) in term()
|
/external/ltp/testcases/kernel/mem/vmtests/ |
D | data_space.c | 74 int parent_pid; variable 135 parent_pid = getpid(); 256 kill(parent_pid, SIGUSR1); 456 if (parent_pid == getpid()) { in term() 488 kill(parent_pid, SIGUSR1);
|
D | stack_space.c | 63 int parent_pid; variable 89 parent_pid = getpid(); 418 if (getpid() == parent_pid) { in term()
|
/external/ltp/testcases/kernel/syscalls/migrate_pages/ |
D | migrate_pages01.c | 171 pid_t parent_pid; in test_invalid_perm() local 175 parent_pid = getpid(); in test_invalid_perm() 189 TEST(ltp_syscall(__NR_migrate_pages, parent_pid, in test_invalid_perm()
|
/external/ltp/testcases/kernel/syscalls/fork/ |
D | fork01.c | 130 static void parent_pid(void) in parent_pid() function 210 parent_pid(); in main()
|
/external/libchrome/base/process/ |
D | process_iterator.h | 38 ProcessId parent_pid() const { return th32ParentProcessID; } in parent_pid() function 48 ProcessId parent_pid() const { return ppid_; }
|
/external/flatbuffers/android/ |
D | build_apk.sh | 115 local parent_pid="${1}" 118 awk '{ if ($3 == '"${parent_pid}"') { print $2 } }'); do 121 kill "${parent_pid}" 2>/dev/null
|
/external/flatbuffers/samples/android/ |
D | build_apk.sh | 115 local parent_pid="${1}" 118 awk '{ if ($3 == '"${parent_pid}"') { print $2 } }'); do 121 kill "${parent_pid}" 2>/dev/null
|
/external/ltp/testcases/kernel/syscalls/mkdir/ |
D | mkdir09.c | 76 int parent_pid, sigchld, sigterm, jump; variable 199 parent_pid = getpid(); in runtest() 364 if (parent_pid == getpid()) { in term()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_symbolizer_mac.cc | 52 explicit AtosSymbolizerProcess(const char *path, pid_t parent_pid) in AtosSymbolizerProcess() argument 56 internal_snprintf(pid_str_, sizeof(pid_str_), "%d", parent_pid); in AtosSymbolizerProcess()
|
/external/ltp/testcases/kernel/fs/ftest/ |
D | ftest04.c | 76 static int parent_pid; variable 113 parent_pid = getpid(); in setup() 495 if (parent_pid == getpid()) { in term()
|
D | ftest08.c | 84 static int parent_pid; variable 117 parent_pid = getpid(); in init() 527 if (parent_pid == getpid()) { in term()
|
/external/ltp/testcases/kernel/syscalls/cma/ |
D | process_vm01.c | 338 pid_t parent_pid; in cma_test_invalid_perm() local 342 parent_pid = getpid(); in cma_test_invalid_perm() 357 params->pid = parent_pid; in cma_test_invalid_perm()
|