/freebsd/lib/libpmc/ |
H A D | pmclog.h | 71 pid_t pl_pid; 77 pid_t pl_pid; 84 pid_t pl_pid; 85 pid_t pl_tid; 108 pid_t pl_pid; 114 pid_t pl_pid; 118 pid_t pl_pid; 119 pid_t pl_tid; 125 pid_t pl_pid; 131 pid_t pl_pid; [all …]
|
/freebsd/include/ |
H A D | unistd.h | 55 typedef __pid_t pid_t; typedef 338 pid_t fork(void); 346 pid_t getpgrp(void); 347 pid_t getpid(void); 348 pid_t getppid(void); 362 int setpgid(pid_t, pid_t); 363 pid_t setsid(void); 367 pid_t tcgetpgrp(int); 368 int tcsetpgrp(int, pid_t); 418 int getsid(pid_t _pid); [all …]
|
/freebsd/contrib/tcsh/ |
H A D | sh.types.h | 78 typedef int pid_t; typedef 103 typedef long pid_t; typedef 114 extern pid_t getpid(); 115 extern pid_t fork(); 193 typedef short pid_t; typedef 308 typedef int pid_t; /* FX-80 */ typedef 310 typedef short pid_t; /* FX-2800 */ typedef 329 typedef int pid_t; /* Older versions might not like that */ typedef 361 typedef int pid_t; typedef
|
/freebsd/lib/libc/sys/ |
H A D | waitpid.c | 41 pid_t __waitpid(pid_t, int *, int); 43 pid_t 44 __waitpid(pid_t pid, int *istat, int options) in __waitpid()
|
H A D | wait.c | 41 pid_t __wait(int *); 43 pid_t
|
H A D | wait3.c | 41 pid_t __wait3(int *, int, struct rusage *); 43 pid_t
|
H A D | wait4.c | 39 pid_t 40 wait4(pid_t pid, int *status, int options, struct rusage *ru) in wait4()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/ |
H A D | GDBRemoteCommunicationServerPlatform.h | 58 bool AssociatePortWithProcess(uint16_t port, lldb::pid_t pid); 65 bool FreePortForProcess(lldb::pid_t pid); 72 std::map<uint16_t, lldb::pid_t> m_port_map; 93 lldb::pid_t &pid, std::optional<uint16_t> &port, 96 void SetPendingGdbServer(lldb::pid_t pid, uint16_t port, 103 std::set<lldb::pid_t> m_spawned_pids; 108 lldb::pid_t pid; 132 bool KillSpawnedProcess(lldb::pid_t pid); 134 void DebugserverProcessReaped(lldb::pid_t pid);
|
/freebsd/usr.bin/mail/ |
H A D | popen.c | 45 pid_t pid; 51 pid_t pid; 60 static pid_t file_pid(FILE *); 61 static pid_t start_commandv(char *, sigset_t *, int, int, va_list); 100 pid_t pid; in Popen() 159 register_file(FILE *fp, int pipe, pid_t pid) in register_file() 187 pid_t 207 static pid_t 210 pid_t pid; in start_commandv() 234 pid_t pid; in run_command() [all …]
|
/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/ |
H A D | ProcessInfo.h | 35 ProcessInfo(const char *name, const ArchSpec &arch, lldb::pid_t pid); 68 lldb::pid_t GetProcessID() const { return m_pid; } in GetProcessID() 70 void SetProcessID(lldb::pid_t pid) { m_pid = pid; } in SetProcessID() 130 lldb::pid_t m_pid = LLDB_INVALID_PROCESS_ID; 150 ProcessInstanceInfo(const char *name, const ArchSpec &arch, lldb::pid_t pid) in ProcessInstanceInfo() 172 lldb::pid_t GetParentProcessID() const { return m_parent_pid; } in GetParentProcessID() 174 void SetParentProcessID(lldb::pid_t pid) { m_parent_pid = pid; } in SetParentProcessID() 180 lldb::pid_t GetProcessGroupID() const { return m_process_group_id; } in GetProcessGroupID() 182 void SetProcessGroupID(lldb::pid_t pgrp) { m_process_group_id = pgrp; } in SetProcessGroupID() 188 lldb::pid_t GetProcessSessionID() const { return m_process_session_id; } in GetProcessSessionID() [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Trace/intel-pt/ |
H A D | PerfContextSwitchDecoder.h | 65 lldb::pid_t pid, uint64_t start, uint64_t end); 69 lldb::pid_t pid, uint64_t hinted_start, 74 lldb::pid_t pid, uint64_t start, 79 lldb::pid_t pid, 84 lldb::pid_t pid, uint64_t start); 112 lldb::pid_t pid; 118 lldb::pid_t pid) in ThreadContinuousExecution() 143 const std::set<lldb::pid_t> &pids);
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/NetBSD/ |
H A D | NativeProcessNetBSD.h | 39 Attach(lldb::pid_t pid, NativeDelegate &native_delegate) override; 89 static Status PtraceWrapper(int req, lldb::pid_t pid, void *addr = nullptr, 91 static Status StopProcess(lldb::pid_t pid); 103 NativeProcessNetBSD(::pid_t pid, int terminal_fd, NativeDelegate &delegate, 111 void MonitorCallback(lldb::pid_t pid, int signal); 112 void MonitorExited(lldb::pid_t pid, WaitStatus status); 113 void MonitorSIGSTOP(lldb::pid_t pid); 114 void MonitorSIGTRAP(lldb::pid_t pid); 115 void MonitorSignal(lldb::pid_t pid, int signal); 116 void MonitorClone(::pid_t child_pi [all...] |
/freebsd/sys/sys/ |
H A D | wait.h | 157 pid_t wait(int *); 158 pid_t waitpid(pid_t, int *, int); 165 pid_t wait3(int *, int, struct rusage *); 166 pid_t wait4(pid_t, int *, int, struct rusage *); 167 pid_t wait6(idtype_t, id_t, int *, int, struct __wrusage *,
|
H A D | procdesc.h | 64 pid_t pd_pid; /* (c) Cached pid. */ 98 int kern_pdgetpid(struct thread *, int fd, cap_rights_t *, pid_t *pidp); 101 pid_t procdesc_pid(struct file *); 112 typedef __pid_t pid_t; typedef 122 pid_t pdfork(int *, int); 124 int pdgetpid(int, pid_t *);
|
H A D | procctl.h | 86 pid_t rs_reaper; 87 pid_t rs_pid; 96 pid_t pi_pid; 97 pid_t pi_subtree; 118 pid_t rk_subtree; /* in - subtree, if REAPER_KILL_SUBTREE */ 121 pid_t rk_fpid; /* out - first failed pid for which error
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD/ |
H A D | NativeProcessFreeBSD.h | 42 Attach(lldb::pid_t pid, NativeDelegate &native_delegate) override; 90 static Status PtraceWrapper(int req, lldb::pid_t pid, void *addr = nullptr, 109 NativeProcessFreeBSD(::pid_t pid, int terminal_fd, NativeDelegate &delegate, 117 void MonitorCallback(lldb::pid_t pid, int signal); 118 void MonitorExited(lldb::pid_t pid, WaitStatus status); 119 void MonitorSIGSTOP(lldb::pid_t pid); 120 void MonitorSIGTRAP(lldb::pid_t pid); 121 void MonitorSignal(lldb::pid_t pid, int signal); 122 void MonitorClone(::pid_t child_pid, bool is_vfork,
|
/freebsd/sys/compat/freebsd32/ |
H A D | freebsd32_ipc.h | 74 pid_t msg_lspid; 75 pid_t msg_lrpid; 95 pid_t shm_lpid; 96 pid_t shm_cpid; 159 pid_t msg_lspid; 160 pid_t msg_lrpid; 173 pid_t shm_lpid; 174 pid_t shm_cpid;
|
/freebsd/lib/libutil/ |
H A D | uucplock.c | 54 static int put_pid (int fd, pid_t pid); 55 static pid_t get_pid (int fd,int *err); 65 pid_t pid, pid_old; in uu_lock() 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() 205 static pid_t 210 pid_t pid; in get_pid() 215 pid = (pid_t)strtol (buf, (char **) NULL, 10); in get_pid()
|
/freebsd/lib/libc/gen/ |
H A D | termios.c | 78 tcsetpgrp(int fd, pid_t pgrp) in tcsetpgrp() 86 pid_t 92 return ((pid_t)-1); in tcgetpgrp() 94 return ((pid_t)s); in tcgetpgrp() 97 pid_t 103 return ((pid_t)-1); in tcgetsid() 105 return ((pid_t)s); in tcgetsid() 109 tcsetsid(int fd, pid_t pid) in tcsetsid()
|
/freebsd/contrib/llvm-project/lldb/include/lldb/Host/ |
H A D | Host.h | 65 typedef std::function<void(lldb::pid_t pid, 88 lldb::pid_t pid); 97 static lldb::pid_t GetCurrentProcessID(); 99 static void Kill(lldb::pid_t pid, int signo); 160 typedef std::map<lldb::pid_t, bool> TidMap; 161 typedef std::pair<lldb::pid_t, bool> TidPair; 162 static bool FindProcessThreads(const lldb::pid_t pid, TidMap &tids_to_attach); 164 static bool GetProcessInfo(lldb::pid_t pid, ProcessInstanceInfo &proc_info);
|
/freebsd/contrib/capsicum-test/ |
H A D | procdesc.cc | 33 static pid_t pdwait4_(int pd, int *status, int options, struct rusage *ru) { in pdwait4_() 38 pid_t pid = -1; in pdwait4_() 81 void CheckChildFinished(pid_t pid, bool signaled=false) { in CheckChildFinished() 112 pid_t parent = getpid_(); in TEST() 182 pid_t pid = pdfork(&pd, 0); in TEST() 208 pid_t pd_pid = -1; in TEST() 216 pid_t pid = pdfork(&pd, 0); in TEST() 232 pid_t pid; in TEST() 252 pid_t child = pdfork(&pd, 0); in ThreadMain() 297 pid_t pid; in TEST() [all …]
|
/freebsd/contrib/openbsm/sys/bsm/ |
H A D | audit_record.h | 243 gid_t rgid, pid_t pid, au_asid_t sid, au_tid_t *tid); 245 gid_t rgid, pid_t pid, au_asid_t sid, au_tid_t *tid); 247 gid_t rgid, pid_t pid, au_asid_t sid, au_tid_t *tid); 249 gid_t rgid, pid_t pid, au_asid_t sid, au_tid_addr_t *tid); 251 uid_t ruid, gid_t rgid, pid_t pid, au_asid_t sid, 254 gid_t rgid, pid_t pid, au_asid_t sid, au_tid_addr_t *tid); 266 gid_t rgid, pid_t pid, au_asid_t sid, au_tid_t *tid); 268 gid_t rgid, pid_t pid, au_asid_t sid, au_tid_t *tid); 270 gid_t rgid, pid_t pid, au_asid_t sid, au_tid_t *tid); 272 gid_t rgid, pid_t pid, au_asid_t sid, au_tid_addr_t *tid); [all …]
|
/freebsd/sys/bsm/ |
H A D | audit_record.h | 248 gid_t rgid, pid_t pid, au_asid_t sid, au_tid_t *tid); 250 gid_t rgid, pid_t pid, au_asid_t sid, au_tid_t *tid); 252 gid_t rgid, pid_t pid, au_asid_t sid, au_tid_t *tid); 254 gid_t rgid, pid_t pid, au_asid_t sid, au_tid_addr_t *tid); 256 uid_t ruid, gid_t rgid, pid_t pid, au_asid_t sid, 259 gid_t rgid, pid_t pid, au_asid_t sid, au_tid_addr_t *tid); 272 gid_t rgid, pid_t pid, au_asid_t sid, au_tid_t *tid); 274 gid_t rgid, pid_t pid, au_asid_t sid, au_tid_t *tid); 276 gid_t rgid, pid_t pid, au_asid_t sid, au_tid_t *tid); 278 gid_t rgid, pid_t pid, au_asid_t sid, au_tid_addr_t *tid); [all …]
|
/freebsd/lib/libveriexec/ |
H A D | libveriexec.h | 38 int veriexec_get_pid_params(pid_t, struct mac_veriexec_syscall_params *); 42 int veriexec_check_pid_label(pid_t, const char *); 44 char * veriexec_get_pid_label(pid_t, char *, size_t); 46 unsigned int gbl_check_pid(pid_t);
|
/freebsd/sys/fs/fuse/ |
H A D | fuse_file.h | 157 pid_t pid; 199 struct ucred *cred, pid_t pid); 202 pid_t pid); 205 pid_t pid); 208 pid_t pid);
|