Searched refs:pid (Results 1 - 25 of 38) sorted by relevance

12

/bionic/libc/bionic/
H A Ddaemon.c34 pid_t pid; local
56 pid = fork();
57 if (pid < 0)
60 if (pid > 0)
H A Dsched_getaffinity.cpp35 int sched_getaffinity(pid_t pid, size_t set_size, cpu_set_t* set) { argument
36 int rc = __sched_getaffinity(pid, set_size, set);
H A Dptrace.cpp32 extern "C" long __ptrace(int req, pid_t pid, void* addr, void* data);
40 pid_t pid = va_arg(args, pid_t); local
50 long result = __ptrace(req, pid, addr, data);
H A Dwait.cpp38 pid_t waitpid(pid_t pid, int* status, int options) { argument
39 return wait4(pid, status, options, NULL);
H A Ddebug_mapinfo.h41 __LIBC_HIDDEN__ mapinfo_t* mapinfo_create(pid_t pid);
H A Dtermios.cpp108 pid_t pid; local
109 if (ioctl(fd, TIOCGPGRP, &pid) == -1) {
112 return pid;
115 int tcsetpgrp(int fd, pid_t pid) { argument
116 return ioctl(fd, TIOCSPGRP, &pid);
H A Dgetentropy_linux.c366 pid_t pid; local
370 pid = getpid();
371 if (lastpid == pid) {
376 lastpid = pid;
394 HX((pid = getpid()) == -1, pid);
395 HX((pid = getsid(pid)) == -1, pid);
396 HX((pid
[all...]
H A Ddebug_mapinfo.cpp68 __LIBC_HIDDEN__ mapinfo_t* mapinfo_create(pid_t pid) { argument
73 snprintf(data, sizeof(data), "/proc/%d/maps", pid);
/bionic/libc/upstream-openbsd/lib/libc/stdlib/
H A Dsystem.c43 pid_t pid; local
57 switch (pid = vfork()) {
69 pid = waitpid(pid, (int *)&pstat, 0);
73 return (pid == -1 ? -1 : pstat);
/bionic/libc/kernel/uapi/linux/
H A Dif_pppol2tp.h24 __kernel_pid_t pid; member in struct:pppol2tp_addr
32 __kernel_pid_t pid; member in struct:pppol2tpin6_addr
41 __kernel_pid_t pid; member in struct:pppol2tpv3_addr
50 __kernel_pid_t pid; member in struct:pppol2tpv3in6_addr
H A Ddlm_plock.h42 __u32 pid; member in struct:dlm_plock_info
H A Dblktrace_api.h116 __u32 pid; member in struct:blk_io_trace
146 __u32 pid; member in struct:blk_user_trace_setup
H A Dagpgart.h75 __kernel_pid_t pid; member in struct:_agp_region
H A Dauto_fs4.h76 __u32 pid; member in struct:autofs_v5_packet
H A Dcapability.h34 int pid; member in struct:__user_cap_header_struct
H A Ddlm_device.h59 __u32 pid; member in struct:dlm_purge_params
/bionic/libc/kernel/uapi/linux/dvb/
H A Dnet.h24 __u16 pid; member in struct:dvb_net_if
36 __u16 pid; member in struct:__dvb_net_if_old
H A Dca.h67 unsigned int pid; member in struct:ca_pid
H A Ddmx.h86 __u16 pid; member in struct:dmx_sct_filter_params
100 __u16 pid; member in struct:dmx_pes_filter_params
/bionic/libc/upstream-netbsd/lib/libc/gen/
H A Dpopen.c67 static struct pid { struct
68 struct pid *next;
73 pid_t pid; member in struct:pid
83 struct pid *cur, *old;
86 int pdes[2], pid, serrno; local
107 if ((cur = malloc(sizeof(struct pid))) == NULL) {
116 switch (pid = vfork()) {
177 cur->pid = pid;
193 struct pid *cu
195 pid_t pid; local
[all...]
/bionic/libc/upstream-openbsd/android/include/
H A Darc4random.h62 pid_t pid = getpid(); local
64 if (_rs_pid == 0 || _rs_pid != pid || _rs_forked) {
65 _rs_pid = pid;
/bionic/tests/
H A Dsys_select_test.cpp50 static void DelayedWrite(int* pid, int* fd) { argument
54 if ((*pid = fork()) == 0) {
61 ASSERT_LT(0, *pid);
67 static void DelayedWriteCleanup(int pid, int fd) { argument
71 ASSERT_EQ(pid, waitpid(pid, NULL, 0));
103 int pid, fd; local
104 DelayedWrite(&pid, &fd);
113 DelayedWriteCleanup(pid, fd);
149 int pid, f local
[all...]
H A Dstdlib_test.cpp207 pid_t pid = fork(); local
208 ASSERT_NE(-1, pid) << strerror(errno);
210 if (pid == 0) {
215 ASSERT_EQ(pid, waitpid(pid, &status, 0));
236 pid_t pid = fork(); local
237 ASSERT_NE(-1, pid) << strerror(errno);
239 if (pid == 0) {
247 ASSERT_EQ(pid, waitpid(pid,
253 int pid = fork(); local
[all...]
H A Ddlext_test.cpp201 pid_t pid = fork(); local
202 if (pid == 0) {
216 ASSERT_NOERROR(pid);
218 ASSERT_EQ(pid, waitpid(pid, &status, 0));
280 void getPss(pid_t pid, size_t* pss_out) { argument
285 ASSERT_EQ(0, pm_process_create(kernel, pid, &process));
353 // save the child's pid and the parent_done_pipe
/bionic/libc/kernel/uapi/rdma/
H A Drdma_netlink.h46 __s32 pid; member in struct:rdma_cm_id_stats

Completed in 300 milliseconds

12