Symbol: pid_t
bin/csh/csh.c
111
pid_t backpid;
bin/csh/csh.h
150
extern pid_t backpid; /* Pid of the last background process */
bin/csh/lex.c
1380
pid_t ctpgrp;
bin/csh/proc.c
1077
pid = (pid_t)strtoul(short2str(cp), &ep, 0);
bin/csh/proc.c
1089
(void)kill((pid_t) pid, SIGCONT);
bin/csh/proc.h
52
pid_t p_pid;
bin/csh/proc.h
53
pid_t p_jobid; /* pid of job leader */
bin/kill/kill.c
231
processnum(const char *s, pid_t *pid)
bin/kill/kill.c
241
(pid_t)n != n || errno != 0) {
bin/kill/kill.c
246
*pid = (pid_t)n;
bin/kill/kill.c
69
static int processnum(const char *, pid_t *);
bin/kill/kill.c
77
pid_t pid;
bin/ksh/jobs.c
102
pid_t pid; /* process id */
bin/ksh/jobs.c
1026
pid_t
bin/ksh/jobs.c
138
pid_t pgrp; /* process group of job */
bin/ksh/jobs.c
139
pid_t ppid; /* pid of process that forked job */
bin/ksh/jobs.c
150
pid_t saved_ttypgrp; /* saved tty process group for stopped jobs */
bin/ksh/jobs.c
178
static pid_t async_pid;
bin/ksh/jobs.c
207
static pid_t restore_ttypgrp = -1;
bin/ksh/jobs.c
208
static pid_t our_pgrp;
bin/ksh/jobs.c
356
pid_t ttypgrp;
bin/ksh/jobs.c
60
int tcsetpgrp ARGS((int fd, pid_t grp));
bin/ksh/jobs.c
66
pid_t grp;
bin/ksh/main.c
103
pid_t ppid;
bin/ksh/proto.h
151
pid_t j_async ARGS((void));
bin/ksh/sh.h
183
EXTERN pid_t kshpid; /* $$, shell pid */
bin/ksh/sh.h
184
EXTERN pid_t procpid; /* pid of executing process */
bin/mv/mv.c
380
pid_t pid;
bin/pax/ar_io.c
98
static pid_t zpid = -1; /* pid of child process */
bin/rcp/util.c
127
pid_t pid;
bin/sh/eval.c
1124
pid_t pid;
bin/sh/jobs.c
1011
stop_me(int sig, int force, int pgrp, pid_t pid)
bin/sh/jobs.c
127
static pid_t tcgetpgrp(int fd);
bin/sh/jobs.c
128
static int tcsetpgrp(int fd, pid_t pgrp);
bin/sh/jobs.c
130
static pid_t
bin/sh/jobs.c
133
pid_t pgrp;
bin/sh/jobs.c
1341
pid_t pid;
bin/sh/jobs.c
1378
forkparent(struct job *jp, union node *n, int mode, pid_t pid)
bin/sh/jobs.c
98
MKINIT pid_t backgndpid = -1; /* pid of last background process */
bin/sh/jobs.h
64
pid_t pid; /* process id */
bin/sh/jobs.h
74
pid_t pgrp; /* process group of this job */
bin/sh/jobs.h
90
extern pid_t backgndpid; /* pid of last background process */
bin/sh/jobs.h
98
int forkparent(struct job *, union node *, int, pid_t);
bin/sh/show.c
129
pid_t pid;
bin/sh/show.c
82
pid_t pid; /* process id of process that opened that file */
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
2201
u_int satype, u_int32_t seq, pid_t pid)
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
68
u_int, u_int32_t, pid_t);
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
737
pid_t pid = getpid();
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
746
(pid_t)newmsg->sadb_msg_pid == pid)
crypto/dist/ipsec-tools/src/racoon/pfkey.c
304
pid_t pid = getpid();
crypto/dist/ipsec-tools/src/racoon/privsep.c
203
pid_t child_pid;
crypto/dist/ipsec-tools/src/racoon/session.c
176
pid_t racoon_pid = 0;
dist/pf/sbin/pflogd/privsep.c
59
static volatile pid_t child_pid = -1;
dist/pf/usr.sbin/authpf/authpf.c
227
if (kill((pid_t) otherpid, SIGTERM) == -1) {
dist/pf/usr.sbin/authpf/authpf.c
597
pid_t pid;
dist/pf/usr.sbin/authpf/authpf.c
651
pid_t pid;
games/cribbage/instr.c
63
pid_t pid;
games/fish/fish.c
436
pid_t pid;
games/rogue/machdep.c
477
pid_t pid;
games/wump/wump.c
747
pid_t pid;
include/sched.h
43
int sched_setparam(pid_t, const struct sched_param *);
include/sched.h
44
int sched_getparam(pid_t, struct sched_param *);
include/sched.h
45
int sched_setscheduler(pid_t, int, const struct sched_param *);
include/sched.h
46
int sched_getscheduler(pid_t);
include/sched.h
50
int sched_rr_get_interval(pid_t, struct timespec *)
include/sched.h
67
int sched_getaffinity_np(pid_t, size_t, cpuset_t *);
include/sched.h
68
int sched_setaffinity_np(pid_t, size_t, cpuset_t *);
include/sched.h
79
pid_t clone(int (*)(void *), void *, int, void *);
include/sched.h
84
pid_t __clone(int (*)(void *), void *, int, void *);
include/signal.h
169
int killpg(pid_t, int);
include/signal.h
68
int kill(pid_t, int);
include/spawn.h
41
int posix_spawn(pid_t * __restrict, const char * __restrict,
include/spawn.h
44
int posix_spawnp(pid_t * __restrict, const char * __restrict,
include/spawn.h
72
pid_t * __restrict);
include/spawn.h
83
int posix_spawnattr_setpgroup(posix_spawnattr_t *, pid_t);
include/time.h
177
int clock_getcpuclockid(pid_t, clockid_t *);
include/unistd.h
111
pid_t fork(void);
include/unistd.h
122
pid_t getpgrp(void);
include/unistd.h
123
pid_t getpid(void);
include/unistd.h
124
pid_t getppid(void);
include/unistd.h
136
int setpgid(pid_t, pid_t);
include/unistd.h
137
pid_t setsid(void);
include/unistd.h
141
pid_t tcgetpgrp(int);
include/unistd.h
142
int tcsetpgrp(int, pid_t);
include/unistd.h
242
pid_t getsid(pid_t);
include/unistd.h
272
pid_t getpgid(pid_t);
include/unistd.h
281
int setpgrp(pid_t, pid_t); /* obsoleted by setpgid() */
include/unistd.h
290
pid_t vfork(void) __RENAME(__vfork14) __returns_twice;
include/unistd.h
426
pid_t __fork(void);
include/unistd.h
427
pid_t __locked_fork(int *) __weak;
include/util.h
117
pid_t pidfile_lock(const char *);
include/util.h
118
pid_t pidfile_read(const char *);
include/util.h
125
int pidlock(const char *, int, pid_t *, const char *);
include/util.h
160
int ttylock(const char *, int, pid_t *);
include/util.h
84
pid_t forkpty(int *, char *, struct termios *, struct winsize *);
include/util.h
96
struct kinfo_vmentry *kinfo_getvmmap(pid_t, size_t *);
include/utmpx.h
110
pid_t ut_pid; /* process id creating the entry */
lib/libc/compat-43/killpg.c
52
killpg(pid_t pgid, int sig)
lib/libc/compat-43/setpgrp.c
45
setpgrp(pid_t pid, pid_t pgid)
lib/libc/compat/include/sched.h
44
int sched_rr_get_interval(pid_t, struct timespec50 *);
lib/libc/compat/include/unistd.h
68
pid_t vfork(void) __returns_twice;
lib/libc/compat/include/unistd.h
69
pid_t __vfork14(void) __returns_twice;
lib/libc/compat/include/utmpx.h
43
pid_t ut_pid; /* process id creating the entry */
lib/libc/compat/sys/Lint_Ovfork.c
10
pid_t
lib/libc/compat/sys/compat_sched.c
51
sched_rr_get_interval(pid_t pid, struct timespec50 *interval)
lib/libc/compat/sys/compat_wait4.c
60
pid_t
lib/libc/compat/sys/compat_wait4.c
64
pid_t rv;
lib/libc/compat/sys/compat_wait4.c
73
pid_t
lib/libc/compat/sys/compat_wait4.c
74
wait4(pid_t wpid, int *status, int options, struct rusage50 *ru50)
lib/libc/compat/sys/compat_wait4.c
77
pid_t rv;
lib/libc/gen/arc4random.c
905
pid_t pid, rpid;
lib/libc/gen/popen.c
152
pdes_parent(int *pdes, struct pid *cur, pid_t pid, const char *type)
lib/libc/gen/popen.c
191
pid_t pid;
lib/libc/gen/popen.c
230
pid_t pid;
lib/libc/gen/popen.c
271
pid_t pid;
lib/libc/gen/popen.c
72
pid_t pid;
lib/libc/gen/posix_spawn_sched.c
120
posix_spawnattr_setpgroup(posix_spawnattr_t *sa, pid_t pgroup)
lib/libc/gen/posix_spawn_sched.c
74
pid_t * __restrict pgroup)
lib/libc/gen/posix_spawnp.c
49
int posix_spawnp(pid_t * __restrict pid, const char * __restrict file,
lib/libc/gen/pthread_atfork.c
244
pid_t
lib/libc/gen/pthread_atfork.c
248
pid_t ret;
lib/libc/gen/pthread_atfork.c
56
pid_t
lib/libc/gen/utmpx.c
309
pid_t pid;
lib/libc/gen/wait.c
52
pid_t
lib/libc/gen/wait3.c
47
pid_t
lib/libc/gen/waitpid.c
51
pid_t
lib/libc/gen/waitpid.c
52
waitpid(pid_t pid, int *istat, int options)
lib/libc/gen/wordexp.c
101
pid_t pid; /* Process ID of child */
lib/libc/net/rcmd.c
198
pid_t pid;
lib/libc/net/rcmd.c
371
pid_t pid;
lib/libc/resolv/res_private.h
19
pid_t kqpid;
lib/libc/rpc/clnt_simple.c
81
pid_t pid; /* process-id at moment of creation */
lib/libc/stdlib/system.c
56
pid_t pid;
lib/libc/sys/Lint___clone.c
11
pid_t
lib/libc/sys/Lint___vfork14.c
12
pid_t
lib/libc/sys/Lint_clone.c
12
pid_t
lib/libc/sys/Lint_ptrace.c
14
ptrace(int request, pid_t pid, void *addr, int data)
lib/libc/sys/clock_getcpuclockid.c
41
clock_getcpuclockid(pid_t pid, clockid_t *clock_id)
lib/libc/sys/sched.c
135
sched_rr_get_interval(pid_t pid, struct timespec *interval)
lib/libc/sys/sched.c
150
sched_getaffinity_np(pid_t pid, size_t size, cpuset_t *cpuset)
lib/libc/sys/sched.c
157
sched_setaffinity_np(pid_t pid, size_t size, cpuset_t *cpuset)
lib/libc/sys/sched.c
49
sched_setparam(pid_t pid, const struct sched_param *param)
lib/libc/sys/sched.c
59
sched_getparam(pid_t pid, struct sched_param *param)
lib/libc/sys/sched.c
66
sched_setscheduler(pid_t pid, int policy, const struct sched_param *param)
lib/libc/sys/sched.c
85
sched_getscheduler(pid_t pid)
lib/libc/sys/sigqueue.c
48
sigqueue(pid_t pid, int signo, const union sigval value)
lib/libc/termios/tcgetpgrp.c
54
pid_t
lib/libc/termios/tcgetpgrp.c
62
return ((pid_t)-1);
lib/libc/termios/tcgetpgrp.c
64
if (s == (pid_t)-1)
lib/libc/termios/tcgetpgrp.c
66
s = (uint)(pid_t)~0u >> 1;
lib/libc/termios/tcgetpgrp.c
67
return ((pid_t)s);
lib/libc/termios/tcgetsid.c
54
pid_t
lib/libc/termios/tcgetsid.c
62
return ((pid_t)-1);
lib/libc/termios/tcgetsid.c
64
return ((pid_t)s);
lib/libc/termios/tcsetpgrp.c
55
tcsetpgrp(int fd, pid_t pgrp)
lib/libedit/vi.c
1004
pid_t pid;
lib/libkvm/kvm_proc.c
1086
kvm_doargv2(kvm_t *kd, pid_t pid, int type, int nchr)
lib/libkvm/kvm_proc.c
123
pid_t p_pid;
lib/libkvm/kvm_proc.c
172
static char **kvm_doargv2(kvm_t *, pid_t, int, int);
lib/libkvm/kvm_proc.c
326
if (proc.p_pid != (pid_t)arg)
lib/libkvm/kvm_proc.c
411
if (eproc.e_pgid != (pid_t)arg)
lib/libp2k/p2k.c
149
pid_t pid;
lib/libpam/modules/pam_exec/pam_exec.c
77
pid_t pid;
lib/libpam/modules/pam_ssh/pam_ssh.c
287
pid_t pid;
lib/libpam/modules/pam_ssh/pam_ssh.c
297
if (pid == (pid_t)-1) {
lib/libpam/modules/pam_ssh/pam_ssh.c
464
pid_t pid;
lib/libpam/modules/pam_ssh/pam_ssh.c
470
pid = (pid_t)strtol(ssh_agent_pid, &end, 10);
lib/libpthread/pthread_cancelstub.c
750
pid_t
lib/libpthread/pthread_cancelstub.c
751
__wait450(pid_t wpid, int *status, int options, struct rusage *rusage)
lib/libpthread/pthread_cancelstub.c
753
pid_t retval;
lib/libpthread/pthread_compat.c
148
_sched_setaffinity(pid_t a, lwpid_t b, size_t c, const cpuset_t *d)
lib/libpthread/pthread_compat.c
155
_sched_getaffinity(pid_t a, lwpid_t b, size_t c, cpuset_t *d)
lib/libpthread/pthread_compat.c
162
_sched_setparam(pid_t a, lwpid_t b, int c, const struct sched_param *d)
lib/libpthread/pthread_compat.c
169
_sched_getparam(pid_t a, lwpid_t b, int *c, struct sched_param *d)
lib/libpuffs/callcontext.c
168
puffs_cc_getcaller(struct puffs_cc *pcc, pid_t *pid, lwpid_t *lid)
lib/libpuffs/callcontext.c
284
puffs__cc_setcaller(struct puffs_cc *pcc, pid_t pid, lwpid_t lid)
lib/libpuffs/puffs.h
620
int puffs_cc_getcaller(struct puffs_cc *,pid_t *,lwpid_t *);
lib/libpuffs/puffs_priv.h
181
pid_t pcc_pid;
lib/libpuffs/puffs_priv.h
240
void puffs__cc_setcaller(struct puffs_cc *, pid_t, lwpid_t);
lib/librefuse/fuse.h
136
pid_t pid;
lib/librumpclient/rumpclient.c
1147
pid_t
lib/librumpclient/rumpclient.c
858
static pid_t init_done = 0;
lib/librumpclient/rumpclient.c
867
pid_t mypid;
lib/librumpclient/rumpclient.h
67
pid_t rumpclient_fork(void);
lib/librumpclient/rumpclient.h
88
static __attribute__((__always_inline__)) __returns_twice inline pid_t
lib/librumpclient/rumpclient.h
89
rumpclient__dofork(pid_t (*forkfn)(void))
lib/librumpclient/rumpclient.h
92
pid_t pid;
lib/librumphijack/hijack.c
1907
pid_t
lib/librumphijack/hijack.c
1910
pid_t rv;
lib/librumphijack/hijack.c
434
static pid_t (*host_fork)(void);
lib/librumpuser/rumpuser_sp.c
207
lwproc_newlwp(pid_t pid)
lib/librumpuser/rumpuser_sp.c
230
static pid_t
lib/librumpuser/rumpuser_sp.c
233
pid_t p;
lib/librumpuser/sp_common.c
219
pid_t spc_pid;
lib/libukfs/ukfs.c
478
pid_t holder;
lib/libutil/kinfo_getvmmap.c
15
kinfo_getvmmap(pid_t pid, size_t *cntp)
lib/libutil/passwd.c
141
pid_t pid;
lib/libutil/passwd.c
197
static pid_t editpid = -1;
lib/libutil/pidfile.c
139
pid_t pid;
lib/libutil/pidfile.c
193
pid_t
lib/libutil/pidfile.c
198
pid_t pid = -1;
lib/libutil/pidfile.c
229
pid_t
lib/libutil/pidfile.c
234
pid_t pid = -1;
lib/libutil/pidfile.c
353
pid_t pid;
lib/libutil/pidfile.c
63
static pid_t
lib/libutil/pidfile.c
69
pid_t pid = -1;
lib/libutil/pidfile.c
79
pid = (pid_t)strtoi(buf, &eptr, 10, 1, INT_MAX, &error);
lib/libutil/pidlock.c
212
ttylock(const char *tty, int flags, pid_t *locker)
lib/libutil/pidlock.c
49
pidlock(const char *lockfile, int flags, pid_t *locker, const char *info)
lib/libutil/pidlock.c
53
pid_t pid2 = -1;
lib/libutil/pty.c
138
pid_t
lib/libutil/pty.c
142
pid_t pid;
lib/libutil/ttyaction.c
78
pid_t pid;
lib/libutil/ttymsg.c
161
pid_t cpid;
libexec/atrun/atrun.c
154
pid_t pid;
libexec/ftpd/conf.c
892
pid_t *pids, mypid;
libexec/ftpd/conf.c
912
if ((pids = calloc(sb.st_size + sizeof(pid_t), 1)) == NULL)
libexec/ftpd/conf.c
918
count = (size_t)scount / sizeof(pid_t);
libexec/ftpd/conf.c
940
count = (last + 1) * sizeof(pid_t);
libexec/ftpd/popen.c
221
pid_t pid;
libexec/httpd/cgi-bozo.c
385
pid_t pid;
libexec/httpd/daemon-bozo.c
70
static pid_t pidfile_pid = 0;
libexec/ld.elf_so/rtld.c
2035
__dso_public pid_t
libexec/ld.elf_so/rtld.c
2038
pid_t result;
libexec/ld.elf_so/rtld.h
397
__dso_public pid_t __locked_fork(int *);
libexec/lfs_cleanerd/coalesce.c
184
static pid_t childpid;
libexec/makewhatis/makewhatis.c
778
pid_t child;
libexec/rshd/rshd.c
619
pid_t xpid;
libexec/utmp_update/utmp_update.c
150
pid_t ppid;
regress/sys/kern/unfdpass/unfdpass.c
98
pid_t pid;
sbin/devpubd/devpubd.c
88
pid_t pid;
sbin/dump/rcache.c
66
volatile pid_t owner;
sbin/fsck/fsck.c
268
pid_t *pidp)
sbin/fsck/fsck.c
281
pid_t pid;
sbin/fsck/fsck.c
82
static int checkfs(const char *, const char *, const char *, void *, pid_t *);
sbin/fsck/fsutil.h
51
int (*) (const char *, const char *, const char *, void *, pid_t *));
sbin/fsck/preen.c
359
int (*checkit)(const char *, const char *, const char *, void *, pid_t *))
sbin/fsck/preen.c
90
int (*)(const char *, const char *, const char *, void *, pid_t *));
sbin/fsck/preen.c
95
int (*checkit)(const char *, const char *, const char *, void *, pid_t *))
sbin/init/init.c
1029
find_session(pid_t pid)
sbin/init/init.c
1241
pid_t pid;
sbin/init/init.c
1269
static pid_t
sbin/init/init.c
1272
pid_t pid;
sbin/init/init.c
1342
make_utmpx(const char *name, const char *line, int type, pid_t pid,
sbin/init/init.c
1419
collect_child(pid_t pid, int status)
sbin/init/init.c
1489
pid_t pid;
sbin/init/init.c
153
pid_t se_process; /* controlling process */
sbin/init/init.c
1626
pid_t pid;
sbin/init/init.c
1669
pid_t pid;
sbin/init/init.c
168
static void collect_child(pid_t, int);
sbin/init/init.c
180
static pid_t start_getty(session_t *);
sbin/init/init.c
189
static session_t *find_session(pid_t);
sbin/init/init.c
199
static void make_utmpx(const char *, const char *, int, pid_t,
sbin/init/init.c
645
pid_t pid, wpid;
sbin/init/init.c
830
pid_t pid, wpid;
sbin/mount/mount.c
376
pid_t pid;
sbin/mount_lfs/mount_lfs.c
223
pid_t pid;
sbin/newfs/newfs.c
258
pid_t pid, res;
sbin/route/prog_ops.h
48
pid_t (*op_getpid)(void);
sbin/routed/defs.h
449
extern pid_t mypid;
sbin/routed/main.c
56
pid_t mypid;
sbin/wdogctl/wdogctl.c
232
pid_t tickler;
sbin/wdogctl/wdogctl.c
329
pid_t tickler;
sbin/wdogctl/wdogctl.c
370
pid_t tickler;
sbin/wdogctl/wdogctl.c
414
tickler = (pid_t) -1;
sbin/wdogctl/wdogctl.c
425
if (tickler != (pid_t) -1)
sys/arch/aarch64/aarch64/db_machdep.c
563
proc_t *p = db_proc_find((pid_t)addr);
sys/arch/aarch64/aarch64/db_trace.c
738
if ((pp = db_proc_find((pid_t)addr)) == 0) {
sys/arch/aarch64/aarch64/db_trace.c
756
pid_t pid;
sys/arch/amiga/dev/viewvar.h
47
pid_t lock_process;
sys/arch/arm/arm/db_trace.c
134
if ((pp = db_proc_find((pid_t)addr)) == 0) {
sys/arch/arm/include/pcb.h
48
pid_t pfi_lastpid;
sys/arch/atari/dev/viewvar.h
45
pid_t lock_process;
sys/arch/hppa/hppa/db_trace.c
85
pid_t pid;
sys/arch/hppa/hppa/db_trace.c
95
pid = (pid_t)addr;
sys/arch/mips/include/pcb.h
51
pid_t pfi_lastpid;
sys/arch/powerpc/powerpc/db_trace.c
179
p = db_proc_find((pid_t)addr);
sys/arch/riscv/include/pcb.h
41
pid_t pfi_lastpid;
sys/arch/riscv/riscv/db_trace.c
188
if ((pp = db_proc_find((pid_t)addr)) == 0) {
sys/arch/sh3/sh3/db_trace.c
153
pid_t pid = (pid_t)addr;
sys/arch/shark/include/profileio.h
105
pid_t pid; /* if this is -1 sample no processes */
sys/arch/shark/include/profileio.h
131
pid_t pid; /* the pid to sample */
sys/arch/shark/include/profileio.h
88
pid_t pid; /* The pid being sampled */
sys/arch/sparc64/sparc64/db_trace.c
118
pp = db_proc_find((pid_t)addr);
sys/arch/usermode/include/thunk.h
128
pid_t thunk_getpid(void);
sys/arch/usermode/include/thunk.h
145
pid_t thunk_fork(void);
sys/arch/usermode/include/thunk.h
95
void thunk_kill(pid_t pid, int sig);
sys/arch/usermode/usermode/thunk.c
351
thunk_kill(pid_t pid, int sig)
sys/arch/usermode/usermode/thunk.c
573
pid_t
sys/arch/usermode/usermode/thunk.c
659
pid_t
sys/arch/x86/include/mtrr.h
149
pid_t owner; /* valid if MTRR_PRIVATE set in flags */
sys/arch/x86/x86/db_trace.c
156
if ((pp = db_proc_find((pid_t)addr)) == 0) {
sys/coda/coda.h
381
pid_t pid; /* Common to all */
sys/coda/coda.h
382
pid_t pgid; /* Common to all */
sys/compat/freebsd/freebsd_syscallargs.h
329
syscallarg(pid_t) pid;
sys/compat/freebsd/freebsd_syscallargs.h
533
syscallarg(pid_t) pid;
sys/compat/freebsd/freebsd_syscallargs.h
539
syscallarg(pid_t) pid;
sys/compat/freebsd/freebsd_syscallargs.h
545
syscallarg(pid_t) pid;
sys/compat/freebsd/freebsd_syscallargs.h
552
syscallarg(pid_t) pid;
sys/compat/freebsd/freebsd_syscallargs.h
85
syscallarg(pid_t) pid;
sys/compat/linux/arch/aarch64/linux_syscallargs.h
1089
syscallarg(pid_t) pid;
sys/compat/linux/arch/aarch64/linux_syscallargs.h
554
syscallarg(pid_t) pid;
sys/compat/linux/arch/aarch64/linux_syscallargs.h
560
syscallarg(pid_t) pid;
sys/compat/linux/arch/aarch64/linux_syscallargs.h
567
syscallarg(pid_t) pid;
sys/compat/linux/arch/aarch64/linux_syscallargs.h
572
syscallarg(pid_t) pid;
sys/compat/linux/arch/aarch64/linux_syscallargs.h
578
syscallarg(pid_t) pid;
sys/compat/linux/arch/aarch64/linux_syscallargs.h
585
syscallarg(pid_t) pid;
sys/compat/linux/arch/alpha/linux_syscallargs.h
1357
syscallarg(pid_t) pid;
sys/compat/linux/arch/alpha/linux_syscallargs.h
644
syscallarg(pid_t) pid;
sys/compat/linux/arch/alpha/linux_syscallargs.h
650
syscallarg(pid_t) pid;
sys/compat/linux/arch/alpha/linux_syscallargs.h
656
syscallarg(pid_t) pid;
sys/compat/linux/arch/alpha/linux_syscallargs.h
663
syscallarg(pid_t) pid;
sys/compat/linux/arch/alpha/linux_syscallargs.h
940
syscallarg(pid_t) pid;
sys/compat/linux/arch/alpha/linux_syscallargs.h
947
syscallarg(pid_t) pid;
sys/compat/linux/arch/amd64/linux_syscallargs.h
1248
syscallarg(pid_t) pid;
sys/compat/linux/arch/amd64/linux_syscallargs.h
604
syscallarg(pid_t) pid;
sys/compat/linux/arch/amd64/linux_syscallargs.h
610
syscallarg(pid_t) pid;
sys/compat/linux/arch/amd64/linux_syscallargs.h
616
syscallarg(pid_t) pid;
sys/compat/linux/arch/amd64/linux_syscallargs.h
623
syscallarg(pid_t) pid;
sys/compat/linux/arch/amd64/linux_syscallargs.h
839
syscallarg(pid_t) pid;
sys/compat/linux/arch/amd64/linux_syscallargs.h
846
syscallarg(pid_t) pid;
sys/compat/linux/arch/arm/linux_syscallargs.h
1329
syscallarg(pid_t) pid;
sys/compat/linux/arch/arm/linux_syscallargs.h
530
syscallarg(pid_t) pid;
sys/compat/linux/arch/arm/linux_syscallargs.h
536
syscallarg(pid_t) pid;
sys/compat/linux/arch/arm/linux_syscallargs.h
542
syscallarg(pid_t) pid;
sys/compat/linux/arch/arm/linux_syscallargs.h
549
syscallarg(pid_t) pid;
sys/compat/linux/arch/arm/linux_syscallargs.h
906
syscallarg(pid_t) pid;
sys/compat/linux/arch/arm/linux_syscallargs.h
913
syscallarg(pid_t) pid;
sys/compat/linux/arch/i386/linux_syscallargs.h
1351
syscallarg(pid_t) pid;
sys/compat/linux/arch/i386/linux_syscallargs.h
548
syscallarg(pid_t) pid;
sys/compat/linux/arch/i386/linux_syscallargs.h
554
syscallarg(pid_t) pid;
sys/compat/linux/arch/i386/linux_syscallargs.h
560
syscallarg(pid_t) pid;
sys/compat/linux/arch/i386/linux_syscallargs.h
567
syscallarg(pid_t) pid;
sys/compat/linux/arch/i386/linux_syscallargs.h
935
syscallarg(pid_t) pid;
sys/compat/linux/arch/i386/linux_syscallargs.h
942
syscallarg(pid_t) pid;
sys/compat/linux/arch/m68k/linux_syscallargs.h
1185
syscallarg(pid_t) pid;
sys/compat/linux/arch/m68k/linux_syscallargs.h
1192
syscallarg(pid_t) pid;
sys/compat/linux/arch/m68k/linux_syscallargs.h
1303
syscallarg(pid_t) pid;
sys/compat/linux/arch/m68k/linux_syscallargs.h
529
syscallarg(pid_t) pid;
sys/compat/linux/arch/m68k/linux_syscallargs.h
535
syscallarg(pid_t) pid;
sys/compat/linux/arch/m68k/linux_syscallargs.h
541
syscallarg(pid_t) pid;
sys/compat/linux/arch/m68k/linux_syscallargs.h
548
syscallarg(pid_t) pid;
sys/compat/linux/arch/mips/linux_siginfo.h
70
pid_t _pid;
sys/compat/linux/arch/mips/linux_syscallargs.h
1367
syscallarg(pid_t) pid;
sys/compat/linux/arch/mips/linux_syscallargs.h
508
syscallarg(pid_t) pid;
sys/compat/linux/arch/mips/linux_syscallargs.h
514
syscallarg(pid_t) pid;
sys/compat/linux/arch/mips/linux_syscallargs.h
520
syscallarg(pid_t) pid;
sys/compat/linux/arch/mips/linux_syscallargs.h
527
syscallarg(pid_t) pid;
sys/compat/linux/arch/mips/linux_syscallargs.h
947
syscallarg(pid_t) pid;
sys/compat/linux/arch/mips/linux_syscallargs.h
954
syscallarg(pid_t) pid;
sys/compat/linux/arch/powerpc/linux_syscallargs.h
1237
syscallarg(pid_t) pid;
sys/compat/linux/arch/powerpc/linux_syscallargs.h
505
syscallarg(pid_t) pid;
sys/compat/linux/arch/powerpc/linux_syscallargs.h
511
syscallarg(pid_t) pid;
sys/compat/linux/arch/powerpc/linux_syscallargs.h
517
syscallarg(pid_t) pid;
sys/compat/linux/arch/powerpc/linux_syscallargs.h
524
syscallarg(pid_t) pid;
sys/compat/linux/arch/powerpc/linux_syscallargs.h
831
syscallarg(pid_t) pid;
sys/compat/linux/arch/powerpc/linux_syscallargs.h
838
syscallarg(pid_t) pid;
sys/compat/linux/common/linux_misc.c
281
pid_t pid;
sys/compat/linux/common/linux_sched.c
757
pid_t pid;
sys/compat/linux32/arch/aarch64/linux32_syscallargs.h
1100
syscallarg(pid_t) pid;
sys/compat/linux32/arch/aarch64/linux32_syscallargs.h
490
syscallarg(pid_t) pid;
sys/compat/linux32/arch/aarch64/linux32_syscallargs.h
496
syscallarg(pid_t) pid;
sys/compat/linux32/arch/aarch64/linux32_syscallargs.h
502
syscallarg(pid_t) pid;
sys/compat/linux32/arch/aarch64/linux32_syscallargs.h
509
syscallarg(pid_t) pid;
sys/compat/linux32/arch/aarch64/linux32_syscallargs.h
799
syscallarg(pid_t) pid;
sys/compat/linux32/arch/aarch64/linux32_syscallargs.h
806
syscallarg(pid_t) pid;
sys/compat/linux32/arch/amd64/linux32_syscallargs.h
1109
syscallarg(pid_t) pid;
sys/compat/linux32/arch/amd64/linux32_syscallargs.h
506
syscallarg(pid_t) pid;
sys/compat/linux32/arch/amd64/linux32_syscallargs.h
512
syscallarg(pid_t) pid;
sys/compat/linux32/arch/amd64/linux32_syscallargs.h
518
syscallarg(pid_t) pid;
sys/compat/linux32/arch/amd64/linux32_syscallargs.h
525
syscallarg(pid_t) pid;
sys/compat/linux32/arch/amd64/linux32_syscallargs.h
815
syscallarg(pid_t) pid;
sys/compat/linux32/arch/amd64/linux32_syscallargs.h
822
syscallarg(pid_t) pid;
sys/compat/net/route.h
73
pid_t rtm_pid; /* identify sender */
sys/compat/netbsd32/netbsd32.h
526
pid_t msg_lspid; /* process ID of last msgsend() */
sys/compat/netbsd32/netbsd32.h
527
pid_t msg_lrpid; /* process ID of last msgrcv() */
sys/compat/netbsd32/netbsd32.h
545
pid_t msg_lspid; /* process ID of last msgsend() */
sys/compat/netbsd32/netbsd32.h
546
pid_t msg_lrpid; /* process ID of last msgrcv() */
sys/compat/netbsd32/netbsd32.h
568
pid_t msg_lspid; /* pid of last msgsnd() */
sys/compat/netbsd32/netbsd32.h
569
pid_t msg_lrpid; /* pid of last msgrcv() */
sys/compat/netbsd32/netbsd32.h
651
pid_t shm_lpid; /* process ID of last shm op */
sys/compat/netbsd32/netbsd32.h
652
pid_t shm_cpid; /* process ID of creator */
sys/compat/netbsd32/netbsd32.h
664
pid_t shm_lpid; /* process ID of last shm op */
sys/compat/netbsd32/netbsd32.h
665
pid_t shm_cpid; /* process ID of creator */
sys/compat/netbsd32/netbsd32.h
677
pid_t shm_lpid; /* process ID of last shm op */
sys/compat/netbsd32/netbsd32.h
678
pid_t shm_cpid; /* process ID of creator */
sys/compat/netbsd32/netbsd32_execve.c
198
pid_t pid;
sys/compat/netbsd32/netbsd32_syscallargs.h
1122
syscallarg(pid_t) pid;
sys/compat/netbsd32/netbsd32_syscallargs.h
1295
syscallarg(pid_t) pid;
sys/compat/netbsd32/netbsd32_syscallargs.h
1539
syscallarg(pid_t) pid;
sys/compat/netbsd32/netbsd32_syscallargs.h
168
syscallarg(pid_t) pid;
sys/compat/netbsd32/netbsd32_syscallargs.h
1789
syscallarg(pid_t) pid;
sys/compat/netbsd32/netbsd32_syscallargs.h
1797
syscallarg(pid_t) pid;
sys/compat/netbsd32/netbsd32_syscallargs.h
1805
syscallarg(pid_t) pid;
sys/compat/netbsd32/netbsd32_syscallargs.h
1813
syscallarg(pid_t) pid;
sys/compat/netbsd32/netbsd32_time.c
612
pid_t pid;
sys/compat/netbsd32/netbsd32_time.c
619
pid = id == 0 ? l->l_proc->p_pid : (pid_t)id;
sys/compat/sunos/sunos_ioctl.c
1000
oflp->l_pid = (pid_t) iflp->l_pid;
sys/compat/sunos/sunos_misc.c
981
SCARG(&pa, pid) = (pid_t)SCARG(uap, pid);
sys/compat/sunos/sunos_syscallargs.h
102
syscallarg(pid_t) pid;
sys/compat/sunos32/sunos32_ioctl.c
1026
oflp->l_pid = (pid_t) iflp->l_pid;
sys/compat/sunos32/sunos32_misc.c
1221
SCARG(&pa, pid) = (pid_t)SCARG(uap, pid);
sys/compat/sunos32/sunos32_syscallargs.h
102
syscallarg(pid_t) pid;
sys/compat/sys/msg.h
36
pid_t msg_lspid; /* pid of last msgsnd() */
sys/compat/sys/msg.h
37
pid_t msg_lrpid; /* pid of last msgrcv() */
sys/compat/sys/msg.h
51
pid_t msg_lspid; /* process ID of last msgsend() */
sys/compat/sys/msg.h
52
pid_t msg_lrpid; /* process ID of last msgrcv() */
sys/compat/sys/msg.h
72
pid_t msg_lspid;
sys/compat/sys/msg.h
73
pid_t msg_lrpid;
sys/compat/sys/shm.h
43
pid_t shm_lpid; /* process ID of last shm op */
sys/compat/sys/shm.h
44
pid_t shm_cpid; /* process ID of creator */
sys/compat/sys/shm.h
55
pid_t shm_lpid; /* process ID of last shm operation */
sys/compat/sys/shm.h
56
pid_t shm_cpid; /* process ID of creator */
sys/compat/sys/shm.h
73
pid_t shm_lpid;
sys/compat/sys/shm.h
74
pid_t shm_cpid;
sys/compat/sys/siginfo.h
58
pid_t _pid;
sys/compat/sys/siginfo.h
64
pid_t _pid;
sys/compat/sys/siginfo.h
91
pid_t _pe_other_pid;
sys/compat/sys/wait.h
42
pid_t wait3(int *, int, struct rusage50 *);
sys/compat/sys/wait.h
43
pid_t wait4(pid_t, int *, int, struct rusage50 *);
sys/compat/sys/wait.h
44
pid_t __wait350(int *, int, struct rusage *);
sys/compat/sys/wait.h
45
pid_t __wait450(pid_t, int *, int, struct rusage *);
sys/ddb/db_command.c
1390
pid_t pid = -1;
sys/ddb/db_proc.c
321
pp = db_proc_find((pid_t)addr);
sys/ddb/db_proc.c
95
db_proc_find(pid_t pid)
sys/ddb/db_proc.c
98
pid_t tp;
sys/ddb/db_proc.h
37
struct proc *db_proc_find(pid_t);
sys/ddb/db_xxx.c
121
p = proc_find((pid_t)pid);
sys/dev/audio/audio.c
6460
audio_psignal(struct audio_softc *sc, pid_t pid, int signum)
sys/dev/audio/audio.c
6495
pid_t pid;
sys/dev/audio/audio.c
6540
pid_t pid;
sys/dev/audio/audio.c
681
static void mixer_async_add(struct audio_softc *, pid_t);
sys/dev/audio/audio.c
682
static void mixer_async_remove(struct audio_softc *, pid_t);
sys/dev/audio/audio.c
8425
mixer_async_add(struct audio_softc *sc, pid_t pid)
sys/dev/audio/audio.c
8441
sc->sc_am_capacity * sizeof(pid_t), M_WAITOK);
sys/dev/audio/audio.c
8455
mixer_async_remove(struct audio_softc *sc, pid_t pid)
sys/dev/audio/audiodef.h
213
pid_t async_audio;
sys/dev/audio/audiovar.h
208
pid_t *sc_am;
sys/dev/midi.c
675
pid_t pid;
sys/dev/midivar.h
203
pid_t async; /* process who wants audio SIGIO */
sys/dev/nvmm/nvmm_internal.h
52
pid_t pid;
sys/dev/nvmm/nvmm_ioctl.h
129
pid_t pid;
sys/dev/pud/pud_msgif.h
41
pid_t pdr_pid;
sys/dev/putter/putter.c
130
pid_t pi_pid;
sys/dev/putter/putter.c
595
putter_attach(pid_t pid, int fd, void *ppriv, struct putter_ops *pop)
sys/dev/putter/putter_sys.h
62
struct putter_instance *putter_attach(pid_t, int, void *,
sys/dev/sequencer.c
426
pid_t pid;
sys/dev/sequencervar.h
91
pid_t async; /* process who wants audio SIGIO */
sys/dev/sysmon/sysmon_wdog.c
282
*(pid_t *)data = smw->smw_tickler;
sys/dev/sysmon/sysmon_wdog.c
340
smw->smw_tickler = (pid_t) -1;
sys/dev/sysmon/sysmon_wdog.c
490
smw->smw_tickler = (pid_t) -1;
sys/dev/sysmon/sysmonvar.h
275
pid_t smw_tickler; /* last process to tickle */
sys/dev/wscons/wsdisplay_compat_usl.c
58
pid_t s_pid;
sys/dist/pf/net/if_pflog.h
52
pid_t pid;
sys/dist/pf/net/if_pflog.h
54
pid_t rule_pid;
sys/dist/pf/net/pfvar.h
1081
pid_t pid;
sys/dist/pf/net/pfvar.h
573
pid_t cpid;
sys/fs/autofs/autofs.h
148
pid_t sc_dev_sid;
sys/fs/nfs/client/nfs_clport.c
1264
pid_t pid;
sys/fs/nfs/client/nfs_clrpcops.c
3889
fl->l_pid = (pid_t)0;
sys/fs/nfs/client/nfs_clstate.c
3758
fl->l_pid = (pid_t)0;
sys/fs/nfs/common/nfs_lock.h
56
pid_t pid; /* The process ID. */
sys/fs/nfs/server/nfs_nfsdport.c
3032
fl.l_pid = (pid_t)0;
sys/fs/nfs/server/nfs_nfsdport.c
83
static pid_t nfsd_master_pid = (pid_t)-1;
sys/fs/puffs/puffs_msgif.h
304
pid_t preq_pid;
sys/fs/puffs/puffs_msgif.h
568
pid_t pvnr_pid;
sys/fs/puffs/puffs_vfsops.c
101
pid_t mntpid = curlwp->l_proc->p_pid;
sys/fs/unionfs/unionfs.h
90
pid_t uns_pid; /* current process id */
sys/fs/unionfs/unionfs_subr.c
185
pid_t pid;
sys/kern/kern_descrip.c
125
int, pid_t);
sys/kern/kern_descrip.c
1847
fsetown(pid_t *pgid, u_long cmd, const void *data)
sys/kern/kern_descrip.c
1849
pid_t id = *(const pid_t *)data;
sys/kern/kern_descrip.c
1907
fgetown(pid_t pgid, u_long cmd, void *data)
sys/kern/kern_descrip.c
1926
fownsignal(pid_t pgid, int signo, int code, int band, void *fdescdata)
sys/kern/kern_descrip.c
2417
int i, pid_t pid)
sys/kern/kern_exec.c
2254
pid_t mypid = p->p_pid;
sys/kern/kern_exec.c
2255
pid_t pgrp = attrs->sa_pgroup;
sys/kern/kern_exec.c
2575
do_posix_spawn(struct lwp *l1, pid_t *pid_res, bool *child_ok, const char *path,
sys/kern/kern_exec.c
2587
pid_t pid;
sys/kern/kern_exec.c
2900
pid_t pid;
sys/kern/kern_exit.c
1034
if ((pid_t)id == WAIT_MYPGRP && (idtype == P_PID || idtype == P_PGID)) {
sys/kern/kern_exit.c
845
if (p->p_pid != (pid_t)id) {
sys/kern/kern_exit.c
846
p = *q = proc_find_raw((pid_t)id);
sys/kern/kern_exit.c
856
if (p->p_pgid != (pid_t)id)
sys/kern/kern_exit.c
861
if (p->p_session->s_sid != (pid_t)id)
sys/kern/kern_exit.c
961
pp = proc_find_raw((pid_t)id);
sys/kern/kern_lwp.c
1446
lwp_find2(pid_t pid, lwpid_t lid)
sys/kern/kern_proc.c
1083
static pid_t __noinline
sys/kern/kern_proc.c
1087
pid_t pid;
sys/kern/kern_proc.c
1142
pid_t
sys/kern/kern_proc.c
1145
pid_t pid;
sys/kern/kern_proc.c
1159
pid_t
sys/kern/kern_proc.c
1163
pid_t pid;
sys/kern/kern_proc.c
1205
proc_free_pid_internal(pid_t pid, uintptr_t type __diagused)
sys/kern/kern_proc.c
1237
proc_free_pid(pid_t pid)
sys/kern/kern_proc.c
1252
proc_free_lwpid(struct proc *p, pid_t pid)
sys/kern/kern_proc.c
1292
proc_enterpgrp(struct proc *curp, pid_t pid, pid_t pgid, bool mksess)
sys/kern/kern_proc.c
1298
pid_t pg_id = NO_PGID;
sys/kern/kern_proc.c
148
pid_t pt_pid;
sys/kern/kern_proc.c
1482
pg_remove(pid_t pg_id)
sys/kern/kern_proc.c
1516
pg_delete(pid_t pg_id)
sys/kern/kern_proc.c
188
static pid_t pid_max __read_mostly;
sys/kern/kern_proc.c
2174
match = (p->p_pid == (pid_t)arg);
sys/kern/kern_proc.c
2178
match = (p->p_pgrp->pg_id == (pid_t)arg);
sys/kern/kern_proc.c
2182
match = (p->p_session->s_sid == (pid_t)arg);
sys/kern/kern_proc.c
2358
pid_t pid;
sys/kern/kern_proc.c
259
static struct pgrp * pg_remove(pid_t);
sys/kern/kern_proc.c
260
static void pg_delete(pid_t);
sys/kern/kern_proc.c
270
static int fill_pathname(struct lwp *, pid_t, void *, size_t *);
sys/kern/kern_proc.c
271
static int fill_cwd(struct lwp *, pid_t, void *, size_t *);
sys/kern/kern_proc.c
2951
proc_find_locked(struct lwp *l, struct proc **p, pid_t pid)
sys/kern/kern_proc.c
2981
fill_pathname(struct lwp *l, pid_t pid, void *oldp, size_t *oldlenp)
sys/kern/kern_proc.c
3009
fill_cwd(struct lwp *l, pid_t pid, void *oldp, size_t *oldlenp)
sys/kern/kern_proc.c
373
static pid_t proc_alloc_pid_slot(struct proc *, uintptr_t);
sys/kern/kern_proc.c
628
pgid_in_session(struct proc *p, pid_t pg_id)
sys/kern/kern_proc.c
684
proc_find_lwp(proc_t *p, pid_t pid)
sys/kern/kern_proc.c
754
proc_find_lwp_unlocked(proc_t *p, pid_t pid)
sys/kern/kern_proc.c
820
proc_find_lwp_acquire_proc(pid_t pid, struct proc **pp)
sys/kern/kern_proc.c
855
proc_find_raw_pid_table_locked(pid_t pid, bool any_lwpid)
sys/kern/kern_proc.c
884
proc_find_raw(pid_t pid)
sys/kern/kern_proc.c
891
proc_find_internal(pid_t pid, bool any_lwpid)
sys/kern/kern_proc.c
913
proc_find(pid_t pid)
sys/kern/kern_proc.c
919
proc_find_lwpid(pid_t pid)
sys/kern/kern_proc.c
930
pgrp_find(pid_t pgid)
sys/kern/kern_proc.c
955
pid_t pid, rpid;
sys/kern/kern_prot.c
128
pid_t pid = SCARG(uap, pid);
sys/kern/kern_prot.c
150
pid_t pid = SCARG(uap, pid);
sys/kern/kern_prot.c
282
pid_t targp, pgid;
sys/kern/kern_resource.c
1007
error = sysctl_proc_findproc(l, (pid_t)name[-2], &p);
sys/kern/kern_resource.c
1089
error = sysctl_proc_findproc(l, (pid_t)name[-4], &p);
sys/kern/kern_resource.c
841
sysctl_proc_findproc(lwp_t *l, pid_t pid, proc_t **p2)
sys/kern/kern_resource.c
880
error = sysctl_proc_findproc(l, (pid_t)name[-2], &p);
sys/kern/kern_resource.c
926
error = sysctl_proc_findproc(l, (pid_t)name[-2], &p);
sys/kern/kern_time.c
500
pid_t pid;
sys/kern/subr_copy.c
400
copyin_pid(pid_t pid, const void *uaddr, void *kaddr, size_t len)
sys/kern/subr_log.c
343
pid_t pid;
sys/kern/subr_log.c
95
static pid_t log_pgid; /* process/group for async I/O */
sys/kern/subr_time.c
143
pid_t pid = clock_id & CPUCLOCK_ID_MASK;
sys/kern/sys_pset.c
426
pid_t pid = 0;
sys/kern/sys_ptrace_common.c
1082
do_ptrace(struct ptrace_methods *ptm, struct lwp *l, int req, pid_t pid,
sys/kern/sys_ptrace_common.c
297
ptrace_find(struct lwp *l, int req, pid_t pid)
sys/kern/sys_sched.c
108
do_sched_setparam(pid_t pid, lwpid_t lid, int policy,
sys/kern/sys_sched.c
228
do_sched_getparam(pid_t pid, lwpid_t lid, int *policy,
sys/kern/sys_sig.c
225
kill1(struct lwp *l, pid_t pid, ksiginfo_t *ksi, register_t *retval)
sys/kern/tty.c
1410
pid_t pgid = *(pid_t *)data;
sys/kern/tty.c
1451
pid_t pgid = *(pid_t *)data;
sys/kern/vfs_wapbl.c
1977
pid_t pid = -1;
sys/kern/vfs_wapbl.c
721
pid_t pid = -1;
sys/miscfs/procfs/procfs.h
141
pid_t pk_pid; /* associated process */
sys/miscfs/procfs/procfs.h
185
procfs_fileno(pid_t _pid, pfstype _type, int _fd)
sys/miscfs/procfs/procfs.h
230
struct proc *procfs_proc_find(struct mount *, pid_t);
sys/miscfs/procfs/procfs.h
242
int procfs_allocvp(struct mount *, struct vnode **, pid_t, pfstype, int);
sys/miscfs/procfs/procfs_subr.c
127
procfs_allocvp(struct mount *mp, struct vnode **vpp, pid_t pid,
sys/miscfs/procfs/procfs_subr.c
406
procfs_proc_find(struct mount *mp, pid_t pid)
sys/miscfs/procfs/procfs_vfsops.c
136
procfs_hashhead(pid_t pid)
sys/miscfs/procfs/procfs_vnops.c
1074
pid_t pid, vnpid;
sys/miscfs/procfs/procfs_vnops.c
1132
pid = (pid_t)atoi(pname, cnp->cn_namelen);
sys/net/bpfdesc.h
103
pid_t bd_pgid; /* process or group id for signal */
sys/net/bpfdesc.h
113
pid_t bd_pid; /* corresponding PID */
sys/net/bpfdesc.h
154
pid_t bde_pid;
sys/net/if.h
819
pid_t ifam_pid; /* identify sender */
sys/net/if_ppp.c
367
pppalloc(pid_t pid)
sys/net/if_pppvar.h
150
struct ppp_softc *pppalloc(pid_t);
sys/net/if_pppvar.h
98
pid_t sc_xfer; /* used in transferring unit */
sys/net/if_tap.c
100
pid_t sc_pgid; /* For async. IO */
sys/net/if_tun.h
52
pid_t tun_pgid; /* PID or process group ID */
sys/net/npf/npf_ext_log.c
115
hdr.pid = (pid_t)-1;
sys/net/npf/npf_ext_log.c
117
hdr.rule_pid = (pid_t)-1;
sys/net/route.h
227
pid_t rtm_pid; /* identify sender */
sys/netipsec/key.c
2869
key_setspddump_chain(int *errorp, int *lenp, pid_t pid)
sys/netipsec/key.c
2935
pid_t pid;
sys/netipsec/key.c
3052
key_setdumpsp(struct secpolicy *sp, u_int8_t type, u_int32_t seq, pid_t pid)
sys/netipsec/key.c
4234
u_int32_t seq, pid_t pid, u_int16_t reserved, int mflag)
sys/netipsec/key.c
686
static struct mbuf * key_setspddump (int *errorp, pid_t);
sys/netipsec/key.c
687
static struct mbuf * key_setspddump_chain (int *errorp, int *lenp, pid_t pid);
sys/netipsec/key.c
691
u_int8_t, u_int32_t, pid_t);
sys/netipsec/key.c
725
u_int32_t, pid_t, u_int16_t, int);
sys/netipsec/key.c
7604
key_setdump_chain(u_int8_t req_satype, int *errorp, int *lenp, pid_t pid)
sys/netipsec/key.c
815
int *lenp, pid_t pid);
sys/netipsec/key.c
8683
key_setspddump(int *errorp, pid_t pid)
sys/netipsec/keydb.h
128
pid_t pid; /* message's pid */
sys/nfs/nfs_vnops.c
2832
pid_t pid;
sys/rump/include/rump-sys/kern.h
225
pid_t (*rspo_hyp_getpid)(void);
sys/rump/include/rump-sys/kern_if.h
32
int rump_lwproc_newlwp(pid_t);
sys/rump/include/rump-sys/kern_if.h
33
typedef int (*rump_lwproc_newlwp_fn)(pid_t);
sys/rump/include/rump-sys/kern_if.h
42
void rump_allbetsareoff_setid(pid_t, int);
sys/rump/include/rump-sys/kern_if.h
43
typedef void (*rump_allbetsareoff_setid_fn)(pid_t, int);
sys/rump/include/rump/rump_syscalls.h
882
pid_t rump_sys_getpid(void) __RENAME(RUMP_SYS_RENAME_GETPID);
sys/rump/include/rump/rump_syscalls.h
897
pid_t rump_sys_getppid(void) __RENAME(RUMP_SYS_RENAME_GETPPID);
sys/rump/include/rump/rump_syscalls.h
900
int rump_sys_ktrace(const char *, int, int, pid_t) __RENAME(RUMP_SYS_RENAME_KTRACE);
sys/rump/include/rump/rump_syscalls.h
913
int rump_sys_setpgid(pid_t, pid_t) __RENAME(RUMP_SYS_RENAME_SETPGID);
sys/rump/include/rump/rump_syscalls.h
956
pid_t rump_sys_getpgid(pid_t) __RENAME(RUMP_SYS_RENAME_GETPGID);
sys/rump/include/rump/rump_syscalls.h
981
pid_t rump_sys_getsid(pid_t) __RENAME(RUMP_SYS_RENAME_GETSID);
sys/rump/include/rump/rump_syscalls.h
982
int rump_sys_fktrace(int, int, int, pid_t) __RENAME(RUMP_SYS_RENAME_FKTRACE);
sys/rump/include/rump/rumpkern_if_pub.h
19
int rump_pub_lwproc_newlwp(pid_t);
sys/rump/include/rump/rumpkern_if_pub.h
24
void rump_pub_allbetsareoff_setid(pid_t, int);
sys/rump/include/rump/rumpuser.h
60
int (*hyp_lwproc_newlwp)(pid_t);
sys/rump/include/rump/rumpuser.h
65
pid_t (*hyp_getpid)(void);
sys/rump/kern/lib/libsysproxy/sysproxy.c
66
static pid_t
sys/rump/librump/rumpkern/lwproc.c
394
rump_lwproc_newlwp(pid_t pid)
sys/rump/librump/rumpkern/rump.c
133
static pid_t rspo_wrap_getpid(void) {
sys/rump/librump/rumpkern/rump.c
737
rump_allbetsareoff_setid(pid_t pid, int lid)
sys/rump/librump/rumpkern/rump_syscalls.c
1222
int rump___sysimpl_setpgid(pid_t, pid_t);
sys/rump/librump/rumpkern/rump_syscalls.c
1224
rump___sysimpl_setpgid(pid_t pid, pid_t pgid)
sys/rump/librump/rumpkern/rump_syscalls.c
2504
pid_t rump___sysimpl_getpgid(pid_t);
sys/rump/librump/rumpkern/rump_syscalls.c
2505
pid_t
sys/rump/librump/rumpkern/rump_syscalls.c
2506
rump___sysimpl_getpgid(pid_t pid)
sys/rump/librump/rumpkern/rump_syscalls.c
2510
pid_t rv = -1;
sys/rump/librump/rumpkern/rump_syscalls.c
2519
if (sizeof(pid_t) > sizeof(register_t))
sys/rump/librump/rumpkern/rump_syscalls.c
2520
rv = *(pid_t *)retval;
sys/rump/librump/rumpkern/rump_syscalls.c
3230
pid_t rump___sysimpl_getsid(pid_t);
sys/rump/librump/rumpkern/rump_syscalls.c
3231
pid_t
sys/rump/librump/rumpkern/rump_syscalls.c
3232
rump___sysimpl_getsid(pid_t pid)
sys/rump/librump/rumpkern/rump_syscalls.c
3236
pid_t rv = -1;
sys/rump/librump/rumpkern/rump_syscalls.c
3245
if (sizeof(pid_t) > sizeof(register_t))
sys/rump/librump/rumpkern/rump_syscalls.c
3246
rv = *(pid_t *)retval;
sys/rump/librump/rumpkern/rump_syscalls.c
3258
int rump___sysimpl_fktrace(int, int, int, pid_t);
sys/rump/librump/rumpkern/rump_syscalls.c
3260
rump___sysimpl_fktrace(int fd, int ops, int facs, pid_t pid)
sys/rump/librump/rumpkern/rump_syscalls.c
390
pid_t rump___sysimpl_getpid(void);
sys/rump/librump/rumpkern/rump_syscalls.c
391
pid_t
sys/rump/librump/rumpkern/rump_syscalls.c
395
pid_t rv = -1;
sys/rump/librump/rumpkern/rump_syscalls.c
398
if (sizeof(pid_t) > sizeof(register_t))
sys/rump/librump/rumpkern/rump_syscalls.c
399
rv = *(pid_t *)retval;
sys/rump/librump/rumpkern/rump_syscalls.c
791
pid_t rump___sysimpl_getppid(void);
sys/rump/librump/rumpkern/rump_syscalls.c
792
pid_t
sys/rump/librump/rumpkern/rump_syscalls.c
796
pid_t rv = -1;
sys/rump/librump/rumpkern/rump_syscalls.c
799
if (sizeof(pid_t) > sizeof(register_t))
sys/rump/librump/rumpkern/rump_syscalls.c
800
rv = *(pid_t *)retval;
sys/rump/librump/rumpkern/rump_syscalls.c
859
int rump___sysimpl_ktrace(const char *, int, int, pid_t);
sys/rump/librump/rumpkern/rump_syscalls.c
861
rump___sysimpl_ktrace(const char * fname, int ops, int facs, pid_t pid)
sys/rump/librump/rumpkern/rumpkern_if_wrappers.c
144
rump_pub_lwproc_newlwp(pid_t arg1)
sys/rump/librump/rumpkern/rumpkern_if_wrappers.c
195
rump_pub_allbetsareoff_setid(pid_t arg1, int arg2)
sys/sys/agpio.h
124
pid_t pid; /* pid of process */
sys/sys/exec.h
311
int do_posix_spawn(struct lwp *, pid_t *, bool *, const char *,
sys/sys/fcntl.h
289
pid_t l_pid; /* lock owner */
sys/sys/file.h
220
int fsetown(pid_t *, u_long, const void *);
sys/sys/file.h
221
int fgetown(pid_t, u_long, void *);
sys/sys/file.h
222
void fownsignal(pid_t, int, int, int, void *);
sys/sys/ktrace.h
307
int ktrace(const char *, int, int, pid_t);
sys/sys/ktrace.h
308
int fktrace(int, int, int, pid_t);
sys/sys/ktrace.h
70
pid_t ktr_pid; /* process id */
sys/sys/lwp.h
369
lwp_t * lwp_find2(pid_t, lwpid_t);
sys/sys/msg.h
124
pid_t msg_lspid;
sys/sys/msg.h
125
pid_t msg_lrpid;
sys/sys/msg.h
82
pid_t msg_lspid; /* process ID of last msgsend() */
sys/sys/msg.h
83
pid_t msg_lrpid; /* process ID of last msgrcv() */
sys/sys/pipe.h
102
pid_t pipe_pgid; /* process group for sigio */
sys/sys/proc.h
114
pid_t s_sid; /* Session ID (pid of leader) */
sys/sys/proc.h
123
pid_t pg_id; /* Pgrp id */
sys/sys/proc.h
262
pid_t p_pid; /* :: Process identifier. */
sys/sys/proc.h
311
pid_t p_ppid; /* :: cached parent pid */
sys/sys/proc.h
312
pid_t p_oppid; /* :: cached original parent pid */
sys/sys/proc.h
469
#define NO_PGID ((pid_t)-1)
sys/sys/proc.h
498
int proc_find_locked(struct lwp *, struct proc **, pid_t);
sys/sys/proc.h
499
proc_t * proc_find_raw(pid_t);
sys/sys/proc.h
500
proc_t * proc_find(pid_t); /* Find process by ID */
sys/sys/proc.h
501
proc_t * proc_find_lwpid(pid_t); /* Find process by LWP ID */
sys/sys/proc.h
502
struct lwp * proc_find_lwp(proc_t *, pid_t); /* Find LWP in proc by ID */
sys/sys/proc.h
503
struct lwp * proc_find_lwp_unlocked(proc_t *, pid_t);
sys/sys/proc.h
505
struct lwp * proc_find_lwp_acquire_proc(pid_t, proc_t **);
sys/sys/proc.h
506
struct pgrp * pgrp_find(pid_t); /* Find process group by ID */
sys/sys/proc.h
510
int proc_enterpgrp(struct proc *, pid_t, pid_t, bool);
sys/sys/proc.h
521
int kill1(struct lwp *l, pid_t pid, ksiginfo_t *ksi, register_t *retval);
sys/sys/proc.h
528
pid_t proc_alloc_pid(struct proc *);
sys/sys/proc.h
529
void proc_free_pid(pid_t);
sys/sys/proc.h
530
pid_t proc_alloc_lwpid(struct proc *, struct lwp *);
sys/sys/proc.h
531
void proc_free_lwpid(struct proc *, pid_t);
sys/sys/proc.h
536
int pgid_in_session(struct proc *, pid_t);
sys/sys/ptrace.h
119
pid_t _pe_other_pid;
sys/sys/ptrace.h
271
int do_ptrace(struct ptrace_methods *, struct lwp *, int, pid_t, void *,
sys/sys/ptrace.h
377
int ptrace(int _request, pid_t _pid, void *_addr, int _data);
sys/sys/sched.h
124
int _sched_getaffinity(pid_t, lwpid_t, size_t, cpuset_t *);
sys/sys/sched.h
125
int _sched_setaffinity(pid_t, lwpid_t, size_t, const cpuset_t *);
sys/sys/sched.h
126
int _sched_getparam(pid_t, lwpid_t, int *, struct sched_param *);
sys/sys/sched.h
127
int _sched_setparam(pid_t, lwpid_t, int, const struct sched_param *);
sys/sys/sched.h
281
int do_sched_setparam(pid_t, lwpid_t, int, const struct sched_param *);
sys/sys/sched.h
282
int do_sched_getparam(pid_t, lwpid_t, int *, struct sched_param *);
sys/sys/sem.h
49
pid_t sempid; /* pid of last operation */
sys/sys/shm.h
100
pid_t shm_cpid; /* process ID of creator */
sys/sys/shm.h
145
pid_t shm_lpid;
sys/sys/shm.h
146
pid_t shm_cpid;
sys/sys/shm.h
99
pid_t shm_lpid; /* process ID of last shm operation */
sys/sys/siginfo.h
56
pid_t _pid;
sys/sys/siginfo.h
62
pid_t _pid;
sys/sys/siginfo.h
91
pid_t _pe_other_pid;
sys/sys/signal.h
322
int sigqueue(pid_t, int, const union sigval);
sys/sys/signal.h
339
int sigqueueinfo(pid_t, const siginfo_t *);
sys/sys/socket.h
364
#ifndef pid_t
sys/sys/socket.h
383
pid_t sc_pid; /* process id */
sys/sys/socketvar.h
166
pid_t so_pgid; /* pgid for signals */
sys/sys/socketvar.h
184
pid_t so_cpid; /* creator pid */
sys/sys/spawn.h
43
pid_t sa_pgroup;
sys/sys/syscallargs.h
1352
syscallarg(pid_t) pid;
sys/sys/syscallargs.h
1579
syscallarg(pid_t) pid;
sys/sys/syscallargs.h
1862
syscallarg(pid_t) pid;
sys/sys/syscallargs.h
1878
syscallarg(pid_t) pid;
sys/sys/syscallargs.h
194
syscallarg(pid_t) pid;
sys/sys/syscallargs.h
2205
syscallarg(pid_t) pid;
sys/sys/syscallargs.h
2215
syscallarg(pid_t) pid;
sys/sys/syscallargs.h
2225
syscallarg(pid_t) pid;
sys/sys/syscallargs.h
2235
syscallarg(pid_t) pid;
sys/sys/syscallargs.h
266
syscallarg(pid_t) pid;
sys/sys/syscallargs.h
2954
syscallarg(pid_t) pid;
sys/sys/syscallargs.h
307
syscallarg(pid_t) pid;
sys/sys/syscallargs.h
3137
syscallarg(pid_t *) pid;
sys/sys/syscallargs.h
498
syscallarg(pid_t) pid;
sys/sys/syscallargs.h
499
syscallarg(pid_t) pgid;
sys/sys/syscallargs.h
88
syscallarg(pid_t) pid;
sys/sys/sysctl.h
335
pid_t e_ppid; /* parent process id */
sys/sys/sysctl.h
336
pid_t e_pgid; /* process group id */
sys/sys/sysctl.h
339
pid_t e_tpgid; /* tty process group id */
sys/sys/sysctl.h
349
pid_t e_sid; /* session id */
sys/sys/systm.h
375
int copyin_pid(pid_t, const void *, void *, size_t);
sys/sys/termios.h
264
#ifndef pid_t
sys/sys/termios.h
283
pid_t tcgetsid(int);
sys/sys/types.h
196
#ifndef pid_t
sys/sys/un.h
78
pid_t unp_pid; /* process id */
sys/sys/wait.h
204
pid_t wait(int *);
sys/sys/wait.h
205
pid_t waitpid(pid_t, int *, int);
sys/sys/wait.h
209
pid_t wait3(int *, int, struct rusage *) __RENAME(__wait350);
sys/sys/wait.h
210
pid_t wait4(pid_t, int *, int, struct rusage *) __RENAME(__wait450);
sys/sys/wait.h
211
pid_t wait6(idtype_t, id_t, int *, int, struct wrusage *, siginfo_t *);
sys/sys/wdog.h
79
#define WDOGIOC_GTICKLER _IOR('w', 4, pid_t)
sys/ufs/lfs/lfs.h
1079
pid_t lfs_rfpid; /* Process ID of roll-forward agent */
sys/uvm/uvm_map.c
5369
fill_vmentries(struct lwp *l, pid_t pid, u_int elem_size, void *oldp,
sys/uvm/uvm_page.h
185
pid_t owner; /* proc that set PG_BUSY */
tests/dev/audio/audiotest.c
2439
pid_t pid;
tests/dev/audio/audiotest.c
4326
pid_t pid;
tests/dev/sysmon/t_swwdog.c
69
pid_t p1, p2;
tests/fs/common/fstest_nfs.c
83
pid_t childpid;
tests/fs/common/fstest_puffs.c
251
pid_t childpid;
tests/fs/common/h_fsmacros.h
309
pid_t ta_childpid;
tests/fs/common/h_fsmacros.h
318
pid_t pta_childpid;
tests/fs/common/snapshot.c
128
static pid_t wrkpid;
tests/fs/fifofs/t_fifo.c
94
pid_t pid;
tests/fs/lfs/t_orphan.c
72
pid_t childpid;
tests/fs/tmpfs/t_renamerace.c
36
static pid_t wrkpid;
tests/fs/vfs/t_renamerace.c
40
pid_t wrkpid;
tests/fs/vfs/t_vnops.c
909
pid_t pid[5];
tests/include/sys/t_types.c
89
pid_t pid;
tests/kernel/arch/aarch64/execregs.c
129
pid_t
tests/kernel/arch/aarch64/execregs.c
168
pid_t pid;
tests/kernel/arch/aarch64/execregs.h
82
pid_t spawnregschild(char *, int);
tests/kernel/arch/hppa/execregs.c
258
pid_t
tests/kernel/arch/hppa/execregs.c
323
pid_t pid;
tests/kernel/arch/hppa/execregs.h
153
pid_t spawnregschild(char *, int);
tests/kernel/arch/i386/execregs.c
80
pid_t
tests/kernel/arch/i386/execregs.c
95
pid_t pid;
tests/kernel/arch/i386/execregs.h
65
pid_t spawnregschild(char *, int);
tests/kernel/arch/vax/execregs.c
122
pid_t pid;
tests/kernel/arch/vax/execregs.c
97
pid_t
tests/kernel/arch/vax/execregs.h
73
pid_t spawnregschild(char *, int);
tests/kernel/arch/x86_64/execregs.c
117
pid_t pid;
tests/kernel/arch/x86_64/execregs.c
94
pid_t
tests/kernel/arch/x86_64/execregs.h
77
pid_t spawnregschild(char *, int);
tests/kernel/h_fpufork.c
42
pid_t child, pid;
tests/kernel/h_getprocpath.c
36
getprocpath(char *path, size_t len, pid_t pid)
tests/kernel/h_getprocpath.c
53
pid_t pid = atoi(argv[1]);
tests/kernel/kqueue/read/t_file.c
89
pid_t pid;
tests/kernel/kqueue/read/t_ttypty.c
57
pid_t child;
tests/kernel/kqueue/t_proc1.c
101
pid_t pid;
tests/kernel/kqueue/t_proc1.c
59
pid_t ch;
tests/kernel/kqueue/t_proc2.c
61
pid_t pid;
tests/kernel/kqueue/t_proc2.c
92
pid_t pid = 0;
tests/kernel/kqueue/t_proc3.c
59
pid_t pid = 0;
tests/kernel/kqueue/t_proc3.c
91
ATF_REQUIRE_EQ((pid_t)ke.ident, pid);
tests/kernel/kqueue/t_proc4.c
130
ATF_REQUIRE(wait4((pid_t)event.ident,
tests/kernel/kqueue/t_proc4.c
58
pid_t pid;
tests/kernel/kqueue/t_proc4.c
85
pid_t pid;
tests/kernel/kqueue/t_sig.c
143
pid_t pid;
tests/kernel/kqueue/t_sig.c
66
pid_t pid, child;
tests/kernel/kqueue/write/t_pipe.c
86
pid_t child;
tests/kernel/kqueue/write/t_ttypty.c
59
pid_t child;
tests/kernel/t_cloexec.c
271
pid_t (*execfn)(char *, char *const[]))
tests/kernel/t_cloexec.c
276
pid_t child, waitedpid;
tests/kernel/t_cloexec.c
335
static pid_t
tests/kernel/t_cloexec.c
338
pid_t pid;
tests/kernel/t_cloexec.c
351
static pid_t
tests/kernel/t_cloexec.c
354
pid_t pid;
tests/kernel/t_cloexec.c
367
static pid_t
tests/kernel/t_cloexec.c
370
pid_t pid;
tests/kernel/t_clofork.c
248
pid_t (*execfn)(char *, char *const[]))
tests/kernel/t_clofork.c
253
pid_t child, waitedpid;
tests/kernel/t_clofork.c
312
static pid_t
tests/kernel/t_clofork.c
315
pid_t pid;
tests/kernel/t_clofork.c
328
static pid_t
tests/kernel/t_clofork.c
331
pid_t pid;
tests/kernel/t_clofork.c
344
static pid_t
tests/kernel/t_clofork.c
347
pid_t pid;
tests/kernel/t_execregs.c
135
pid_t child;
tests/kernel/t_execregs.c
173
pid_t child;
tests/kernel/t_lockf.c
123
pid_t *pid;
tests/kernel/t_lockf.c
141
pid = malloc(nprocs * sizeof(pid_t));
tests/kernel/t_lockf.c
221
pid_t pid;
tests/kernel/t_lua.c
188
pid_t child;
tests/kernel/t_nanosleep.c
123
pid_t v, m, x;
tests/kernel/t_nanosleep.c
53
tester(pid_t victim, clockid_t clock, int flags)
tests/kernel/t_proccwd.c
115
pid_t child, wpid;
tests/kernel/t_proccwd.c
119
const pid_t pid_one = 1; /* /sbin/init */
tests/kernel/t_proccwd.c
47
getproccwd(char *path, size_t *len, pid_t pid)
tests/kernel/t_proccwd.c
71
pid_t t[] = {
tests/kernel/t_pty.c
186
static pid_t
tests/kernel/t_pty.c
189
pid_t pid;
tests/kernel/t_pty.c
46
static pid_t child_spawn(const char *);
tests/kernel/t_pty.c
62
pid_t child;
tests/kernel/t_semtimedop.c
113
pid_t pid;
tests/kernel/t_semtimedop.c
174
pid_t pid;
tests/kernel/t_signal_and_sp.c
72
pid_t pid;
tests/kernel/t_sysv.c
190
pid_t wait_result;
tests/kernel/t_sysv.c
411
pid_t wait_result;
tests/kernel/t_sysv.c
615
pid_t wait_result;
tests/kernel/t_sysv.c
89
pid_t child_pid;
tests/kernel/t_zombie.c
117
await_zombie(pid_t process)
tests/kernel/t_zombie.c
130
pid_t child1, child2, pid;
tests/kernel/t_zombie.c
95
check_zombie(pid_t process)
tests/lib/libc/c063/t_fexecve.c
56
pid_t pid;
tests/lib/libc/gen/execve/t_execve.c
80
pid_t pid;
tests/lib/libc/gen/posix_spawn/t_fileactions.c
176
pid_t pid;
tests/lib/libc/gen/posix_spawn/t_fileactions.c
209
pid_t pid;
tests/lib/libc/gen/posix_spawn/t_fileactions.c
246
pid_t pid;
tests/lib/libc/gen/posix_spawn/t_fileactions.c
278
pid_t pid;
tests/lib/libc/gen/posix_spawn/t_fileactions.c
322
pid_t pid;
tests/lib/libc/gen/posix_spawn/t_fileactions.c
365
pid_t pid;
tests/lib/libc/gen/posix_spawn/t_fileactions.c
410
pid_t pid;
tests/lib/libc/gen/posix_spawn/t_fileactions.c
77
pid_t pid;
tests/lib/libc/gen/posix_spawn/t_spawn.c
145
pid_t pid;
tests/lib/libc/gen/posix_spawn/t_spawn.c
210
pid_t pid;
tests/lib/libc/gen/posix_spawn/t_spawn.c
491
pid_t pid;
tests/lib/libc/gen/posix_spawn/t_spawn.c
535
pid_t pid;
tests/lib/libc/gen/posix_spawn/t_spawnattr.c
188
pid_t pid;
tests/lib/libc/gen/t_alarm.c
81
pid_t pid;
tests/lib/libc/gen/t_arc4random.c
293
pid_t pid;
tests/lib/libc/gen/t_arc4random.c
344
pid_t pid;
tests/lib/libc/gen/t_arc4random.c
396
pid_t child, pid;
tests/lib/libc/gen/t_assert.c
112
pid_t pid;
tests/lib/libc/gen/t_assert.c
74
pid_t pid;
tests/lib/libc/gen/t_closefrom.c
140
pid_t pid;
tests/lib/libc/gen/t_ctype.c
806
pid_t pid;
tests/lib/libc/gen/t_getgrent.c
128
pid_t pid;
tests/lib/libc/gen/t_nice.c
97
pid_t pid;
tests/lib/libc/gen/t_pause.c
79
pid_t pid;
tests/lib/libc/gen/t_siginfo.c
61
pid_t child;
tests/lib/libc/misc/t_ubsan.c
72
pid_t pid;
tests/lib/libc/rpc/t_rpc.c
173
pid_t pid;
tests/lib/libc/stdlib/t_exit.c
119
pid_t pid;
tests/lib/libc/stdlib/t_exit.c
148
pid_t pid;
tests/lib/libc/stdlib/t_exit.c
59
pid_t pid;
tests/lib/libc/stdlib/t_exit.c
92
pid_t pid;
tests/lib/libc/sys/t_chroot.c
143
pid_t pid;
tests/lib/libc/sys/t_chroot.c
182
pid_t pid;
tests/lib/libc/sys/t_chroot.c
268
pid_t pid;
tests/lib/libc/sys/t_chroot.c
57
pid_t pid;
tests/lib/libc/sys/t_clone.c
120
pid_t pid;
tests/lib/libc/sys/t_dup.c
286
pid_t pid;
tests/lib/libc/sys/t_fork.c
141
pid_t child, parent, watcher, wpid;
tests/lib/libc/sys/t_fork.c
278
pid_t child, child2, wpid;
tests/lib/libc/sys/t_fork.c
84
static pid_t
tests/lib/libc/sys/t_fork.c
85
await_stopped_child(pid_t process)
tests/lib/libc/sys/t_fork.c
89
pid_t child = -1;
tests/lib/libc/sys/t_futex_ops.c
127
pid_t pid;
tests/lib/libc/sys/t_futex_ops.c
146
pid_t pid;
tests/lib/libc/sys/t_futex_ops.c
75
pid_t child;
tests/lib/libc/sys/t_getgroups.c
102
pid_t pid;
tests/lib/libc/sys/t_getlogin.c
129
pid_t pid;
tests/lib/libc/sys/t_getlogin.c
192
pid_t pid;
tests/lib/libc/sys/t_getlogin.c
88
pid_t pid;
tests/lib/libc/sys/t_getpid.c
108
pid_t pid, tpid;
tests/lib/libc/sys/t_getpid.c
48
*(pid_t *)arg = getpid();
tests/lib/libc/sys/t_getpid.c
61
pid_t ppid, fpid, cpid, tpid, wpid;
tests/lib/libc/sys/t_getsid.c
50
pid_t sid;
tests/lib/libc/sys/t_getsid.c
82
pid_t csid, pid, ppid, sid;
tests/lib/libc/sys/t_issetugid.c
48
pid_t pid;
tests/lib/libc/sys/t_kevent.c
79
pid_t child;
tests/lib/libc/sys/t_kill.c
135
pid_t cpid, ppid;
tests/lib/libc/sys/t_kill.c
218
pid_t cpid, ppid;
tests/lib/libc/sys/t_kill.c
265
pid_t cpid, ppid;
tests/lib/libc/sys/t_kill.c
54
pid_t pid;
tests/lib/libc/sys/t_kill.c
89
pid_t pid;
tests/lib/libc/sys/t_mkdir.c
114
pid_t pid;
tests/lib/libc/sys/t_mkfifo.c
162
pid_t pid;
tests/lib/libc/sys/t_mkfifo.c
76
pid_t pid;
tests/lib/libc/sys/t_mlock.c
171
pid_t pid;
tests/lib/libc/sys/t_mmap.c
337
pid_t pid;
tests/lib/libc/sys/t_mmap.c
373
pid_t pid;
tests/lib/libc/sys/t_mmap.c
534
pid_t pid;
tests/lib/libc/sys/t_mprotect.c
146
pid_t pid;
tests/lib/libc/sys/t_mprotect.c
286
pid_t pid;
tests/lib/libc/sys/t_mprotect.c
329
pid_t pid;
tests/lib/libc/sys/t_mprotect.c
397
pid_t pid;
tests/lib/libc/sys/t_msgctl.c
118
pid_t pid;
tests/lib/libc/sys/t_msgctl.c
197
pid_t pid;
tests/lib/libc/sys/t_msgget.c
116
pid_t pid;
tests/lib/libc/sys/t_msgrcv.c
113
pid_t pid;
tests/lib/libc/sys/t_msgrcv.c
251
pid_t pid;
tests/lib/libc/sys/t_msgsnd.c
224
pid_t pid;
tests/lib/libc/sys/t_msgsnd.c
271
pid_t pid;
tests/lib/libc/sys/t_msgsnd.c
83
pid_t pid;
tests/lib/libc/sys/t_nanosleep.c
135
pid_t pid;
tests/lib/libc/sys/t_pipe.c
50
static pid_t pid;
tests/lib/libc/sys/t_poll.c
109
pid_t pid;
tests/lib/libc/sys/t_poll.c
455
pid_t pid;
tests/lib/libc/sys/t_poll.c
713
pid_t pid;
tests/lib/libc/sys/t_ptrace.c
157
pid_t child;
tests/lib/libc/sys/t_ptrace_amd64_wait.h
44
pid_t child, wpid;
tests/lib/libc/sys/t_ptrace_bytetransfer_wait.h
524
pid_t child, wpid;
tests/lib/libc/sys/t_ptrace_bytetransfer_wait.h
60
pid_t child, wpid;
tests/lib/libc/sys/t_ptrace_bytetransfer_wait.h
703
pid_t child, wpid;
tests/lib/libc/sys/t_ptrace_clone_wait.h
324
pid_t child, child2 = 0, wpid;
tests/lib/libc/sys/t_ptrace_clone_wait.h
36
pid_t child, child2 = 0, wpid;
tests/lib/libc/sys/t_ptrace_clone_wait.h
685
pid_t child, child2 = 0, wpid;
tests/lib/libc/sys/t_ptrace_core_wait.h
151
pid_t child, wpid;
tests/lib/libc/sys/t_ptrace_eventmask_wait.h
34
pid_t child, wpid;
tests/lib/libc/sys/t_ptrace_exec_wait.h
180
pid_t child, wpid;
tests/lib/libc/sys/t_ptrace_exec_wait.h
33
pid_t child, wpid;
tests/lib/libc/sys/t_ptrace_fork_wait.h
1216
traceme_vfork_fork_body(pid_t (*fn)(void))
tests/lib/libc/sys/t_ptrace_fork_wait.h
1220
pid_t child, child2 = 0, wpid;
tests/lib/libc/sys/t_ptrace_fork_wait.h
1283
pid_t child, child2 = 0, wpid;
tests/lib/libc/sys/t_ptrace_fork_wait.h
356
pid_t tracee, tracer, wpid;
tests/lib/libc/sys/t_ptrace_fork_wait.h
357
pid_t tracee2 = 0;
tests/lib/libc/sys/t_ptrace_fork_wait.h
36
pid_t child, child2 = 0, wpid;
tests/lib/libc/sys/t_ptrace_fork_wait.h
745
pid_t child, child2 = 0, wpid;
tests/lib/libc/sys/t_ptrace_fork_wait.h
937
pid_t tracee, tracer, wpid;
tests/lib/libc/sys/t_ptrace_fork_wait.h
938
pid_t tracee2 = 0;
tests/lib/libc/sys/t_ptrace_i386_wait.h
41
pid_t child, wpid;
tests/lib/libc/sys/t_ptrace_kill.c
78
pid_t rpid, pid;
tests/lib/libc/sys/t_ptrace_kill.c
80
pid = *(pid_t *)pidp;
tests/lib/libc/sys/t_ptrace_kill.c
91
pid_t pid;
tests/lib/libc/sys/t_ptrace_kill_wait.h
33
pid_t child, wpid;
tests/lib/libc/sys/t_ptrace_lwp_wait.h
432
pid_t tracee, tracer, wpid;
tests/lib/libc/sys/t_ptrace_lwp_wait.h
65
pid_t child, wpid;
tests/lib/libc/sys/t_ptrace_misc_wait.h
32
pid_t child, wpid;
tests/lib/libc/sys/t_ptrace_register_wait.h
35
pid_t child, wpid;
tests/lib/libc/sys/t_ptrace_sigchld.c
119
pid_t child;
tests/lib/libc/sys/t_ptrace_sigchld.c
91
static pid_t expected_pid;
tests/lib/libc/sys/t_ptrace_siginfo_wait.h
37
pid_t child, wpid;
tests/lib/libc/sys/t_ptrace_signal_wait.h
1052
pid_t child, wpid;
tests/lib/libc/sys/t_ptrace_signal_wait.h
1140
pid_t child, wpid;
tests/lib/libc/sys/t_ptrace_signal_wait.h
1230
pid_t child, wpid;
tests/lib/libc/sys/t_ptrace_signal_wait.h
1366
pid_t child, parent, watcher, wpid;
tests/lib/libc/sys/t_ptrace_signal_wait.h
1525
pid_t child, wpid;
tests/lib/libc/sys/t_ptrace_signal_wait.h
1606
pid_t child, wpid;
tests/lib/libc/sys/t_ptrace_signal_wait.h
1692
pid_t child, wpid;
tests/lib/libc/sys/t_ptrace_signal_wait.h
1789
pid_t tracee, tracer, wpid;
tests/lib/libc/sys/t_ptrace_signal_wait.h
179
pid_t child, wpid;
tests/lib/libc/sys/t_ptrace_signal_wait.h
2176
pid_t child, wpid;
tests/lib/libc/sys/t_ptrace_signal_wait.h
294
pid_t child, wpid;
tests/lib/libc/sys/t_ptrace_signal_wait.h
385
pid_t child, wpid;
tests/lib/libc/sys/t_ptrace_signal_wait.h
507
pid_t child, wpid;
tests/lib/libc/sys/t_ptrace_signal_wait.h
69
pid_t child, wpid;
tests/lib/libc/sys/t_ptrace_signal_wait.h
726
pid_t child, wpid;
tests/lib/libc/sys/t_ptrace_signal_wait.h
949
pid_t child, wpid;
tests/lib/libc/sys/t_ptrace_step_wait.h
35
pid_t child, wpid;
tests/lib/libc/sys/t_ptrace_syscall_wait.h
203
pid_t child, wpid;
tests/lib/libc/sys/t_ptrace_syscall_wait.h
49
pid_t child, wpid;
tests/lib/libc/sys/t_ptrace_threads_wait.h
272
pid_t child, wpid;
tests/lib/libc/sys/t_ptrace_threads_wait.h
460
pid_t child, wpid;
tests/lib/libc/sys/t_ptrace_threads_wait.h
52
pid_t child, wpid;
tests/lib/libc/sys/t_ptrace_threads_wait.h
547
pid_t child, wpid;
tests/lib/libc/sys/t_ptrace_threads_wait.h
742
thread_concurrent_lwp_setup(pid_t child, lwpid_t lwpid);
tests/lib/libc/sys/t_ptrace_threads_wait.h
744
thread_concurrent_handle_sigtrap(pid_t child, ptrace_siginfo_t *info);
tests/lib/libc/sys/t_ptrace_threads_wait.h
753
pid_t child, wpid;
tests/lib/libc/sys/t_ptrace_topology_wait.h
102
pid_t tracee, tracer, wpid;
tests/lib/libc/sys/t_ptrace_topology_wait.h
316
pid_t tracee, wpid;
tests/lib/libc/sys/t_ptrace_topology_wait.h
40
pid_t child1, child2, wpid;
tests/lib/libc/sys/t_ptrace_topology_wait.h
407
pid_t tracer, wpid;
tests/lib/libc/sys/t_ptrace_topology_wait.h
502
pid_t child, wpid;
tests/lib/libc/sys/t_ptrace_topology_wait.h
538
pid_t parent, tracee, tracer, wpid;
tests/lib/libc/sys/t_ptrace_wait.h
418
await_zombie_raw(pid_t process, useconds_t ms)
tests/lib/libc/sys/t_ptrace_wait.h
448
await_zombie(pid_t process)
tests/lib/libc/sys/t_ptrace_wait.h
455
await_stopped(pid_t process)
tests/lib/libc/sys/t_ptrace_wait.h
482
static pid_t __used
tests/lib/libc/sys/t_ptrace_wait.h
483
await_stopped_child(pid_t process)
tests/lib/libc/sys/t_ptrace_wait.h
487
pid_t child = -1;
tests/lib/libc/sys/t_ptrace_wait.h
538
await_collected(pid_t process)
tests/lib/libc/sys/t_ptrace_wait.h
679
can_we_write_to_text(pid_t pid)
tests/lib/libc/sys/t_ptrace_x86_wait.h
1101
pid_t child, wpid;
tests/lib/libc/sys/t_ptrace_x86_wait.h
1233
pid_t child, wpid;
tests/lib/libc/sys/t_ptrace_x86_wait.h
128
pid_t child, wpid;
tests/lib/libc/sys/t_ptrace_x86_wait.h
1365
pid_t child, wpid;
tests/lib/libc/sys/t_ptrace_x86_wait.h
1497
pid_t child, wpid;
tests/lib/libc/sys/t_ptrace_x86_wait.h
1628
pid_t child, wpid;
tests/lib/libc/sys/t_ptrace_x86_wait.h
1795
pid_t child, wpid;
tests/lib/libc/sys/t_ptrace_x86_wait.h
2086
pid_t child, wpid;
tests/lib/libc/sys/t_ptrace_x86_wait.h
2928
pid_t child, wpid;
tests/lib/libc/sys/t_ptrace_x86_wait.h
381
pid_t child, wpid;
tests/lib/libc/sys/t_ptrace_x86_wait.h
4371
thread_concurrent_lwp_setup(pid_t child, lwpid_t lwpid)
tests/lib/libc/sys/t_ptrace_x86_wait.h
4405
thread_concurrent_handle_sigtrap(pid_t child, ptrace_siginfo_t *info)
tests/lib/libc/sys/t_ptrace_x86_wait.h
71
pid_t child, wpid;
tests/lib/libc/sys/t_revoke.c
134
pid_t pid;
tests/lib/libc/sys/t_select.c
144
pid_t pid;
tests/lib/libc/sys/t_select.c
184
pid_t pid;
tests/lib/libc/sys/t_setrlimit.c
185
pid_t pid;
tests/lib/libc/sys/t_setrlimit.c
250
pid_t pid;
tests/lib/libc/sys/t_setrlimit.c
306
pid_t pid;
tests/lib/libc/sys/t_setrlimit.c
355
pid_t pid;
tests/lib/libc/sys/t_setrlimit.c
413
pid_t pid, cpid;
tests/lib/libc/sys/t_setrlimit.c
577
pid_t forked, waited;
tests/lib/libc/sys/t_setuid.c
84
pid_t pid;
tests/lib/libc/sys/t_sigaction.c
115
const pid_t pid = fork();
tests/lib/libc/sys/t_sigaction.c
133
const pid_t pid = fork();
tests/lib/libc/sys/t_sigaction.c
69
wait_and_check_child(const pid_t pid, const char *fail_message)
tests/lib/libc/sys/t_sigqueue.c
160
pid_t pid;
tests/lib/libc/sys/t_umask.c
68
pid_t pid;
tests/lib/libc/sys/t_wait.c
110
pid_t pid;
tests/lib/libc/sys/t_wait.c
145
pid_t pid;
tests/lib/libc/sys/t_wait.c
182
pid_t pid;
tests/lib/libc/sys/t_wait.c
248
pid_t pid;
tests/lib/libc/sys/t_wait.c
76
pid_t pid;
tests/lib/libc/termios/t_tcsetpgrp.c
51
pid_t pid;
tests/lib/libc/tls/dso/h_tls_dlopen.c
49
static __thread pid_t (*local_var)(void) = getpid;
tests/lib/libc/tls/t_tls_dynamic.c
59
extern __thread pid_t (*dso_var1)(void);
tests/lib/libc/tls_dso/h_tls_dynamic.c
47
__thread pid_t (*dso_var1)(void) = getpid;
tests/lib/libcurses/director/director.c
132
pid_t slave_pid;
tests/lib/libexecinfo/t_backtrace_sandbox.c
44
pid_t pid;
tests/lib/libpthread/t_fork.c
54
static pid_t parent;
tests/lib/libpthread/t_fork.c
78
pid_t fork_pid;
tests/lib/libpthread/t_once.c
206
pid_t pid, child;
tests/lib/librt/t_sched.c
52
pid_t p = getpid();
tests/lib/librt/t_sem.c
125
pid_t children[NCHILDREN];
tests/lib/librt/t_sem.c
130
pid_t pid;
tests/lib/librt/t_sem.c
235
pid_t pid, children[NCHILDREN];
tests/lib/librumpclient/h_execthr.c
103
pid_t mypid;
tests/lib/librumpclient/h_execthr.c
82
getproc(pid_t mypid, struct kinfo_proc2 *p)
tests/lib/libutil/t_pidfile.c
110
pid_t pid;
tests/net/bpfilter/t_bpfilter.c
229
pid_t child;
tests/net/icmp/t_forward.c
137
pid_t cpid;
tests/net/icmp/t_ping.c
213
pid_t cpid;
tests/net/icmp/t_ping.c
249
pid_t cpid;
tests/net/icmp/t_ping.c
282
pid_t cpid;
tests/net/icmp/t_ping.c
341
pid_t cpid;
tests/net/icmp/t_ping.c
69
pid_t cpid;
tests/net/if_tap/rump_open_tap.c
58
pid_t pid;
tests/net/mcast/mcast.c
351
pid_t pid;
tests/net/net/t_mapped.c
169
pid_t sfdpid, cfdpid;
tests/net/net/t_pktinfo_send.c
597
pid_t child;
tests/net/net/t_pktinfo_send.c
693
pid_t child;
tests/net/net/t_unix.c
143
peercred(int s, uid_t *euid, gid_t *egid, pid_t *pid)
tests/net/net/t_unix.c
176
check_cred(int fd, bool statit, pid_t checkpid, pid_t otherpid, const char *s)
tests/net/net/t_unix.c
178
pid_t pid;
tests/net/net/t_unix.c
230
pid_t srvrpid, clntpid;
tests/rump/rumpkern/h_client/h_forkcli.c
21
pid_t pid1, pid2;
tests/rump/rumpkern/h_client/h_stresscli.c
131
pid_t clis[NCLI];
tests/rump/rumpkern/h_client/h_stresscli.c
132
pid_t apid;
tests/rump/rumpkern/h_client/h_stresscli.c
24
static pid_t mypid;
tests/rump/rumpkern/h_client/h_stresscli.c
55
pid_t pidi;
tests/rump/rumpkern/t_lwproc.c
149
pid_t mypid;
tests/rump/rumpkern/t_lwproc.c
60
pid_t pid;
tests/usr.sbin/inetd/t_inetd.c
264
static pid_t
tests/usr.sbin/inetd/t_inetd.c
267
pid_t proc;
tests/usr.sbin/inetd/t_inetd.c
276
waitfor(pid_t pid, const char *taskname)
tests/usr.sbin/inetd/t_inetd.c
54
static pid_t run(const char *, char *const *);
tests/usr.sbin/inetd/t_inetd.c
56
static void waitfor(pid_t, const char *);
tests/usr.sbin/inetd/t_inetd.c
77
pid_t proc;
usr.bin/apply/apply.c
211
pid_t pid;
usr.bin/diff/pr.c
47
pid_t pid;
usr.bin/diff/pr.h
29
pid_t pid;
usr.bin/diff3/diff3.c
830
wait_and_check(pid_t pd)
usr.bin/find/function.c
594
pid_t pid;
usr.bin/find/function.c
662
pid_t pid;
usr.bin/find/function.c
839
pid_t pid;
usr.bin/fstat/fstat.c
333
pid_t Pid;
usr.bin/fstat/fstat.h
52
extern pid_t Pid;
usr.bin/ftp/cmds.c
1426
pid_t pid;
usr.bin/ftp/progressbar.c
63
static pid_t pgrp = -1;
usr.bin/gcore/gcore.c
87
pid_t pid, cpid;
usr.bin/gcore/gcore.c
97
pid = (pid_t)lval;
usr.bin/ipcs/ipcs.c
107
uid_t, gid_t, uid_t, gid_t, u_int32_t, u_int64_t, pid_t, pid_t);
usr.bin/ipcs/ipcs.c
319
u_int64_t cbytes, u_int64_t qnum, u_int64_t qbytes, pid_t lspid,
usr.bin/ipcs/ipcs.c
320
pid_t lrpid)
usr.bin/ipcs/ipcs.c
373
u_int32_t nattch, u_int64_t segsz, pid_t cpid, pid_t lpid)
usr.bin/ipcs/ipcs.c
99
uid_t, gid_t, uid_t, gid_t, u_int64_t, u_int64_t, u_int64_t, pid_t, pid_t);
usr.bin/kdump/kdump.c
90
static pid_t do_pid = -1;
usr.bin/kdump/setemul.c
163
pid_t pid;
usr.bin/kdump/setemul.c
177
static struct emulation_ctx *ectx_find(pid_t);
usr.bin/kdump/setemul.c
178
static void ectx_update(pid_t, const struct emulation *);
usr.bin/kdump/setemul.c
181
setemul(const char *name, pid_t pid, int update_ectx)
usr.bin/kdump/setemul.c
224
ectx_find(pid_t pid)
usr.bin/kdump/setemul.c
258
ectx_update(pid_t pid, const struct emulation *emul)
usr.bin/kdump/setemul.c
270
ectx_sanify(pid_t pid)
usr.bin/kdump/setemul.h
81
void setemul(const char *, pid_t, int);
usr.bin/kdump/setemul.h
82
void ectx_sanify(pid_t);
usr.bin/login/login.c
733
pid_t child, wchild;
usr.bin/login/login_pam.c
122
pid_t xpid, pid;
usr.bin/m4/gnum4.c
652
pid_t cpid;
usr.bin/mail/dotlock.c
57
pid_t pid;
usr.bin/mail/mime_child.c
122
pid_t pid;
usr.bin/mail/mime_child.c
180
pid_t pid;
usr.bin/mail/popen.c
112
register_file(FILE *fp, int pipefd, pid_t pid)
usr.bin/mail/popen.c
195
static pid_t
usr.bin/mail/popen.c
199
pid_t pid;
usr.bin/mail/popen.c
241
pid_t pid;
usr.bin/mail/popen.c
272
findchild(pid_t pid, int dont_alloc)
usr.bin/mail/popen.c
311
wait_child(pid_t pid)
usr.bin/mail/popen.c
315
pid_t rv = 0;
usr.bin/mail/popen.c
339
static pid_t
usr.bin/mail/popen.c
424
wait_command(pid_t pid)
usr.bin/mail/popen.c
437
pid_t pid;
usr.bin/mail/popen.c
487
pid_t pid;
usr.bin/mail/popen.c
493
while ((pid = waitpid((pid_t)-1, &status, WNOHANG)) > 0) {
usr.bin/mail/popen.c
511
free_child(pid_t pid)
usr.bin/mail/popen.c
57
pid_t pid;
usr.bin/mail/popen.c
63
pid_t pid;
usr.bin/mail/popen.c
70
static struct child *findchild(pid_t, int);
usr.bin/make/compat.c
100
static pid_t compatChild;
usr.bin/make/compat.c
244
pid_t retstat; /* Result of wait */
usr.bin/make/filemon/filemon.h
47
void filemon_setpid_parent(struct filemon *, pid_t);
usr.bin/make/filemon/filemon.h
48
int filemon_setpid_child(const struct filemon *, pid_t);
usr.bin/make/filemon/filemon_dev.c
108
filemon_setpid_parent(struct filemon *F MAKE_ATTR_UNUSED, pid_t pid MAKE_ATTR_UNUSED)
usr.bin/make/filemon/filemon_dev.c
114
filemon_setpid_child(const struct filemon *F, pid_t pid)
usr.bin/make/filemon/filemon_ktrace.c
121
pid_t pid;
usr.bin/make/filemon/filemon_ktrace.c
316
filemon_setpid_parent(struct filemon *F, pid_t pid)
usr.bin/make/filemon/filemon_ktrace.c
329
filemon_setpid_child(const struct filemon *F, pid_t pid)
usr.bin/make/filemon/filemon_ktrace.c
97
pid_t child;
usr.bin/make/job.c
1945
while ((pid = waitpid((pid_t)-1, &status, WNOHANG | WUNTRACED)) > 0) {
usr.bin/make/job.c
1958
JobReapChild(pid_t pid, int status, bool isJobs)
usr.bin/make/job.c
2181
rval = waitpid((pid_t)-1, &status, WNOHANG);
usr.bin/make/job.c
2543
while (waitpid((pid_t)-1, &status, WNOHANG) > 0)
usr.bin/make/main.c
143
pid_t myPid;
usr.bin/make/make.h
636
extern pid_t myPid;
usr.bin/make/make.h
858
void JobReapChild(pid_t, int, bool);
usr.bin/make/meta.c
1772
meta_compat_parent(pid_t child)
usr.bin/make/meta.c
642
pid_t pid;
usr.bin/make/meta.c
654
meta_job_parent(Job *job MAKE_ATTR_UNUSED, pid_t pid MAKE_ATTR_UNUSED)
usr.bin/make/meta.h
48
void meta_job_parent(struct Job *, pid_t);
usr.bin/make/meta.h
58
void meta_compat_parent(pid_t);
usr.bin/make/trace.c
54
static pid_t trpid;
usr.bin/mkdep/mkdep.c
104
pid_t pid, cpid;
usr.bin/newsyslog/newsyslog.c
144
static pid_t readpidfile(const char *);
usr.bin/newsyslog/newsyslog.c
538
pid_t pid;
usr.bin/newsyslog/newsyslog.c
633
if (pid != (pid_t)-1) {
usr.bin/newsyslog/newsyslog.c
779
pid_t pid;
usr.bin/newsyslog/newsyslog.c
855
static pid_t
usr.bin/newsyslog/newsyslog.c
860
pid_t pid;
usr.bin/newsyslog/newsyslog.c
871
return (pid_t)-1;
usr.bin/newsyslog/newsyslog.c
876
pid = (pid_t)strtol(line, NULL, 0);
usr.bin/newsyslog/newsyslog.c
879
pid = (pid_t)-1;
usr.bin/patch/inp.c
150
pid_t pid;
usr.bin/pkill/pkill.c
101
static pid_t mypid;
usr.bin/pkill/pkill.c
397
if (kp->p__pgid == (pid_t)li->li_number)
usr.bin/pkill/pkill.c
417
if (kp->p_sid == (pid_t)li->li_number)
usr.bin/pmap/main.c
115
pid_t pid;
usr.bin/progress/progress.c
83
pid_t pid = 0, gzippid = 0, deadpid;
usr.bin/pwait/pwait.c
143
pid = (pid_t)pidl;
usr.bin/pwait/pwait.c
78
pid_t pid;
usr.bin/rlogin/rlogin.c
299
static pid_t child;
usr.bin/rlogin/rlogin.c
368
pid_t w;
usr.bin/rlogin/rlogin.c
411
pid_t pid;
usr.bin/rlogin/rlogin.c
576
static pid_t ppid;
usr.bin/rlogin/rlogin.c
665
pid_t pid;
usr.bin/rsh/rsh.c
105
pid_t pid;
usr.bin/rsh/rsh.c
81
static void talk(int, sigset_t *, pid_t, int);
usr.bin/sdiff/edit.c
31
pid_t pid;
usr.bin/sdiff/sdiff.c
160
pid_t pid;
usr.bin/shlock/shlock.c
110
static char *xtmpfile(const char *, pid_t, int);
usr.bin/shlock/shlock.c
111
static int p_exists(pid_t);
usr.bin/shlock/shlock.c
113
static int mklock(const char *, pid_t, int);
usr.bin/shlock/shlock.c
123
xtmpfile(const char *file, pid_t pid, int uucpstyle)
usr.bin/shlock/shlock.c
181
p_exists(pid_t pid)
usr.bin/shlock/shlock.c
225
pid_t pid;
usr.bin/shlock/shlock.c
255
mklock(const char *file, pid_t pid, int uucpstyle)
usr.bin/shlock/shlock.c
369
pid_t pid = 0;
usr.bin/su/su_pam.c
358
pid_t pid, xpid;
usr.bin/systat/ps.c
98
pid_t pid;
usr.bin/timeout/timeout.c
191
pid_t pgid, pid, cpid;
usr.bin/w/w.c
118
pid_t pid; /* pid or ~0 if not known */
usr.bin/who/utmpentry.h
52
pid_t pid;
usr.bin/who/who.c
280
pid_t pid, uint16_t term, uint16_t xit, uint16_t sess, uint16_t type)
usr.bin/who/who.c
73
static void print(const char *, const char *, time_t, const char *, pid_t pid,
usr.bin/xargs/xargs.c
576
pid_t pid;
usr.sbin/acpitools/acpidump/acpi.c
4670
pid_t pid;
usr.sbin/apmd/apmd.c
528
pid_t pid;
usr.sbin/arp/arp.c
693
pid_t pid;
usr.sbin/arp/prog_ops.h
44
pid_t (*op_getpid)(void);
usr.sbin/autofs/automountd.c
397
pid_t pid;
usr.sbin/autofs/automountd.c
458
pid_t pid;
usr.sbin/autofs/popen.c
156
pid_t pid;
usr.sbin/autofs/popen.c
67
pid_t pid;
usr.sbin/autofs/popen.c
84
pid_t pid;
usr.sbin/edquota/edquota.c
723
pid_t pid;
usr.sbin/faithd/faithd.c
347
pid_t child_pid;
usr.sbin/faithd/faithd.c
669
pid_t pid;
usr.sbin/faithd/tcp.c
320
ppid = (pid_t)0;
usr.sbin/faithd/tcp.c
61
static pid_t cpid = (pid_t)0;
usr.sbin/faithd/tcp.c
62
static pid_t ppid = (pid_t)0;
usr.sbin/faithd/tcp.c
95
pid_t pid;
usr.sbin/inetd/inetd.c
294
static void add_child(struct servtab *, pid_t);
usr.sbin/inetd/inetd.c
295
static void remove_child(struct servtab *, pid_t);
usr.sbin/inetd/inetd.c
479
pid_t pid;
usr.sbin/inetd/inetd.c
653
add_child(struct servtab *sep, pid_t pid)
usr.sbin/inetd/inetd.c
662
remove_child(struct servtab *sep, pid_t pid)
usr.sbin/inetd/inetd.c
679
tail * sizeof(pid_t));
usr.sbin/inetd/inetd.c
689
pid_t pid;
usr.sbin/inetd/inetd.c
882
sizeof(pid_t));
usr.sbin/inetd/inetd.h
165
pid_t se_wait; /* single threaded server */
usr.sbin/inetd/inetd.h
195
pid_t *se_accept_children; /* identify child */
usr.sbin/inetd/parse_v2.c
1103
pid_t wait_prev = sep->se_wait;
usr.sbin/inetd/parse_v2.c
290
pid_t wait_prev = sep->se_wait;
usr.sbin/inetd/parse_v2.c
892
pid_t wait;
usr.sbin/lockstat/main.c
548
pid_t pid;
usr.sbin/ndbootd/ndbootd.c
313
char pid_buffer[(sizeof(pid_t) * 3) + 2];
usr.sbin/ndp/ndp.c
131
static pid_t pid;
usr.sbin/ndp/prog_ops.h
46
pid_t (*op_getpid)(void);
usr.sbin/nfsd/nfsd.c
300
pid_t pid;
usr.sbin/perfused/msg.c
221
(void)puffs_cc_getcaller(pcc, (pid_t *)&fih->pid, NULL);
usr.sbin/perfused/perfused.c
209
pid_t pid;
usr.sbin/powerd/powerd.c
191
pid_t pid;
usr.sbin/pstat/pstat.c
842
pid_t pgid;
usr.sbin/pstat/pstat.c
866
KGET2(&tp->t_pgrp->pg_id, &pgid, sizeof(pid_t), "pgid");
usr.sbin/puffs/mount_psshfs/psshfs.c
428
pid_t pid;
usr.sbin/puffs/mount_psshfs/psshfs.c
431
pid_t *sshpid;
usr.sbin/puffs/mount_psshfs/psshfs.h
159
pid_t sshpid;
usr.sbin/puffs/mount_psshfs/psshfs.h
160
pid_t sshpid_data;
usr.sbin/quotacheck/quotacheck.c
154
static int chkquota(const char *, const char *, const char *, void *, pid_t *);
usr.sbin/quotacheck/quotacheck.c
317
pid_t *pid)
usr.sbin/rarpd/mkarp.c
215
pid_t pid;
usr.sbin/route6d/route6d.c
182
static pid_t pid;
usr.sbin/rpc.lockd/lockd_lock.c
104
pid_t locker; /* pid of the child process trying to get the lock */
usr.sbin/rpc.lockd/lockd_lock.c
437
pid_t pid;
usr.sbin/rpc.statd/stat_proc.c
308
pid_t pid;
usr.sbin/rtadvd/prog_ops.h
20
pid_t (*op_getpid)(void);
usr.sbin/rtadvd/rtadvd.c
186
pid_t pid;
usr.sbin/schedctl/schedctl.c
184
sched_set(pid_t pid, lwpid_t lid, int policy,
usr.sbin/schedctl/schedctl.c
205
thread_info(pid_t pid, lwpid_t lid)
usr.sbin/schedctl/schedctl.c
61
static void sched_set(pid_t, lwpid_t, int, struct sched_param *, cpuset_t *);
usr.sbin/schedctl/schedctl.c
62
static void thread_info(pid_t, lwpid_t);
usr.sbin/schedctl/schedctl.c
77
pid_t pid;
usr.sbin/sysinst/defs.h
418
extern pid_t ttysig_forward;
usr.sbin/sysinst/main.c
59
pid_t ttysig_forward;
usr.sbin/sysinst/run.c
416
pid_t child, pid;
usr.sbin/syslogd/syslogd.c
104
pid_t dq_pid;
usr.sbin/syslogd/syslogd.c
226
int p_open(char *, pid_t *);
usr.sbin/syslogd/syslogd.c
227
void deadq_enter(pid_t, const char *);
usr.sbin/syslogd/syslogd.c
228
int deadq_remove(pid_t);
usr.sbin/syslogd/syslogd.c
229
void log_deadchild(pid_t, int, const char *);
usr.sbin/syslogd/syslogd.c
2750
pid_t pid;
usr.sbin/syslogd/syslogd.c
4217
p_open(char *prog, pid_t *rpid)
usr.sbin/syslogd/syslogd.c
4221
pid_t pid;
usr.sbin/syslogd/syslogd.c
4285
deadq_enter(pid_t pid, const char *name)
usr.sbin/syslogd/syslogd.c
4313
deadq_remove(pid_t pid)
usr.sbin/syslogd/syslogd.c
4329
log_deadchild(pid_t pid, int status, const char *name)
usr.sbin/syslogd/syslogd.h
359
pid_t f_pid;
usr.sbin/tprof/tprof.c
393
pid_t pid;
usr.sbin/tprof/tprof_analyze.c
216
if (filter_by_pid && (pid_t)sample.s_pid != target_pid) {
usr.sbin/tprof/tprof_analyze.c
54
static pid_t target_pid;