/kernel/linux/linux-6.6/tools/testing/selftests/arm64/fp/ |
H A D | za-ptrace.c | 311 ksft_print_msg("Parent is %d, child is %d\n", getpid(), child); in do_parent() 345 srandom(getpid()); in main()
|
H A D | zt-ptrace.c | 316 ksft_print_msg("Parent is %d, child is %d\n", getpid(), child); in do_parent() 336 srandom(getpid()); in main()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | cgroup_helpers.c | 43 format_cgroup_path_pid(buf, path, getpid()) 240 pid_t pid = getpid(); in join_cgroup_from_top()
|
/kernel/linux/linux-6.6/tools/testing/selftests/capabilities/ |
H A D | test_execve.c | 196 if (getpid() != mpid) in fork_wait() 443 mpid = getpid(); in main()
|
/kernel/linux/linux-6.6/tools/testing/selftests/connector/ |
H A D | proc_filter.c | 54 hdr->nlmsg_pid = getpid(); in send_message() 98 sa_nl.nl_pid = getpid(); in register_proc_netlink()
|
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/benchmarks/ |
H A D | context_switch.c | 495 setpgid(getpid(), getpid()); in main()
|
/kernel/linux/linux-6.6/tools/accounting/ |
H A D | procacct.c | 182 rc = send_cmd(sd, GENL_ID_CTRL, getpid(), CTRL_CMD_GETFAMILY, in get_family_id() 331 mypid = getpid(); in main()
|
/test/xts/hats/kernel/syscalls/user/ |
H A D | UserApiTest.cpp | 141 pid_t pid = getpid(); in HWTEST_F() 426 pid_t pid = getpid(); in HWTEST_F()
|
/third_party/curl/tests/ |
H A D | negtelnetserver.py | 59 pid = os.getpid() 100 pid = os.getpid()
|
/third_party/libunwind/libunwind/tests/ |
H A D | Gtest-bt.c | 230 kill (getpid (), SIGTERM); in main() 247 kill (getpid (), SIGTERM); in main()
|
H A D | Gtest-trace.c | 248 kill (getpid (), SIGTERM); in main() 265 kill (getpid (), SIGTERM); in main()
|
/third_party/ltp/pan/ |
H A D | zoolib.c | 430 zoo_mark_args(test_zoo, getpid(), test_tag, argc, argv); in main() 442 zoo_clear(test_zoo, getpid()); in main()
|
/third_party/ltp/testcases/kernel/connectors/pec/ |
H A D | pec_listener.c | 91 nlhdr->nlmsg_pid = getpid(); in netlink_send() 292 l_local.nl_pid = getpid(); in main()
|
/third_party/ltp/testcases/kernel/mem/mmapstress/ |
H A D | mmapstress01.c | 163 procno, getpid(), seed, (long long)filesize, in child_mapper() 257 srand((unsigned int)getpid()); in initrand()
|
H A D | mmapstress09.c | 388 procno, getpid(), seed, nloops); in child_mapper() 479 srand((unsigned int)getpid()); in initrand()
|
/third_party/ltp/testcases/network/stress/ns-tools/ |
H A D | ns-tcpserver.c | 483 getpid(), in handle_client() 641 fprintf(info_fp, "PID: %u\n", getpid()); in main()
|
/third_party/ltp/testcases/kernel/syscalls/ipc/msgstress/ |
H A D | msgstress04.c | 135 srand48((unsigned)getpid() + (unsigned)(getppid() << 16)); in main() 287 exit(doreader(key, tid, getpid(), in dotest()
|
H A D | msgstress02.c | 130 srand48((unsigned)getpid() + (unsigned)(getppid() << 16)); in main() 261 exit(doreader(key, tid, getpid(), in dotest()
|
/third_party/ltp/testcases/kernel/syscalls/madvise/ |
H A D | madvise11.c | 102 tst_res(TFAIL, "pid[%d]: fail: bad sentinel value seen: %d expected: %d\n", getpid(), *s, sentinel); in verif_unmap() 384 (long)getpid()); in write_beginning_tag_to_kmsg()
|
/third_party/node/deps/openssl/openssl/apps/lib/ |
H A D | s_socket.c | 34 # define getpid _getpid macro 232 success = success && BIO_printf(out, " PID=%d", getpid()) > 0; in report_server_accept()
|
/third_party/pulseaudio/src/pulsecore/ |
H A D | pid.c | 238 pa_snprintf(t, sizeof(t), "%lu\n", (unsigned long) getpid()); 281 if (pid != getpid()) {
|
/third_party/python/Lib/multiprocessing/ |
H A D | reduction.py | 110 pid = os.getpid() 124 if self._pid == os.getpid():
|
/third_party/openssl/apps/lib/ |
H A D | s_socket.c | 34 # define getpid _getpid macro 232 success = success && BIO_printf(out, " PID=%d", getpid()) > 0; in report_server_accept()
|
/third_party/rust/crates/rustix/src/io/ |
H A D | procfs.rs | 27 use crate::process::getpid; 247 let pid = getpid(); in proc_self()
|
/kernel/linux/linux-5.10/tools/testing/selftests/vm/ |
H A D | protection_keys.c | 106 sprintf(pidstr, "%d", getpid()); in tracing_on() 415 dprintf2("[%d] SIGCHLD: %d\n", getpid(), x); in sig_chld() 457 dprintf3("[%d] fork() ret: %d\n", getpid(), forkret); in fork_lazy_child() 1203 dprintf3("[%d] fork() ret: %d\n", getpid(), forkret); in become_child() 1329 dprintf1("[%d] child pid: %d\n", getpid(), child_pid); in test_ptrace_of_child() 1334 dprintf1("[%d] attach ret: %ld %d\n", getpid(), ret, __LINE__); in test_ptrace_of_child()
|