Home
last modified time | relevance | path

Searched refs:mypid (Results 1 – 17 of 17) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/kill/
Dkill10.c202 pid_t mypid = 0; variable
251 mypid, -child_checklist[cnt].pid); in main()
260 mypid, child_signal_counter, num_pgrps); in main()
298 mypid = getpid(); in setup()
303 printf("%d: setting SIGTRAP -> SIG_DFL\n", mypid); in setup()
306 printf("%d: setting SIGCONT -> SIG_DFL\n", mypid); in setup()
311 printf("%d: setting SIGALRM -> set_create_procs\n", mypid); in setup()
318 printf("%d: setting SIGUSR1 -> ack_ready\n", mypid); in setup()
325 printf("Master: %d\n", mypid); in setup()
330 mypid, pgrps_ready, num_pgrps); in setup()
[all …]
/third_party/ltp/testcases/kernel/syscalls/open/
Dopen04.c41 static int fd, ifile, mypid, first; variable
88 mypid = getpid(); in setup()
90 sprintf(fname, "open04.%d", mypid); in setup()
106 sprintf(fname, "open04.%d.%d", ifile, mypid); in setup()
124 sprintf(fname, "open04.%d.%d", ifile, mypid); in cleanup()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/getpid/
D1-1.c72 pid_t mypid, hispid, ctlpid; in main() local
77 mypid = getpid(); in main()
79 output("Main pid: %d\n", mypid); in main()
95 if (mypid != hispid) { in main()
185 if (hispid == mypid) { in main()
/third_party/ltp/testcases/kernel/syscalls/fork/
Dfork09.c61 static int mypid, nfiles; variable
81 mypid = getpid(); in main()
86 sprintf(filname, "fork09.%d", mypid); in main()
98 sprintf(filname, "file%d.%d", nfiles, mypid); in main()
151 sprintf(filname, "file%d.%d", nf, mypid); in main()
/third_party/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl01.c49 int mypid; in main() local
62 mypid = getpid(); in main()
64 sprintf(fname, "./fcntl%d.%d", i, mypid); in main()
161 sprintf(fname, "./fcntl%u.%d", i, mypid); in main()
/third_party/ltp/testcases/kernel/syscalls/mknod/
Dmknod05.c100 pid_t mypid; /* process id */ variable
211 mypid = getpid(); in setup()
214 sprintf(node_name, TNODE, mypid); in setup()
Dmknod03.c100 pid_t mypid; /* process id */ variable
214 mypid = getpid(); in setup()
217 sprintf(node_name, TNODE, mypid); in setup()
Dmknod08.c99 pid_t mypid; /* process id */ variable
215 mypid = getpid(); in setup()
218 sprintf(node_name, TNODE, mypid); in setup()
Dmknod02.c100 pid_t mypid; /* process id */ variable
218 mypid = getpid(); in setup()
221 sprintf(node_name, TNODE, mypid); in setup()
Dmknod04.c100 pid_t mypid; /* process id */ variable
219 mypid = getpid(); in setup()
222 sprintf(node_name, TNODE, mypid); in setup()
/third_party/ltp/testcases/kernel/controllers/cgroup/
Dcgroup_regression_getdelays.c260 __u32 mypid; in main() local
356 mypid = getpid(); in main()
365 rc = send_cmd(nl_sd, id, mypid, TASKSTATS_CMD_GET, in main()
381 rc = send_cmd(nl_sd, id, mypid, TASKSTATS_CMD_GET, in main()
397 rc = send_cmd(nl_sd, id, mypid, CGROUPSTATS_CMD_GET, in main()
517 rc = send_cmd(nl_sd, id, mypid, TASKSTATS_CMD_GET, in main()
/third_party/ltp/testcases/kernel/mce-test/stress/tools/page-poisoning/
Dpage-poisoning.c95 static pid_t mypid; variable
149 printf("[pid %d] %s", mypid, buf); in mylog()
150 fprintf(log_fd, "[pid %d] %s", mypid, buf); in mylog()
164 fprintf(result_fd, "[pid %d] %s", mypid, buf); in result()
338 snprintf(buf, PATH_MAX, "%s/dirty%d", tmp_dir, mypid); in playfile()
408 snprintf(fn, PATH_MAX, "%s/clean%d", tmp_dir, mypid); in do_file_clean()
616 *shmptr = mypid; in shm_test()
722 mypid = getpid(); in run_test()
877 mypid = getpid(); in main()
/third_party/libwebsockets/minimal-examples/api-tests/api-test-lws_smd/
Dmain.c82 unsigned int mypid = 0; in _thread_spam() local
84 unsigned int mypid = (unsigned int)getpid(); in _thread_spam()
95 mypid, (unsigned int)n)) { in _thread_spam()
/third_party/node/deps/uv/src/unix/
Dopenbsd.c66 pid_t mypid; in uv_exepath() local
72 mypid = getpid(); in uv_exepath()
80 mib[2] = mypid; in uv_exepath()
/third_party/libuv/src/unix/
Dopenbsd.c66 pid_t mypid; in uv_exepath() local
72 mypid = getpid(); in uv_exepath()
80 mib[2] = mypid; in uv_exepath()
/third_party/python/Modules/
Dposixmodule.c7776 pid_t mypid; in win32_getppid() local
7781 mypid = getpid(); /* This function never fails */ in win32_getppid()
7790 if (mypid == (pid_t)pe.th32ProcessID) { in win32_getppid()
/third_party/mksh/
Dcheck.t12883 (mypid=$$; try mypid)
12914 mypid=nz