/openbsd/include/ |
H A D | unistd.h | 343 pid_t fork(void); 352 pid_t getpgrp(void); 353 pid_t getpid(void); 354 pid_t getppid(void); 372 pid_t tcgetpgrp(int); 380 pid_t setsid(void); 381 int setpgid(pid_t, pid_t); 425 pid_t vfork(void); 429 pid_t getpgid(pid_t); 430 pid_t getsid(pid_t); [all …]
|
H A D | sched.h | 58 int sched_setparam(pid_t, const struct sched_param *); 59 int sched_getparam(pid_t, struct sched_param *); 61 int sched_setscheduler(pid_t, int, const struct sched_param *); 62 int sched_getscheduler(pid_t); 71 int sched_rr_get_interval(pid_t, struct timespec *);
|
/openbsd/gnu/llvm/lldb/source/Host/linux/ |
H A D | Host.cpp | 59 ProcessState &State, ::pid_t &TracerPid, in GetStatusInfo() 60 ::pid_t &Tgid) { in GetStatusInfo() 93 ::pid_t PPid; in GetStatusInfo() 212 static bool GetProcessAndStatInfo(::pid_t pid, in GetProcessAndStatInfo() 215 ::pid_t tgid; in GetProcessAndStatInfo() 240 const lldb::pid_t our_pid = getpid(); in FindProcessesImpl() 247 lldb::pid_t pid = atoi(direntry->d_name); in FindProcessesImpl() 253 ::pid_t tracerpid; in FindProcessesImpl() 310 ::pid_t tracerpid; in GetProcessInfo() 321 std::optional<lldb::pid_t> lldb_private::getPIDForTID(lldb::pid_t tid) { in getPIDForTID() [all …]
|
/openbsd/gnu/usr.bin/gcc/gcc/fixinc/ |
H A D | procopen.c | 71 pid_t *p_child; 74 pid_t ch_id; 85 if (p_child != (pid_t *) NULL) 129 if (p_child != (pid_t *) NULL) 134 if (p_child != (pid_t *) NULL) 187 pid_t 192 pid_t ch_id; 214 pid_t 220 pid_t ch_id = proc2_open (&fd_pair, pp_args);
|
/openbsd/gnu/gcc/fixincludes/ |
H A D | procopen.c | 65 chain_open (int stdin_fd, tCC** pp_args, pid_t* p_child) in chain_open() 68 pid_t ch_id; in chain_open() 79 if (p_child != (pid_t *) NULL) in chain_open() 123 if (p_child != (pid_t *) NULL) in chain_open() 128 if (p_child != (pid_t *) NULL) in chain_open() 181 pid_t 184 pid_t ch_id; in proc2_open() 206 pid_t 210 pid_t ch_id = proc2_open (&fd_pair, pp_args); in proc2_fopen()
|
/openbsd/gnu/llvm/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);
|
/openbsd/sys/dev/pci/drm/amd/amdkfd/ |
H A D | kfd_smi_events.h | 32 void kfd_smi_event_page_fault_start(struct kfd_node *node, pid_t pid, 35 void kfd_smi_event_page_fault_end(struct kfd_node *node, pid_t pid, 37 void kfd_smi_event_migration_start(struct kfd_node *node, pid_t pid, 42 void kfd_smi_event_migration_end(struct kfd_node *node, pid_t pid, 45 void kfd_smi_event_queue_eviction(struct kfd_node *node, pid_t pid, 47 void kfd_smi_event_queue_restore(struct kfd_node *node, pid_t pid); 49 void kfd_smi_event_unmap_from_gpu(struct kfd_node *node, pid_t pid,
|
/openbsd/usr.bin/mail/ |
H A D | popen.c | 46 pid_t pid; 52 pid_t pid; 102 pid_t pid; in Popen() 188 static pid_t 208 pid_t 211 pid_t pid; in start_commandv() 235 pid_t pid; in run_command() 342 pid_t pid; in sigchild() 367 wait_child(pid_t pid) in wait_child() 371 pid_t rv = 0; in wait_child() [all …]
|
/openbsd/gnu/llvm/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);
|
/openbsd/gnu/llvm/lldb/source/Plugins/Process/NetBSD/ |
H A D | NativeProcessNetBSD.h | 37 Attach(lldb::pid_t pid, NativeDelegate &native_delegate, 88 static Status PtraceWrapper(int req, lldb::pid_t pid, void *addr = nullptr, 101 NativeProcessNetBSD(::pid_t pid, int terminal_fd, NativeDelegate &delegate, 109 void MonitorCallback(lldb::pid_t pid, int signal); 110 void MonitorExited(lldb::pid_t pid, WaitStatus status); 111 void MonitorSIGSTOP(lldb::pid_t pid); 112 void MonitorSIGTRAP(lldb::pid_t pid); 113 void MonitorSignal(lldb::pid_t pid, int signal); 114 void MonitorClone(::pid_t child_pid, bool is_vfork,
|
/openbsd/gnu/llvm/lldb/source/Plugins/Process/FreeBSD/ |
H A D | NativeProcessFreeBSD.h | 40 Attach(lldb::pid_t pid, NativeDelegate &native_delegate, 89 static Status PtraceWrapper(int req, lldb::pid_t pid, void *addr = nullptr, 108 NativeProcessFreeBSD(::pid_t pid, int terminal_fd, NativeDelegate &delegate, 116 void MonitorCallback(lldb::pid_t pid, int signal); 117 void MonitorExited(lldb::pid_t pid, WaitStatus status); 118 void MonitorSIGSTOP(lldb::pid_t pid); 119 void MonitorSIGTRAP(lldb::pid_t pid); 120 void MonitorSignal(lldb::pid_t pid, int signal); 121 void MonitorClone(::pid_t child_pid, bool is_vfork,
|
/openbsd/sys/sys/ |
H A D | wait.h | 108 pid_t wait(int *); 109 pid_t waitpid(pid_t, int *, int); 114 pid_t wait3(int *, int, struct rusage *); 115 pid_t wait4(pid_t, int *, int, struct rusage *);
|
/openbsd/gnu/lib/libiberty/src/ |
H A D | pex-unix.c | 87 static pid_t pex_wait (struct pex_obj *, pid_t, int *, struct pex_time *); 91 static pid_t 92 pex_wait (struct pex_obj *obj ATTRIBUTE_UNUSED, pid_t pid, int *status, in pex_wait() 95 pid_t ret; in pex_wait() 122 static pid_t 133 static pid_t 138 pid_t ret; in pex_wait() 177 pid_t pid; 182 static pid_t 207 pid_t cpid; in pex_wait() [all …]
|
/openbsd/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); 66 pid_t pid, pid_old; in uu_lock() 123 uu_lock_txfr(const char *ttyname, pid_t pid) in uu_lock_txfr() 194 put_pid(int fd, pid_t pid) in put_pid() 211 static pid_t 216 pid_t pid; in get_pid() 221 pid = (pid_t)strtoul(buf, (char **) NULL, 10); in get_pid()
|
/openbsd/lib/librthread/ |
H A D | rthread_fork.c | 54 static pid_t 55 _dofork(pid_t (*sys_fork)(void)) in _dofork() 58 pid_t newid; in _dofork() 108 pid_t 114 pid_t
|
/openbsd/gnu/llvm/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);
|
/openbsd/gnu/llvm/lldb/include/lldb/Utility/ |
H A D | ProcessInfo.h | 33 ProcessInfo(const char *name, const ArchSpec &arch, lldb::pid_t pid); 66 lldb::pid_t GetProcessID() const { return m_pid; } in GetProcessID() 68 void SetProcessID(lldb::pid_t pid) { m_pid = pid; } in SetProcessID() 99 lldb::pid_t m_pid = LLDB_INVALID_PROCESS_ID; 110 ProcessInstanceInfo(const char *name, const ArchSpec &arch, lldb::pid_t pid) in ProcessInstanceInfo() 133 lldb::pid_t GetParentProcessID() const { return m_parent_pid; } in GetParentProcessID() 135 void SetParentProcessID(lldb::pid_t pid) { m_parent_pid = pid; } in SetParentProcessID() 151 lldb::pid_t m_parent_pid = LLDB_INVALID_PROCESS_ID;
|
/openbsd/gnu/llvm/lldb/source/Plugins/Process/OpenBSD/ |
H A D | NativeProcessOpenBSD.h | 38 Attach(lldb::pid_t pid, NativeDelegate &native_delegate, 91 static Status PtraceWrapper(int req, lldb::pid_t pid, void *addr = nullptr, 102 NativeProcessOpenBSD(::pid_t pid, int terminal_fd, NativeDelegate &delegate, 109 void MonitorCallback(lldb::pid_t pid, int signal); 110 void MonitorExited(lldb::pid_t pid, WaitStatus status); 111 void MonitorSIGTRAP(lldb::pid_t pid); 112 void MonitorSignal(lldb::pid_t pid, int signal);
|
/openbsd/usr.sbin/lpd/ |
H A D | proc.h | 21 struct imsgproc *proc_bypid(pid_t); 26 pid_t proc_getpid(struct imsgproc *); 30 void proc_setpid(struct imsgproc *, pid_t); 36 void m_compose(struct imsgproc *, uint32_t, uint32_t, pid_t, int, const void *, 38 void m_create(struct imsgproc *, uint32_t, uint32_t, pid_t, int);
|
/openbsd/gnu/llvm/lldb/bindings/interface/ |
H A D | SBAttachInfo.i | 18 SBAttachInfo (lldb::pid_t pid); 26 lldb::pid_t 30 SetProcessID (lldb::pid_t pid); 101 lldb::pid_t 105 SetParentProcessID (lldb::pid_t pid);
|
/openbsd/gnu/llvm/lldb/source/Plugins/Platform/Android/ |
H A D | PlatformAndroidRemoteGDBServer.h | 43 std::map<lldb::pid_t, uint16_t> m_port_forwards; 46 bool LaunchGDBServer(lldb::pid_t &pid, std::string &connect_url) override; 48 bool KillSpawnedProcess(lldb::pid_t pid) override; 50 void DeleteForwardPort(lldb::pid_t pid); 52 Status MakeConnectURL(const lldb::pid_t pid, const uint16_t local_port,
|
/openbsd/gnu/usr.bin/cvs/lib/ |
H A D | waitpid.c | 11 pid_t pid; 36 pid_t waitpid (pid, status, options) in waitpid() 37 pid_t pid; in waitpid() 67 pid_t p = wait3 (status, options, (struct rusage *) 0); 69 pid_t p = wait (status);
|
/openbsd/gnu/llvm/lldb/include/lldb/API/ |
H A D | SBAttachInfo.h | 22 SBAttachInfo(lldb::pid_t pid); 67 lldb::pid_t GetProcessID(); 69 void SetProcessID(lldb::pid_t pid); 146 lldb::pid_t GetParentProcessID(); 148 void SetParentProcessID(lldb::pid_t pid);
|
/openbsd/gnu/llvm/lldb/tools/debugserver/source/MacOSX/ |
H A D | MachProcess.h | 85 pid_t AttachForDebug(pid_t pid, 97 static uint32_t GetCPUTypeForLocalProcess(pid_t pid); 101 static pid_t PosixSpawnChildForPTraceDebugging( 116 pid_t BoardServiceLaunchForDebug(const char *app_bundle_path, 122 pid_t BoardServiceForkChildForPTraceDebugging( 139 pid_t SBLaunchForDebug(const char *app_bundle_path, char const *argv[], 142 static pid_t SBForkChildForPTraceDebugging(const char *path, 218 pid_t ProcessID() const { return m_pid; } in ProcessID() 220 pid_t SetProcessID(pid_t pid); 356 int GetInferiorAddrSize(pid_t pid); [all …]
|
/openbsd/gnu/llvm/lldb/tools/darwin-threads/ |
H A D | examine-threads.c | 16 int csops(pid_t pid, unsigned int ops, void *useraddr, size_t usersize); 26 pid_t get_pid_for_process_name(const char *procname) { in get_pid_for_process_name() 27 int process_count = proc_listpids(PROC_ALL_PIDS, 0, NULL, 0) / sizeof(pid_t); in get_pid_for_process_name() 34 int all_pids_size = sizeof(pid_t) * (process_count + 3); in get_pid_for_process_name() 35 pid_t *all_pids = (pid_t *)malloc(all_pids_size); in get_pid_for_process_name() 40 proc_listpids(PROC_ALL_PIDS, 0, all_pids, all_pids_size) / sizeof(pid_t); in get_pid_for_process_name() 43 pid_t highest_pid = 0; in get_pid_for_process_name() 77 const char *get_process_name_for_pid(pid_t pid) { in get_process_name_for_pid() 252 int get_proc_threadinfo(pid_t pid, uint64_t thread_handle, in get_proc_threadinfo() 266 pid_t pid = 0; in main() [all …]
|