Home
last modified time | relevance | path

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

12345678910>>...51

/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.h51 typedef __pid_t pid_t; typedef
334 pid_t fork(void);
342 pid_t getpgrp(void);
343 pid_t getpid(void);
344 pid_t getppid(void);
358 int setpgid(pid_t, pid_t);
359 pid_t setsid(void);
363 pid_t tcgetpgrp(int);
522 int kcmp(pid_t pid1, pid_t pid2, int type, uintptr_t idx1, uintptr_t idx2);
570 int setpgrp(pid_t, pid_t); /* obsoleted by setpgid() */
[all …]
H A Dspawn.h42 typedef __pid_t pid_t; typedef
71 int posix_spawn(pid_t * __restrict, const char * __restrict,
74 int posix_spawnp(pid_t * __restrict, const char * __restrict,
107 pid_t * __restrict);
118 int posix_spawnattr_setpgroup(posix_spawnattr_t *, pid_t);
/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/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunicationServerPlatform.h58 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/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_pid, bool is_vfork,
/freebsd/usr.bin/mail/
H A Dpopen.c45 pid_t pid;
51 pid_t pid;
100 pid_t pid; in Popen()
187 pid_t
207 static pid_t
210 pid_t pid; in start_commandv()
234 pid_t pid; in run_command()
333 pid_t pid; in sigchild()
359 wait_child(pid_t pid) in wait_child()
363 pid_t rv = 0; in wait_child()
[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/sys/sys/
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 Dprocdesc.h64 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 Dprocctl.h84 pid_t rs_reaper;
85 pid_t rs_pid;
94 pid_t pi_pid;
95 pid_t pi_subtree;
116 pid_t rk_subtree; /* in - subtree, if REAPER_KILL_SUBTREE */
119 pid_t rk_fpid; /* out - first failed pid for which error
H A Dmsg.h43 typedef __pid_t pid_t; typedef
71 pid_t msg_lspid; /* pid of last msgsnd() */
72 pid_t msg_lrpid; /* pid of last msgrcv() */
96 pid_t msg_lspid; /* pid of last msgsnd() */
97 pid_t msg_lrpid; /* pid of last msgrcv() */
H A Dshm.h71 typedef __pid_t pid_t; typedef
90 pid_t shm_lpid; /* process ID of last shared memory op */
91 pid_t shm_cpid; /* process ID of creator */
105 pid_t shm_lpid; /* process ID of last shared memory op */
106 pid_t shm_cpid; /* process ID of creator */
/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/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/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/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()
/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/contrib/llvm-project/lldb/include/lldb/Host/
H A DHost.h65 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/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/sys/fs/fuse/
H A Dfuse_file.h157 pid_t pid;
199 struct ucred *cred, pid_t pid);
202 pid_t pid);
205 pid_t pid);
208 pid_t pid);
/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 …]
/freebsd/contrib/capsicum-test/
H A Dprocdesc.cc38 pid_t pid = -1; in pdwait4_()
208 pid_t pd_pid = -1; in TEST()
232 pid_t pid; in TEST()
297 pid_t pid; in TEST()
356 pid_t pid_;
740 pid_t child = fork(); in PdforkParentDeath()
760 pid_t grandchild2; in PdforkParentDeath()
776 pid_t grandchild; in PdforkParentDeath()
902 pid_t pd_pid; in FORK_TEST()
995 pid_t other_pid; in TEST()
[all …]
/freebsd/tests/sys/fifo/
H A Dfifo_open.c101 run_in_process(int (*func)(void), pid_t *pidp, const char *errstr) in run_in_process()
103 pid_t pid; in run_in_process()
126 wait_and_timeout(pid_t pid, int timeout, int *status, const char *errstr) in wait_and_timeout()
128 pid_t wpid; in wait_and_timeout()
232 pid_t reader_pid, writer_pid, wpid; in test_blocking_reader()
307 pid_t reader_pid, writer_pid, wpid; in test_blocking_writer()
387 pid_t pid; in test_non_blocking_reader()
420 pid_t pid; in test_non_blocking_writer()

12345678910>>...51