/freebsd/usr.sbin/autofs/ |
H A D | popen.c | 58 struct pid { struct 61 pid_t pid; argument 64 static SLIST_HEAD(, pid) pidlist = SLIST_HEAD_INITIALIZER(pidlist); argument 78 pid_t pid; in auto_popen() local 150 pid_t pid; in auto_pclose() local
|
/freebsd/contrib/blocklist/port/ |
H A D | popenve.c | 67 static struct pid { struct 68 struct pid *next; argument 73 pid_t pid; argument 154 pdes_parent(int *pdes, struct pid *cur, pid_t pid, const char *type) in pdes_parent() 193 pid_t pid; in popenve() local 237 pid_t pid; in pcloseve() local
|
/freebsd/lib/libc/gen/ |
H A D | popen.c | 52 struct pid { struct 55 pid_t pid; argument 68 int pdes[2], pid, twoway, cloexec; in popen() local 193 pid_t pid; in pclose() local
|
/freebsd/contrib/kyua/utils/logging/ |
H A D | operations_test.cpp | 109 const pid_t pid = ::getpid(); in ATF_TEST_CASE_BODY() local 140 const pid_t pid = ::getpid(); in ATF_TEST_CASE_BODY() local 160 const pid_t pid = ::getpid(); in ATF_TEST_CASE_BODY() local 214 const pid_t pid = ::getpid(); in ATF_TEST_CASE_BODY() local 252 const pid_t pid = ::getpid(); in ATF_TEST_CASE_BODY() local 272 const pid_t pid = ::getpid(); in ATF_TEST_CASE_BODY() local 304 const pid_t pid = ::getpid(); in ATF_TEST_CASE_BODY() local
|
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/i386/ |
H A D | dt_isadep.c | 91 pid_t pid = Pstatus(P)->pr_pid; in dt_pid_has_jump_table() local 94 pid_t pid = proc_getpid(P); in dt_pid_has_jump_table() local 143 pid_t pid = Pstatus(P)->pr_pid; in dt_pid_create_return_probe() local 146 pid_t pid = proc_getpid(P); in dt_pid_create_return_probe() local 300 pid_t pid = Pstatus(P)->pr_pid; in dt_pid_create_offset_probe() local 303 pid_t pid = proc_getpid(P); in dt_pid_create_offset_probe() local 379 pid_t pid = Pstatus(P)->pr_pid; in dt_pid_create_glob_offset_probes() local 382 pid_t pid = proc_getpid(P); in dt_pid_create_glob_offset_probes() local 454 pid_t pid; member 489 dt_instr_size(uchar_t *instr, dtrace_hdl_t *dtp, pid_t pid, uintptr_t addr, in dt_instr_size()
|
/freebsd/sys/compat/linux/ |
H A D | linux_ptrace.c | 122 linux_ptrace_status(struct thread *td, pid_t pid, int status) in linux_ptrace_status() 160 linux_ptrace_peek(struct thread *td, pid_t pid, void *addr, void *data) in linux_ptrace_peek() 175 linux_ptrace_setoptions(struct thread *td, pid_t pid, l_ulong data) in linux_ptrace_setoptions() 229 linux_ptrace_geteventmsg(struct thread *td, pid_t pid, l_ulong data) in linux_ptrace_geteventmsg() 237 linux_ptrace_getsiginfo(struct thread *td, pid_t pid, l_ulong data) in linux_ptrace_getsiginfo() 263 linux_ptrace_getregs(struct thread *td, pid_t pid, void *data) in linux_ptrace_getregs() 283 linux_ptrace_setregs(struct thread *td, pid_t pid, void *data) in linux_ptrace_setregs() 298 linux_ptrace_getregset_prstatus(struct thread *td, pid_t pid, l_ulong data) in linux_ptrace_getregset_prstatus() 339 linux_ptrace_getregset(struct thread *td, pid_t pid, l_ulong addr, l_ulong data) in linux_ptrace_getregset() 361 linux_ptrace_seize(struct thread *td, pid_t pid, l_ulong addr, l_ulong data) in linux_ptrace_seize() [all …]
|
/freebsd/usr.bin/mail/ |
H A D | popen.c | 45 pid_t pid; member 51 pid_t pid; member 100 pid_t pid; in Popen() local 159 register_file(FILE *fp, int pipe, pid_t pid) in register_file() 210 pid_t pid; in start_commandv() local 234 pid_t pid; in run_command() local 281 wait_command(pid_t pid) in wait_command() 292 findchild(pid_t pid, int dont_alloc) in findchild() 333 pid_t pid; in sigchild() local 359 wait_child(pid_t pid) in wait_child() [all …]
|
/freebsd/tools/test/ptrace/ |
H A D | scescx.c | 150 get_pathname(pid_t pid) in get_pathname() 180 wait_info(int pid, int status, struct ptrace_lwpinfo *lwpinfo) in wait_info() 218 trace_sc(int pid) in trace_sc() 303 trace_cont(int pid) in trace_cont() 346 trace(pid_t pid) in trace() 358 pid_t pid, pid1; in main() local
|
/freebsd/tests/sys/kern/ |
H A D | ktrace_test.c | 174 pid_t pid; in ATF_TC_BODY() local 211 pid_t pid; in ATF_TC_BODY() local 249 pid_t pid; in ATF_TC_BODY() local 294 pid_t pid; in ATF_TC_BODY() local 335 pid_t pid; in ATF_TC_BODY() local 374 pid_t pid; in ATF_TC_BODY() local 425 pid_t pid; in ATF_TC_BODY() local 474 pid_t pid; in ATF_TC_BODY() local 509 pid_t pid; in ATF_TC_BODY() local 551 pid_t pid; in ATF_TC_BODY() local
|
H A D | reaper.c | 45 pid_t parent, child, grandchild, pid; in ATF_TC_BODY() local 98 pid_t parent, child, grandchild, pid; in ATF_TC_BODY() local 146 pid_t parent, child, grandchild, pid; in ATF_TC_BODY() local 233 pid_t parent, child, grandchild, pid; in ATF_TC_BODY() local 296 pid_t parent, child, pid; in ATF_TC_BODY() local 380 pid_t parent, child, grandchild, pid; in ATF_TC_BODY() local 587 pid_t parent, child, grandchild, pid; in ATF_TC_BODY() local 646 pid_t parent, child1, child2, grandchild1, grandchild2, pid; in ATF_TC_BODY() local 746 pid_t child, grandchild, parent, pid; in ATF_TC_BODY() local
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/ |
H A D | GDBRemoteCommunicationServerPlatform.cpp | 77 uint16_t port, lldb::pid_t pid) { in AssociatePortWithProcess() 96 lldb::pid_t pid) { in FreePortForProcess() 163 const lldb_private::Args &args, std::string hostname, lldb::pid_t &pid, in LaunchGDBServer() 318 lldb::pid_t pid = packet.GetU64(LLDB_INVALID_PROCESS_ID); in Handle_qKillSpawnedProcess() local 336 bool GDBRemoteCommunicationServerPlatform::KillSpawnedProcess(lldb::pid_t pid) { in KillSpawnedProcess() 394 lldb::pid_t pid = m_process_launch_info.GetProcessID(); in Handle_qProcessInfo() local 474 lldb::pid_t pid = m_process_launch_info.GetProcessID(); in Handle_qC() local 522 lldb::pid_t pid) { in DebugserverProcessReaped() 553 const auto pid = m_process_launch_info.GetProcessID(); in LaunchProcess() local 602 lldb::pid_t pid, uint16_t port, const std::string &socket_name) { in SetPendingGdbServer()
|
/freebsd/tests/sys/file/ |
H A D | flock_helper.c | 111 safe_waitpid(pid_t pid) in safe_waitpid() 185 int pid; in test2() local 256 int pid; in test3() local 326 int pid; in test4() local 413 int pid; in test5() local 600 int pid; in test7() local 672 int pid; in test8() local 749 int pid; in test9() local 821 int pid; in test10() local 974 int pid; in test12() local [all …]
|
/freebsd/lib/libc/tests/gen/ |
H A D | posix_spawn_test.c | 48 pid_t pid, waitres; in ATF_TC_BODY() local 72 pid_t pid, waitres; in ATF_TC_BODY() local 99 pid_t pid, waitres; in ATF_TC_BODY() local 118 pid_t pid; in ATF_TC_BODY() local
|
/freebsd/lib/libutil/ |
H A D | uucplock.c | 65 pid_t pid, pid_old; in uu_lock() local 125 uu_lock_txfr(const char *tty_name, pid_t pid) in uu_lock_txfr() 196 put_pid(int fd, pid_t pid) in put_pid() 210 pid_t pid; in get_pid() local
|
/freebsd/tests/sys/fs/fusefs/ |
H A D | locks.cc | 65 void expect_setlk(uint64_t ino, pid_t pid, uint64_t start, uint64_t end, in expect_setlk() 82 void expect_setlkw(uint64_t ino, pid_t pid, uint64_t start, uint64_t end, in expect_setlkw() 248 pid_t pid = getpid(); in TEST_F() local 308 pid_t pid = getpid(); in TEST_F() local 366 pid_t pid = getpid(); in TEST_F() local 431 pid_t pid = getpid(); in TEST_F() local 521 pid_t pid = getpid(); in TEST_F() local 547 pid_t pid = getpid(); in TEST_F() local 573 pid_t pid = getpid(); in TEST_F() local 599 pid_t pid = getpid(); in TEST_F() local [all …]
|
/freebsd/crypto/heimdal/lib/roken/ |
H A D | simple_exec.c | 82 wait_for_process_timed(pid_t pid, time_t (*func)(void *), in wait_for_process_timed() 138 wait_for_process(pid_t pid) in wait_for_process() 148 pid_t pid; in pipe_execv() local 236 pid_t pid = fork(); in simple_execvp_timed() local 259 pid_t pid = fork(); in simple_execve_timed() local
|
/freebsd/contrib/netbsd-tests/lib/libc/stdlib/ |
H A D | t_exit.c | 59 pid_t pid; in ATF_TC_BODY() local 92 pid_t pid; in ATF_TC_BODY() local 119 pid_t pid; in ATF_TC_BODY() local 148 pid_t pid; in ATF_TC_BODY() local
|
/freebsd/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_wait.c | 80 pid_t pid; in ATF_TC_BODY() local 115 pid_t pid; in ATF_TC_BODY() local 151 pid_t pid; in ATF_TC_BODY() local 197 pid_t pid; in ATF_TC_BODY() local 268 pid_t pid; in ATF_TC_BODY() local
|
/freebsd/usr.bin/login/ |
H A D | login_audit.c | 68 pid_t pid = getpid(); in au_login_success() local 120 pid_t pid = getpid(); in au_login_fail() local 176 pid_t pid = getpid(); in audit_logout() local
|
/freebsd/usr.bin/truss/ |
H A D | setup.c | 150 pid_t pid; in setup_and_wait() local 172 start_tracing(struct trussinfo *info, pid_t pid) in start_tracing() 204 detach_proc(pid_t pid) in detach_proc() 236 find_abi(pid_t pid) in find_abi() 321 new_proc(struct trussinfo *info, pid_t pid, lwpid_t lwpid) in new_proc() 375 find_proc(struct trussinfo *info, pid_t pid) in find_proc() 391 find_thread(struct trussinfo *info, pid_t pid, lwpid_t lwpid) in find_thread() 413 find_exit_thread(struct trussinfo *info, pid_t pid) in find_exit_thread()
|
/freebsd/tests/sys/fifo/ |
H A D | fifo_open.c | 103 pid_t pid; in run_in_process() local 126 wait_and_timeout(pid_t pid, int timeout, int *status, const char *errstr) in wait_and_timeout() 387 pid_t pid; in test_non_blocking_reader() local 420 pid_t pid; in test_non_blocking_writer() local
|
/freebsd/contrib/netbsd-tests/lib/libc/gen/posix_spawn/ |
H A D | t_fileactions.c | 98 pid_t pid; in ATF_TC_BODY() local 194 pid_t pid; in ATF_TC_BODY() local 229 pid_t pid; in ATF_TC_BODY() local 268 pid_t pid; in ATF_TC_BODY() local 303 pid_t pid; in ATF_TC_BODY() local 356 pid_t pid; in ATF_TC_BODY() local 394 pid_t pid; in t_spawn_chdir_impl() local
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Trace/intel-pt/ |
H A D | PerfContextSwitchDecoder.cpp | 78 uint32_t pid, tid; member 93 lldb::pid_t pid; member 147 lldb::cpu_id_t cpu_id, lldb::tid_t tid, lldb::pid_t pid, uint64_t start, in CreateCompleteExecution() 157 lldb::cpu_id_t cpu_id, lldb::tid_t tid, lldb::pid_t pid, in CreateHintedStartExecution() 167 lldb::cpu_id_t cpu_id, lldb::tid_t tid, lldb::pid_t pid, uint64_t start, in CreateHintedEndExecution() 177 lldb::cpu_id_t cpu_id, lldb::tid_t tid, lldb::pid_t pid, uint64_t end) { in CreateOnlyEndExecution() 185 lldb::cpu_id_t cpu_id, lldb::tid_t tid, lldb::pid_t pid, uint64_t start) { in CreateOnlyStartExecution()
|
/freebsd/sys/cddl/contrib/opensolaris/uts/common/dtrace/ |
H A D | fasttrap.c | 226 #define FASTTRAP_PROVS_INDEX(pid, name) \ argument 229 #define FASTTRAP_PROCS_INDEX(pid) ((pid) & fasttrap_procs.fth_mask) argument 389 pid_t pid; in fasttrap_thread_dtor() local 759 pid_t pid; in fasttrap_tracepoint_enable() local 944 pid_t pid; in fasttrap_tracepoint_disable() local 1455 fasttrap_proc_lookup(pid_t pid) in fasttrap_proc_lookup() 1526 pid_t pid = proc->ftpc_pid; in fasttrap_proc_release() local 1607 fasttrap_provider_lookup(pid_t pid, const char *name, in fasttrap_provider_lookup() 1724 pid_t pid = provider->ftp_pid; in fasttrap_provider_free() local 1771 fasttrap_provider_retire(pid_t pid, const char *name, int mprov) in fasttrap_provider_retire() [all …]
|
/freebsd/contrib/kyua/utils/process/ |
H A D | operations_test.cpp | 260 const pid_t pid = ::fork(); in ATF_TEST_CASE_BODY() local 306 const pid_t pid = ::fork(); in ATF_TEST_CASE_BODY() local 327 const pid_t pid = ::fork(); in ATF_TEST_CASE_BODY() local 344 const pid_t pid = ::fork(); in ATF_TEST_CASE_BODY() local 365 const pid_t pid = ::fork(); in ATF_TEST_CASE_BODY() local 386 const pid_t pid = child->pid(); in ATF_TEST_CASE_BODY() local
|