Home
last modified time | relevance | path

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

123

/bionic/libc/include/sys/
Dwait.h51 extern pid_t wait(int *);
52 extern pid_t waitpid(pid_t, int *, int);
53 extern pid_t wait4(pid_t, int *, int, struct rusage *);
Duio.h41 ssize_t process_vm_readv(pid_t, const struct iovec*, unsigned long, const struct iovec*, unsigned l…
42 ssize_t process_vm_writev(pid_t, const struct iovec*, unsigned long, const struct iovec*, unsigned …
Dresource.h58 extern int prlimit(pid_t, int, const struct rlimit*, struct rlimit*);
60 extern int prlimit64(pid_t, int, const struct rlimit64*, struct rlimit64*);
Dprocfs.h45 typedef pid_t lwpid_t;
/bionic/libc/bionic/
Dgetpid.cpp33 extern "C" pid_t __getpid();
35 pid_t getpid() { in getpid()
39 pid_t cached_pid; in getpid()
Dpthread_internal.h58 pid_t tid;
61 pid_t cached_pid_;
64 pid_t invalidate_cached_pid() { in invalidate_cached_pid()
65 pid_t old_value; in invalidate_cached_pid()
71 void set_cached_pid(pid_t value) { in set_cached_pid()
75 bool get_cached_pid(pid_t* cached_pid) { in get_cached_pid()
Dwait.cpp34 pid_t wait(int* status) { in wait()
38 pid_t waitpid(pid_t pid, int* status, int options) { in waitpid()
Dptrace.cpp32 extern "C" long __ptrace(int req, pid_t pid, void* addr, void* data);
40 pid_t pid = va_arg(args, pid_t); in ptrace()
Dsched_getaffinity.cpp33 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()
Dtermios.cpp85 pid_t tcgetsid(int fd) { in tcgetsid()
86 pid_t sid; in tcgetsid()
108 pid_t tcgetpgrp(int fd) { in tcgetpgrp()
109 pid_t pid; in tcgetpgrp()
116 int tcsetpgrp(int fd, pid_t pid) { in tcsetpgrp()
Dsigqueue.cpp34 extern "C" int ___rt_sigqueueinfo(pid_t, int, siginfo_t*);
36 int sigqueue(pid_t pid, int signo, const sigval value) { in sigqueue()
Dgetpgrp.cpp31 pid_t getpgrp() { in getpgrp()
Dgettid.cpp33 pid_t gettid() { in gettid()
Dpthread_gettid_np.cpp31 pid_t pthread_gettid_np(pthread_t t) { in pthread_gettid_np()
Dclone.cpp36 extern "C" pid_t __bionic_clone(uint32_t flags, void* child_stack, int* parent_tid, void* tls, int*…
71 pid_t parent_pid = self->invalidate_cached_pid(); in clone()
/bionic/libc/kernel/uapi/linux/
Delfcore.h47 pid_t pr_pid;
49 pid_t pr_ppid;
50 pid_t pr_pgrp;
51 pid_t pr_sid;
72 pid_t pr_pid, pr_ppid, pr_pgrp, pr_sid;
/bionic/libc/kernel/uapi/asm-mips/asm/
Dsockios.h26 #define SIOCSPGRP _IOW('s', 8, pid_t)
27 #define SIOCGPGRP _IOR('s', 9, pid_t)
Dsiginfo.h49 pid_t _pid;
62 pid_t _pid;
69 pid_t _pid;
77 pid_t _pid;
/bionic/benchmarks/
Dsemaphore_benchmark.cpp108 sched_setscheduler((pid_t)0, SCHED_IDLE, &param); in Run()
113 sched_setscheduler((pid_t)0, SCHED_OTHER, &param); in Run()
127 sched_setscheduler((pid_t)0, SCHED_FIFO, &param); in Run()
132 sched_setscheduler((pid_t)0, SCHED_IDLE, &param); in Run()
134 sched_setscheduler((pid_t)0, SCHED_OTHER, &param); in Run()
/bionic/libc/include/
Dunistd.h80 extern pid_t fork(void);
81 extern pid_t vfork(void);
82 extern pid_t getpid(void);
83 extern pid_t gettid(void) __pure2;
84 extern pid_t getpgid(pid_t);
85 extern int setpgid(pid_t, pid_t);
86 extern pid_t getppid(void);
87 extern pid_t getpgrp(void);
89 extern pid_t getsid(pid_t);
90 extern pid_t setsid(void);
[all …]
Dsched.h44 extern int sched_setscheduler(pid_t, int, const struct sched_param*);
45 extern int sched_getscheduler(pid_t);
49 extern int sched_setparam(pid_t, const struct sched_param*);
50 extern int sched_getparam(pid_t, struct sched_param*);
51 extern int sched_rr_get_interval(pid_t, struct timespec*);
75 extern int sched_setaffinity(pid_t pid, size_t setsize, const cpu_set_t* set);
77 extern int sched_getaffinity(pid_t pid, size_t setsize, cpu_set_t* set);
/bionic/libc/upstream-openbsd/android/include/
Darc4random.h61 static pid_t _rs_pid = 0; in _rs_forkdetect()
62 pid_t pid = getpid(); in _rs_forkdetect()
/bionic/tests/
Dstack_protector_test.cpp30 extern "C" pid_t gettid();
41 std::set<pid_t> tids;
45 pid_t tid = gettid(); in Check()
/bionic/libc/upstream-openbsd/lib/libc/compat-43/
Dkillpg.c38 killpg(pid_t pgid, int sig) in killpg()
/bionic/libc/include/android/
Dlegacy_termios_inlines.h55 static __inline pid_t tcgetsid(int fd) { in tcgetsid()
56 pid_t _pid; in tcgetsid()
57 return ioctl(fd, TIOCGSID, &_pid) ? (pid_t)-1 : _pid; in tcgetsid()

123