/bionic/libc/include/sys/ |
D | wait.h | 41 pid_t wait(int* __status); 42 pid_t waitpid(pid_t __pid, int* __status, int __options); 44 pid_t wait4(pid_t __pid, int* __status, int __options, struct rusage* __rusage) __INTRODUCED_IN(18);
|
/bionic/tests/headers/posix/ |
D | sched_h.c | 36 TYPE(pid_t); in sched_h() 58 FUNCTION(sched_getparam, int (*f)(pid_t, struct sched_param*)); in sched_h() 59 FUNCTION(sched_getscheduler, int (*f)(pid_t)); in sched_h() 60 FUNCTION(sched_rr_get_interval, int (*f)(pid_t, struct timespec*)); in sched_h() 61 FUNCTION(sched_setparam, int (*f)(pid_t, const struct sched_param*)); in sched_h() 62 FUNCTION(sched_setscheduler, int (*f)(pid_t, int, const struct sched_param*)); in sched_h()
|
D | sys_wait_h.c | 70 TYPE(pid_t); in sys_wait_h() 74 FUNCTION(wait, pid_t (*f)(int*)); in sys_wait_h() 76 FUNCTION(waitpid, pid_t (*f)(pid_t, int*, int)); in sys_wait_h()
|
D | spawn_h.c | 38 TYPE(pid_t); in spawn_h() 51 …FUNCTION(posix_spawn, int (*f)(pid_t*, const char*, const posix_spawn_file_actions_t*, const posix… in spawn_h() 59 FUNCTION(posix_spawnattr_getpgroup, int (*f)(const posix_spawnattr_t*, pid_t*)); in spawn_h() 66 FUNCTION(posix_spawnattr_setpgroup, int (*f)(posix_spawnattr_t*, pid_t)); in spawn_h() 70 …FUNCTION(posix_spawnp, int (*f)(pid_t*, const char*, const posix_spawn_file_actions_t*, const posi… in spawn_h()
|
D | sys_shm_h.c | 43 STRUCT_MEMBER(struct shmid_ds, pid_t, shm_lpid); in sys_shm_h() 44 STRUCT_MEMBER(struct shmid_ds, pid_t, shm_cpid); in sys_shm_h() 50 TYPE(pid_t); in sys_shm_h()
|
D | sys_msg_h.c | 43 STRUCT_MEMBER(struct msqid_ds, pid_t, msg_lspid); in sys_msg_h() 44 STRUCT_MEMBER(struct msqid_ds, pid_t, msg_lrpid); in sys_msg_h() 49 TYPE(pid_t); in sys_msg_h()
|
D | unistd_h.c | 285 TYPE(pid_t); in unistd_h() 315 FUNCTION(fork, pid_t (*f)(void)); in unistd_h() 331 FUNCTION(getpgid, pid_t (*f)(pid_t)); in unistd_h() 332 FUNCTION(getpgrp, pid_t (*f)(void)); in unistd_h() 333 FUNCTION(getpid, pid_t (*f)(void)); in unistd_h() 334 FUNCTION(getppid, pid_t (*f)(void)); in unistd_h() 335 FUNCTION(getsid, pid_t (*f)(pid_t)); in unistd_h() 356 FUNCTION(setpgid, int (*f)(pid_t, pid_t)); in unistd_h() 357 FUNCTION(setpgrp, pid_t (*f)(void)); in unistd_h() 360 FUNCTION(setsid, pid_t (*f)(void)); in unistd_h() [all …]
|
/bionic/libc/kernel/uapi/linux/ |
D | elfcore.h | 42 pid_t pr_pid; 43 pid_t pr_ppid; 44 pid_t pr_pgrp; 45 pid_t pr_sid; 62 pid_t pr_pid, pr_ppid, pr_pgrp, pr_sid;
|
/bionic/libc/bionic/ |
D | getpid.cpp | 33 extern "C" pid_t __getpid(); 35 pid_t getpid() { in getpid() 40 pid_t cached_pid; in getpid()
|
D | termios.cpp | 38 pid_t tcgetpgrp(int fd) { in tcgetpgrp() 39 pid_t pid; in tcgetpgrp() 44 int tcsetpgrp(int fd, pid_t pid) { in tcsetpgrp()
|
D | wait.cpp | 34 pid_t wait(int* status) { in wait() 38 pid_t waitpid(pid_t pid, int* status, int options) { in waitpid()
|
D | pthread_internal.h | 68 pid_t tid; 71 pid_t cached_pid_; 74 pid_t invalidate_cached_pid() { in invalidate_cached_pid() 75 pid_t old_value; in invalidate_cached_pid() 81 void set_cached_pid(pid_t value) { in set_cached_pid() 85 bool get_cached_pid(pid_t* cached_pid) { in get_cached_pid()
|
D | ptrace.cpp | 32 extern "C" long __ptrace(int req, pid_t pid, void* addr, void* data); 40 pid_t pid = va_arg(args, pid_t); in ptrace()
|
D | raise.cpp | 37 pid_t pid = syscall(__NR_getpid); in raise() 38 pid_t tid = syscall(__NR_gettid); in raise()
|
D | abort.cpp | 37 static inline __always_inline void inline_tgkill(pid_t pid, pid_t tid, int sig) { in inline_tgkill() 58 pid_t pid = syscall(__NR_getpid); in abort() 59 pid_t tid = syscall(__NR_gettid); in abort()
|
D | gettid.cpp | 34 pid_t gettid() { in gettid() 37 pid_t tid = self->tid; in gettid()
|
D | sched_getaffinity.cpp | 33 extern "C" int __sched_getaffinity(pid_t, size_t, cpu_set_t*); 35 int sched_getaffinity(pid_t pid, size_t set_size, cpu_set_t* set) { in sched_getaffinity()
|
D | pthread_setschedparam.cpp | 38 pid_t tid = pthread_gettid_np(t); in pthread_setschedparam() 47 pid_t tid = pthread_gettid_np(t); in pthread_setschedprio()
|
/bionic/libc/include/android/ |
D | legacy_sys_wait_inlines.h | 42 static __inline pid_t wait4(pid_t pid, int* status, int options, struct rusage* rusage) { in wait4() 43 return __BIONIC_CAST(static_cast, pid_t, syscall(__NR_wait4, pid, status, options, rusage)); in wait4()
|
/bionic/libc/kernel/uapi/asm-mips/asm/ |
D | sockios.h | 25 #define SIOCSPGRP _IOW('s', 8, pid_t) 26 #define SIOCGPGRP _IOR('s', 9, pid_t)
|
/bionic/libc/include/ |
D | unistd.h | 81 pid_t fork(void); 82 pid_t vfork(void); 83 pid_t getpid(void); 84 pid_t gettid(void) __attribute_const__; 85 pid_t getpgid(pid_t __pid); 86 int setpgid(pid_t __pid, pid_t __pgid); 87 pid_t getppid(void); 88 pid_t getpgrp(void); 90 pid_t getsid(pid_t __pid) __INTRODUCED_IN(17); 91 pid_t setsid(void); [all …]
|
D | spawn.h | 53 int posix_spawn(pid_t* __pid, const char* __path, const posix_spawn_file_actions_t* __actions, cons… 54 int posix_spawnp(pid_t* __pid, const char* __file, const posix_spawn_file_actions_t* __actions, con… 62 int posix_spawnattr_setpgroup(posix_spawnattr_t* __attr, pid_t __pgroup) __INTRODUCED_IN(28); 63 int posix_spawnattr_getpgroup(const posix_spawnattr_t* __attr, pid_t* __pgroup) __INTRODUCED_IN(28);
|
D | sched.h | 45 int sched_setscheduler(pid_t __pid, int __policy, const struct sched_param* __param); 46 int sched_getscheduler(pid_t __pid); 50 int sched_setparam(pid_t __pid, const struct sched_param* __param); 51 int sched_getparam(pid_t __pid, struct sched_param* __param); 52 int sched_rr_get_interval(pid_t __pid, struct timespec* __quantum); 77 int sched_setaffinity(pid_t __pid, size_t __set_size, const cpu_set_t* __set) __INTRODUCED_IN(12); 78 int sched_getaffinity(pid_t __pid, size_t __set_size, cpu_set_t* __set) __INTRODUCED_IN(12);
|
/bionic/linker/ |
D | linker_memory.cpp | 40 static std::atomic<pid_t> fallback_tid(0); 45 pid_t expected = 0; in __linker_enable_fallback_allocator() 50 pid_t previous = fallback_tid.exchange(0); in __linker_disable_fallback_allocator()
|
/bionic/tests/ |
D | spawn_test.cpp | 73 pid_t g; in TEST() 192 pid_t pid; in TEST() 200 pid_t pid; in TEST() 208 pid_t pid; in TEST() 216 pid_t pid; in TEST() 225 pid_t pid; in TEST() 246 pid_t pid; in TEST() 278 pid_t pid; in CatFileToString() 289 pid_t pid; 290 pid_t ppid; [all …]
|