Home
last modified time | relevance | path

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

12345678910>>...40

/freebsd-12.1/lib/libpmc/
H A Dpmclog.h73 pid_t pl_pid;
79 pid_t pl_pid;
86 pid_t pl_pid;
87 pid_t pl_tid;
110 pid_t pl_pid;
116 pid_t pl_pid;
120 pid_t pl_pid;
121 pid_t pl_tid;
127 pid_t pl_pid;
133 pid_t pl_pid;
[all …]
/freebsd-12.1/contrib/tcsh/
H A Dsh.types.h79 typedef int pid_t; typedef
104 typedef long pid_t; typedef
115 extern pid_t getpid();
116 extern pid_t fork();
194 typedef short pid_t; typedef
309 typedef int pid_t; /* FX-80 */ typedef
311 typedef short pid_t; /* FX-2800 */ typedef
330 typedef int pid_t; /* Older versions might not like that */ typedef
362 typedef int pid_t; typedef
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunicationServerPlatform.h26 typedef std::map<uint16_t, lldb::pid_t> PortMap;
50 bool AssociatePortWithProcess(uint16_t port, lldb::pid_t pid);
54 bool FreePortForProcess(lldb::pid_t pid);
61 lldb::pid_t &pid, uint16_t &port,
64 void SetPendingGdbServer(lldb::pid_t pid, uint16_t port,
71 std::set<lldb::pid_t> m_spawned_pids;
76 lldb::pid_t pid;
98 bool KillSpawnedProcess(lldb::pid_t pid);
100 bool DebugserverProcessReaped(lldb::pid_t pid);
/freebsd-12.1/include/
H A Dunistd.h55 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);
418 int getsid(pid_t _pid);
554 pid_t rfork(int);
[all …]
H A Dspawn.h44 typedef __pid_t pid_t; typedef
72 int posix_spawn(pid_t * __restrict, const char * __restrict,
75 int posix_spawnp(pid_t * __restrict, const char * __restrict,
99 pid_t * __restrict);
110 int posix_spawnattr_setpgroup(posix_spawnattr_t *, pid_t);
/freebsd-12.1/lib/libc/gen/
H A Dwaitpid.c45 pid_t __waitpid(pid_t, int *, int);
47 pid_t
48 __waitpid(pid_t pid, int *istat, int options) in __waitpid()
51 return (((pid_t (*)(pid_t, int *, int, struct rusage *)) in __waitpid()
H A Dtermios.c82 tcsetpgrp(int fd, pid_t pgrp) in tcsetpgrp()
90 pid_t
96 return ((pid_t)-1); in tcgetpgrp()
98 return ((pid_t)s); in tcgetpgrp()
101 pid_t
107 return ((pid_t)-1); in tcgetsid()
109 return ((pid_t)s); in tcgetsid()
113 tcsetsid(int fd, pid_t pid) in tcsetsid()
H A Dwait.c45 pid_t __wait(int *);
47 pid_t
51 return (((pid_t (*)(pid_t, int *, int, struct rusage *)) in __wait()
H A Dwait3.c45 pid_t __wait3(int *, int, struct rusage *);
47 pid_t
51 return (((pid_t (*)(pid_t, int *, int, struct rusage *)) in __wait3()
/freebsd-12.1/usr.bin/mail/
H A Dpopen.c53 pid_t pid;
59 pid_t pid;
108 pid_t pid; in Popen()
195 pid_t
215 static pid_t
218 pid_t pid; in start_commandv()
242 pid_t pid; in run_command()
341 pid_t pid; in sigchild()
367 wait_child(pid_t pid) in wait_child()
371 pid_t rv = 0; in wait_child()
[all …]
/freebsd-12.1/sys/sys/
H A Dwait.h160 pid_t wait(int *);
161 pid_t waitpid(pid_t, int *, int);
168 pid_t wait3(int *, int, struct rusage *);
169 pid_t wait4(pid_t, int *, int, struct rusage *);
170 pid_t wait6(idtype_t, id_t, int *, int, struct __wrusage *,
H A Dprocdesc.h66 pid_t pd_pid; /* (c) Cached pid. */
100 int kern_pdgetpid(struct thread *, int fd, cap_rights_t *, pid_t *pidp);
103 pid_t procdesc_pid(struct file *);
114 typedef __pid_t pid_t; typedef
124 pid_t pdfork(int *, int);
126 int pdgetpid(int, pid_t *);
H A Dprocctl.h80 pid_t rs_reaper;
81 pid_t rs_pid;
90 pid_t pi_pid;
91 pid_t pi_subtree;
109 pid_t rk_subtree; /* in - subtree, if REAPER_KILL_SUBTREE */
112 pid_t rk_fpid; /* out - first failed pid for which error
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Host/
H A DHost.h67 lldb::pid_t pid, bool exited,
108 lldb::pid_t pid, bool monitor_signals);
123 static lldb::pid_t GetCurrentProcessID();
125 static void Kill(lldb::pid_t pid, int signo);
194 typedef std::map<lldb::pid_t, bool> TidMap;
195 typedef std::pair<lldb::pid_t, bool> TidPair;
196 static bool FindProcessThreads(const lldb::pid_t pid, TidMap &tids_to_attach);
198 static bool GetProcessInfo(lldb::pid_t pid, ProcessInstanceInfo &proc_info);
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Process/NetBSD/
H A DNativeProcessNetBSD.h38 Attach(lldb::pid_t pid, NativeDelegate &native_delegate,
90 static Status PtraceWrapper(int req, lldb::pid_t pid, void *addr = nullptr,
102 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);
/freebsd-12.1/sys/compat/freebsd32/
H A Dfreebsd32_ipc.h77 pid_t msg_lspid;
78 pid_t msg_lrpid;
98 pid_t shm_lpid;
99 pid_t shm_cpid;
162 pid_t msg_lspid;
163 pid_t msg_lrpid;
176 pid_t shm_lpid;
177 pid_t shm_cpid;
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Process/Darwin/
H A DNativeProcessDarwin.h57 lldb::pid_t pid, NativeProcessProtocol::NativeDelegate &native_delegate,
119 static Status PtraceWrapper(int req, lldb::pid_t pid, void *addr = nullptr,
202 NativeProcessDarwin(lldb::pid_t pid, int pty_master_fd);
235 Status SendInferiorExitStatusToMainLoop(::pid_t pid, int status);
249 static uint32_t GetCPUTypeForLocalProcess(::pid_t pid);
267 void AttachToInferior(MainLoop &mainloop, lldb::pid_t pid, Status &error);
269 ::pid_t Attach(lldb::pid_t pid, Status &error);
289 static Status SetDefaultPtraceOpts(const lldb::pid_t);
293 void MonitorCallback(lldb::pid_t pid, bool exited, int signal, int status);
295 void WaitForNewThread(::pid_t tid);
/freebsd-12.1/contrib/gcclibs/libiberty/
H A Dpex-unix.c87 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 …]
/freebsd-12.1/lib/libutil/
H A Duucplock.c57 static int put_pid (int fd, pid_t pid);
58 static pid_t get_pid (int fd,int *err);
68 pid_t pid, pid_old; in uu_lock()
128 uu_lock_txfr(const char *tty_name, pid_t pid) in uu_lock_txfr()
199 put_pid(int fd, pid_t pid) in put_pid()
208 static pid_t
213 pid_t pid; in get_pid()
218 pid = (pid_t)strtol (buf, (char **) NULL, 10); in get_pid()
/freebsd-12.1/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-12.1/sys/bsm/
H A Daudit_record.h250 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_t *tid);
256 gid_t rgid, pid_t pid, au_asid_t sid, au_tid_addr_t *tid);
258 uid_t ruid, gid_t rgid, pid_t pid, au_asid_t sid,
261 gid_t rgid, pid_t pid, au_asid_t sid, au_tid_addr_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_t *tid);
280 gid_t rgid, pid_t pid, au_asid_t sid, au_tid_addr_t *tid);
[all …]
/freebsd-12.1/lib/libc/sys/
H A Dwait4.c43 pid_t
44 wait4(pid_t pid, int *status, int options, struct rusage *ru) in wait4()
47 return (((pid_t (*)(pid_t, int *, int, struct rusage *)) in wait4()
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/API/
H A DSBAttachInfo.h23 SBAttachInfo(lldb::pid_t pid);
72 lldb::pid_t GetProcessID();
74 void SetProcessID(lldb::pid_t pid);
155 lldb::pid_t GetParentProcessID();
157 void SetParentProcessID(lldb::pid_t pid);
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD/
H A DProcessMonitor.h56 ProcessMonitor(ProcessFreeBSD *process, lldb::pid_t pid,
62 lldb::pid_t GetPID() const { return m_pid; } in GetPID()
189 lldb::pid_t m_pid;
244 AttachArgs(ProcessMonitor *monitor, lldb::pid_t pid);
248 lldb::pid_t m_pid; // pid of the process to be attached.
262 static bool MonitorCallback(ProcessMonitor *monitor, lldb::pid_t pid,
266 const siginfo_t *info, lldb::pid_t pid);
269 const siginfo_t *info, lldb::pid_t pid);
/freebsd-12.1/tests/sys/fifo/
H A Dfifo_open.c103 run_in_process(int (*func)(void), pid_t *pidp, const char *errstr) in run_in_process()
105 pid_t pid; in run_in_process()
128 wait_and_timeout(pid_t pid, int timeout, int *status, const char *errstr) in wait_and_timeout()
130 pid_t wpid; in wait_and_timeout()
234 pid_t reader_pid, writer_pid, wpid; in test_blocking_reader()
309 pid_t reader_pid, writer_pid, wpid; in test_blocking_writer()
389 pid_t pid; in test_non_blocking_reader()
422 pid_t pid; in test_non_blocking_writer()

12345678910>>...40