Home
last modified time | relevance | path

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

12345678910>>...21

/minix3/include/
H A Dsched.h43 int sched_setparam(pid_t, const struct sched_param *);
44 int sched_getparam(pid_t, struct sched_param *);
45 int sched_setscheduler(pid_t, int, const struct sched_param *);
46 int sched_getscheduler(pid_t);
50 int sched_rr_get_interval(pid_t, struct timespec *)
67 int sched_getaffinity_np(pid_t, size_t, cpuset_t *);
68 int sched_setaffinity_np(pid_t, size_t, cpuset_t *);
71 pid_t clone(int (*)(void *), void *, int, void *);
72 pid_t __clone(int (*)(void *), void *, int, void *);
H A Dunistd.h111 pid_t fork(void);
122 pid_t getpgrp(void);
123 pid_t getpid(void);
124 pid_t getppid(void);
136 int setpgid(pid_t, pid_t);
137 pid_t setsid(void);
141 pid_t tcgetpgrp(int);
142 int tcsetpgrp(int, pid_t);
240 pid_t getsid(pid_t);
272 pid_t getpgid(pid_t);
[all …]
H A Dspawn.h41 int posix_spawn(pid_t * __restrict, const char * __restrict,
44 int posix_spawnp(pid_t * __restrict, const char * __restrict,
68 pid_t * __restrict);
79 int posix_spawnattr_setpgroup(posix_spawnattr_t *, pid_t);
/minix3/sys/compat/sys/
H A Dwait.h42 pid_t wait3(int *, int, struct rusage50 *);
43 pid_t wait4(pid_t, int *, int, struct rusage50 *);
44 pid_t __wait350(int *, int, struct rusage *);
45 pid_t __wait450(pid_t, int *, int, struct rusage *);
H A Dshm.h46 pid_t shm_lpid; /* process ID of last shm op */
47 pid_t shm_cpid; /* process ID of creator */
58 pid_t shm_lpid; /* process ID of last shm operation */
59 pid_t shm_cpid; /* process ID of creator */
76 pid_t shm_lpid;
77 pid_t shm_cpid;
/minix3/lib/libc/termios/
H A Dtcgetpgrp.c54 pid_t in __weak_alias()
62 return ((pid_t)-1); in __weak_alias()
64 if (s == (pid_t)-1) in __weak_alias()
66 s = (uint)(pid_t)~0u >> 1; in __weak_alias()
67 return ((pid_t)s); in __weak_alias()
H A Dtcgetsid.c54 pid_t in __weak_alias()
62 return ((pid_t)-1); in __weak_alias()
64 return ((pid_t)s); in __weak_alias()
/minix3/lib/libc/sys/
H A Dsched.c48 sched_setparam(pid_t pid, const struct sched_param *param) in sched_setparam()
58 sched_getparam(pid_t pid, struct sched_param *param) in sched_getparam()
65 sched_setscheduler(pid_t pid, int policy, const struct sched_param *param) in sched_setscheduler()
84 sched_getscheduler(pid_t pid) in sched_getscheduler()
124 sched_rr_get_interval(pid_t pid, struct timespec *interval) in sched_rr_get_interval()
139 sched_getaffinity_np(pid_t pid, size_t size, cpuset_t *cpuset) in sched_getaffinity_np()
146 sched_setaffinity_np(pid_t pid, size_t size, cpuset_t *cpuset) in sched_setaffinity_np()
/minix3/sys/sys/
H A Dproc.h110 pid_t s_sid; /* Session ID (pid of leader) */
119 pid_t pg_id; /* Pgrp id */
248 pid_t p_pid; /* :: Process identifier. */
296 pid_t p_ppid; /* :: cached parent pid */
297 pid_t p_fpid; /* :: forked pid */
430 #define NO_PGID ((pid_t)-1)
461 int proc_find_locked(struct lwp *, struct proc **, pid_t);
462 proc_t * proc_find_raw(pid_t);
463 proc_t * proc_find(pid_t); /* Find process by ID */
464 struct pgrp * pgrp_find(pid_t); /* Find process group by ID */
[all …]
H A Dwait.h175 pid_t wait(int *);
176 pid_t waitpid(pid_t, int *, int);
179 pid_t wait3(int *, int, struct rusage *) __RENAME(__wait350);
180 pid_t wait4(pid_t, int *, int, struct rusage *) __RENAME(__wait450);
H A Dsched.h123 int _sched_getaffinity(pid_t, lwpid_t, size_t, cpuset_t *);
124 int _sched_setaffinity(pid_t, lwpid_t, size_t, const cpuset_t *);
125 int _sched_getparam(pid_t, lwpid_t, int *, struct sched_param *);
126 int _sched_setparam(pid_t, lwpid_t, int, const struct sched_param *);
263 int do_sched_setparam(pid_t, lwpid_t, int, const struct sched_param *);
264 int do_sched_getparam(pid_t, lwpid_t, int *, struct sched_param *);
/minix3/lib/libc/compat/sys/
H A Dcompat_wait4.c62 pid_t in __weak_alias()
66 pid_t rv; in __weak_alias()
75 pid_t
76 wait4(pid_t wpid, int *status, int options, struct rusage50 *ru50) in wait4()
79 pid_t rv; in wait4()
/minix3/external/bsd/kyua-testers/dist/
H A Dcli_test.c162 const pid_t pid = atf_utils_fork(); in ATF_TC_BODY()
176 const pid_t pid = atf_utils_fork(); in ATF_TC_BODY()
191 const pid_t pid = atf_utils_fork(); in ATF_TC_BODY()
206 const pid_t pid = atf_utils_fork(); in ATF_TC_BODY()
224 const pid_t pid = atf_utils_fork(); in check_flag_not_a_number()
246 const pid_t pid = atf_utils_fork(); in check_flag_out_of_range()
306 const pid_t pid = atf_utils_fork(); in ATF_TC_BODY()
326 const pid_t pid = atf_utils_fork(); in ATF_TC_BODY()
349 const pid_t pid = atf_utils_fork(); in ATF_TC_BODY()
365 const pid_t pid = atf_utils_fork(); in ATF_TC_BODY()
[all …]
/minix3/minix/usr.bin/trace/
H A Dproto.h54 int kernel_check(pid_t pid);
55 int kernel_get_name(pid_t pid, char *name, size_t size);
56 int kernel_is_service(pid_t pid);
57 int kernel_get_syscall(pid_t pid, reg_t reg[3]);
58 int kernel_get_retreg(pid_t pid, reg_t *retreg);
60 int kernel_get_context(pid_t pid, reg_t *pc, reg_t *sp, reg_t *fp);
64 int mem_get_data(pid_t pid, vir_bytes addr, void *ptr, size_t len);
65 int mem_get_user(pid_t pid, vir_bytes addr, void *ptr, size_t len);
89 struct trace_proc *proc_add(pid_t pid);
90 struct trace_proc *proc_get(pid_t pid);
H A Dkernel.c43 kernel_check(pid_t pid) in kernel_check()
61 kernel_get_name(pid_t pid, char * name, size_t size) in kernel_get_name()
81 kernel_is_service(pid_t pid) in kernel_is_service()
106 kernel_get_syscall(pid_t pid, reg_t reg[3]) in kernel_get_syscall()
128 kernel_get_retreg(pid_t pid, reg_t * retreg) in kernel_get_retreg()
171 kernel_get_context(pid_t pid, reg_t * pc, reg_t * sp, reg_t * fp) in kernel_get_context()
226 kernel_get_nextframe(pid_t pid, reg_t fp, reg_t * next_pc, reg_t * next_fp) in kernel_get_nextframe()
/minix3/external/bsd/llvm/dist/clang/test/Sema/
H A Dpid_t.c7 typedef signed long pid_t; typedef
9 typedef signed int pid_t; typedef
11 pid_t vfork(void);
/minix3/bin/sh/
H A Djobs.h63 pid_t pid; /* process id */
72 pid_t pgrp; /* process group of this job */
85 extern pid_t backgndpid; /* pid of last background process */
93 int forkparent(struct job *, union node *, int, pid_t);
/minix3/external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udir/
H A Dp6.cpp5 typedef int pid_t; typedef
7 typedef int pid_t; typedef
10 pid_t x;
/minix3/external/bsd/kyua-cli/dist/utils/process/
H A Dsystem.hpp56 extern pid_t (*syscall_fork)(void);
59 extern pid_t (*syscall_waitpid)(const pid_t, int*, const int);
H A Dsystem.cpp46 pid_t (*detail::syscall_fork)(void) = ::fork;
58 pid_t (*detail::syscall_waitpid)(const pid_t, int*, const int) = ::waitpid;
/minix3/minix/tests/
H A Dtest60.c21 pid_t childpid; in execute()
28 if (childpid == (pid_t) -1) { in execute()
128 pid_t childpid; in test_effugid()
135 if (childpid == (pid_t) -1) e(1); in test_effugid()
158 if (childpid == (pid_t) -1) e(1); in test_effugid()
211 pid_t childpid; in test_self()
/minix3/minix/commands/cron/
H A Dtab.h29 pid_t pid; /* Process-id of job if nonzero */
51 #define IDLE_PID ((pid_t) 0)
52 #define NO_PID ((pid_t) -1)
63 void tab_reap_job(pid_t pid);
/minix3/minix/lib/libc/sys/
H A Dsetpgid.c12 int setpgid(pid_t pid, pid_t pgid) in setpgid()
14 pid_t _pid, _pgid, cpid; in setpgid()
/minix3/crypto/external/bsd/heimdal/dist/lib/ipc/
H A Dcommon.c48 pid_t pid;
49 pid_t session;
70 pid_t
76 pid_t
84 _heim_ipc_create_cred(uid_t uid, gid_t gid, pid_t pid, pid_t session, heim_icred *cred) in _heim_ipc_create_cred()
/minix3/usr.bin/shlock/
H A Dshlock.c106 static char *xtmpfile(char *, pid_t, int);
107 static int p_exists(pid_t);
109 static int mklock(char *, pid_t, int);
119 xtmpfile(char *file, pid_t pid, int uucpstyle) in xtmpfile()
185 p_exists(pid_t pid) in p_exists()
229 pid_t pid; in cklock()
253 mklock(char *file, pid_t pid, int uucpstyle) in mklock()
312 pid_t pid = 0; in main()

12345678910>>...21