/third_party/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 | 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()
|
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 | fcntl17.c | 72 pid_t parent_pid, child_pid1, child_pid2, child_pid3; variable 128 parent_pid = getpid(); in setup()
|
/third_party/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);
|
/third_party/ltp/testcases/kernel/syscalls/rename/ |
D | rename14.c | 59 int parent_pid; variable 89 parent_pid = getpid(); in main() 133 if (parent_pid != getpid()) in term()
|
/third_party/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()
|
/third_party/ltp/testcases/kernel/syscalls/migrate_pages/ |
D | migrate_pages01.c | 165 pid_t parent_pid; in test_invalid_perm() local 169 parent_pid = getpid(); in test_invalid_perm() 181 TEST(ltp_syscall(__NR_migrate_pages, parent_pid, in test_invalid_perm()
|
/third_party/ltp/testcases/kernel/syscalls/fork/ |
D | fork01.c | 130 static void parent_pid(void) in parent_pid() function 210 parent_pid(); in main()
|
/third_party/glib/tests/ |
D | mapping-test.c | 36 static gint parent_pid; variable 104 kill (parent_pid, SIGUSR1); in signal_parent() 115 parent_pid = atoi (argv[2]); in child_main()
|
/third_party/python/Lib/multiprocessing/ |
D | spawn.py | 92 def spawn_main(pipe_handle, parent_pid=None, tracker_fd=None): argument 101 if parent_pid is not None: 104 False, parent_pid)
|
D | popen_spawn_win32.py | 55 cmd = spawn.get_command_line(parent_pid=os.getpid(),
|
/third_party/ltp/testcases/kernel/syscalls/mkdir/ |
D | mkdir09.c | 63 int parent_pid, sigchld, sigterm, jump; variable 158 parent_pid = getpid(); in runtest() 302 if (parent_pid == getpid()) { in term()
|
/third_party/ltp/testcases/kernel/syscalls/cma/ |
D | process_vm01.c | 330 pid_t parent_pid; in cma_test_invalid_perm() local 334 parent_pid = getpid(); in cma_test_invalid_perm() 347 params->pid = parent_pid; in cma_test_invalid_perm()
|
/third_party/ltp/testcases/kernel/fs/ftest/ |
D | ftest08.c | 85 static int parent_pid; variable 118 parent_pid = getpid(); in init() 523 if (parent_pid == getpid()) { in term()
|
D | ftest02.c | 82 static int parent_pid; variable 116 parent_pid = getpid(); in main() 424 if (parent_pid == getpid()) { in term()
|
D | ftest04.c | 77 static int parent_pid; variable 114 parent_pid = getpid(); in setup() 485 if (parent_pid == getpid()) { in term()
|
D | ftest06.c | 88 static int parent_pid; variable 130 parent_pid = getpid(); in main() 441 if (parent_pid == getpid()) { in term()
|
D | ftest01.c | 89 static int parent_pid; variable 126 parent_pid = getpid(); in setup() 541 if (parent_pid == getpid()) { in term()
|
D | ftest05.c | 93 static int parent_pid; variable 134 parent_pid = getpid(); in setup() 534 if (parent_pid == getpid()) { in term()
|
D | ftest07.c | 100 static int parent_pid; variable 148 parent_pid = getpid(); in setup() 617 if (parent_pid == getpid()) { in term()
|
D | ftest03.c | 94 static int parent_pid; variable 145 parent_pid = getpid(); in setup() 619 if (parent_pid == getpid()) { in term()
|
/third_party/ltp/testcases/kernel/fs/inode/ |
D | inode02.c | 77 int parent_pid; variable 122 parent_pid = getpid(); in main() 790 if (parent_pid == getpid()) { in term()
|