Home
last modified time | relevance | path

Searched refs:pid_t (Results 1 – 25 of 1345) sorted by relevance

12345678910>>...54

/freebsd/lib/libpmc/
H A Dpmclog.h71 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 Dunistd.h55 typedef __pid_t pid_t; typedef
343 pid_t fork(void);
351 pid_t getpgrp(void);
352 pid_t getpid(void);
353 pid_t getppid(void);
367 int setpgid(pid_t, pid_t);
368 pid_t setsid(void);
372 pid_t tcgetpgrp(int);
373 int tcsetpgrp(int, pid_t);
423 int getsid(pid_t _pid);
[all …]
/freebsd/sys/sys/
H A Dprocdesc.h64 pid_t pd_pid; /* (c) Cached pid. */
100 pid_t *pidp);
103 pid_t procdesc_pid(struct file *);
115 typedef __pid_t pid_t; typedef
128 pid_t pdfork(int *, int);
129 pid_t pdrfork(int *, int, int);
131 int pdgetpid(int, pid_t *);
133 pid_t pdrfork_thread(int *, int, int, void *, int (*)(void *), void *);
H A Dwait.h157 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 Dprocctl.h86 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/tcsh/
H A Dsh.types.h78 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 Dwaitpid.c41 pid_t __waitpid(pid_t, int *, int);
43 pid_t
44 __waitpid(pid_t pid, int *istat, int options) in __waitpid()
H A Dwait.c41 pid_t __wait(int *);
43 pid_t
H A Dwait3.c41 pid_t __wait3(int *, int, struct rusage *);
43 pid_t
/freebsd/contrib/llvm-project/libc/src/__support/threads/
H A Didentifier.h24 LIBC_INLINE pid_t *get_tid_cache() { in get_tid_cache()
34 LIBC_INLINE pid_t gettid() { in gettid()
35 pid_t *cache = get_tid_cache(); in gettid()
37 return syscall_impl<pid_t>(SYS_gettid); in gettid()
41 LIBC_INLINE void force_set_tid(pid_t tid) { in force_set_tid()
42 pid_t *cache = get_tid_cache(); in force_set_tid()
/freebsd/usr.bin/mail/
H A Dpopen.c45 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/source/Plugins/Trace/intel-pt/
H A DPerfContextSwitchDecoder.h65 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 DNativeProcessNetBSD.h39 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/contrib/llvm-project/lldb/include/lldb/Utility/
H A DProcessInfo.h35 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/Process/FreeBSD/
H A DNativeProcessFreeBSD.h42 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/contrib/llvm-project/lldb/source/Plugins/Process/AIX/
H A DNativeProcessAIX.cpp66 ::pid_t pid = ProcessLauncherPosixFork() in Launch()
77 ::pid_t wpid = llvm::sys::RetryAfterSignal(-1, ::waitpid, pid, &wstatus, 0); in Launch()
95 lldb::pid_t pid, NativeProcessProtocol::NativeDelegate &native_delegate) { in Attach()
112 static std::optional<std::pair<lldb::pid_t, WaitStatus>> WaitPid() { in WaitPid()
116 ::pid_t wait_pid = in WaitPid()
143 void NativeProcessAIX::Manager::CollectThread(::pid_t tid) {} in CollectThread()
147 NativeProcessAIX::NativeProcessAIX(::pid_t pid, int terminal_fd, in NativeProcessAIX()
150 llvm::ArrayRef<::pid_t> tids) in NativeProcessAIX()
162 llvm::Expected<std::vector<::pid_t>> NativeProcessAIX::Attach(::pid_t pid) { in Attach()
173 return std::vector<::pid_t>{pid}; in Attach()
[all …]
H A DNativeProcessAIX.h43 Attach(lldb::pid_t pid, NativeDelegate &native_delegate) override;
52 void CollectThread(::pid_t tid);
106 static llvm::Expected<int> PtraceWrapper(int req, lldb::pid_t pid,
118 NativeProcessAIX(::pid_t pid, int terminal_fd, NativeDelegate &delegate,
120 llvm::ArrayRef<::pid_t> tids);
122 bool TryHandleWaitStatus(lldb::pid_t pid, WaitStatus status);
125 static llvm::Expected<std::vector<::pid_t>> Attach(::pid_t pid);
/freebsd/sys/compat/freebsd32/
H A Dfreebsd32_ipc.h74 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 Duucplock.c54 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/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunicationServerPlatform.h38 Status LaunchGDBServer(const lldb_private::Args &args, lldb::pid_t &pid,
47 std::set<lldb::pid_t> m_spawned_pids;
71 bool KillSpawnedProcess(lldb::pid_t pid);
72 bool SpawnedProcessIsRunning(lldb::pid_t pid);
73 void AddSpawnedProcess(lldb::pid_t pid);
75 void DebugserverProcessReaped(lldb::pid_t pid);
/freebsd/lib/libc/gen/
H A Dtermios.c78 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/lib/libveriexec/
H A Dlibveriexec.h38 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/contrib/llvm-project/lldb/include/lldb/Host/
H A DHost.h84 typedef std::function<void(lldb::pid_t pid,
107 lldb::pid_t pid);
116 static lldb::pid_t GetCurrentProcessID();
118 static void Kill(lldb::pid_t pid, int signo);
179 typedef std::map<lldb::pid_t, bool> TidMap;
180 typedef std::pair<lldb::pid_t, bool> TidPair;
181 static bool FindProcessThreads(const lldb::pid_t pid, TidMap &tids_to_attach);
183 static bool GetProcessInfo(lldb::pid_t pid, ProcessInstanceInfo &proc_info);
/freebsd/contrib/openbsm/sys/bsm/
H A Daudit_record.h243 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 Daudit_record.h248 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 …]

12345678910>>...54