/bionic/libc/unistd/ |
H A D | daemon.c | 34 pid_t pid; local 56 pid = fork(); 57 if (pid < 0) 60 if (pid > 0)
|
H A D | popen.c | 45 static struct pid { struct 46 struct pid *next; 48 pid_t pid; member in struct:pid 56 struct pid * volatile cur; 59 pid_t pid; local 67 if ((cur = malloc(sizeof(struct pid))) == NULL) 75 switch (pid = fork()) { 84 struct pid *pcur; 123 cur->pid = pid; 140 pid_t pid; local [all...] |
H A D | system.c | 43 pid_t pid; local 57 switch (pid = vfork()) { 69 pid = waitpid(pid, (int *)&pstat, 0); 73 return (pid == -1 ? -1 : pstat);
|
H A D | wait.c | 31 extern pid_t __wait4 (pid_t pid, int *status, int options, struct rusage *rusage); 44 pid_t waitpid(pid_t pid, int* status, int options) argument 46 return __wait4( pid, status, options, NULL );
|
/bionic/libc/bionic/ |
H A D | ptrace.c | 31 extern long __ptrace(int request, pid_t pid, void *addr, void *data); 33 long ptrace(int request, pid_t pid, void * addr, void * data) argument 43 ret = __ptrace(request, pid, addr, &word); 53 return __ptrace(request, pid, addr, data);
|
H A D | sched_getaffinity.c | 31 int sched_getaffinity(pid_t pid, size_t setsize, cpu_set_t* set) argument 33 int ret = __sched_getaffinity(pid, setsize, set);
|
H A D | malloc_debug_qemu.c | 430 * pid - ID of the process that initialized libc. 433 notify_qemu_libc_initialized(uint32_t pid) argument 435 notify_qemu(TRACE_DEV_REG_LIBC_INIT, pid); 563 "MDesc: %p: %X <-> %X [%u + %u + %u] by pid=%03u in libc_pid=%03u", 593 "<libc_pid=%03u, pid=%03u>: malloc: Access violation test failed:\n" 643 /* Cache pid of the process this library has been initialized for. */ 695 debug_log("Instrumented for pid=%03u: malloc=%p, free=%p, calloc=%p, realloc=%p, memalign=%p", 720 error_log("<libc_pid=%03u, pid=%03u> malloc(%u): dlmalloc(%u) failed.", 727 log_mdesc(error, &desc, "<libc_pid=%03u, pid=%03u>: malloc: notify_malloc failed for ", 735 log_mdesc(info, &desc, "+++ <libc_pid=%03u, pid [all...] |
/bionic/libc/stdio/ |
H A D | mktemp.c | 90 pid_t pid; local 106 pid = getpid(); 107 while (trv >= path && *trv == 'X' && pid != 0) { 108 *trv-- = (pid % 10) + '0'; 109 pid /= 10; 114 pid = (arc4random() & 0xffff) % (26+26); 115 if (pid < 26) 116 c = pid + 'A'; 118 c = (pid - 26) + 'a';
|
/bionic/libc/kernel/common/linux/ |
H A D | if_pppol2tp.h | 24 __kernel_pid_t pid; member in struct:pppol2tp_addr 32 pid_t pid; member in struct:pppol2tpv3_addr
|
H A D | capability.h | 22 int pid; member in struct:__user_cap_header_struct
|
H A D | socket.h | 106 __u32 pid; member in struct:ucred
|
H A D | coda.h | 215 pid_t pid; member in struct:coda_in_hdr
|
/bionic/linker/ |
H A D | linker.c | 112 static int pid; variable 259 DL_ERR("%5d library name %s too long", pid, name); 268 DL_ERR("%5d too many libraries when loading %s", pid, name); 286 TRACE("%5d name %s: allocated soinfo @ %p\n", pid, name, si); 294 TRACE("%5d name %s: freeing soinfo @ %p\n", pid, si->name, si); 303 DL_ERR("%5d name %s is not in solist!", pid, si->name); 399 TRACE_TYPE(LOOKUP, "%5d SEARCH %s in %s@0x%08x %08x %d\n", pid, 414 TRACE_TYPE(LOOKUP, "%5d FOUND %s in %s (%08x) %d\n", pid, 472 pid, si->name); 477 pid, s [all...] |
H A D | linker_debug.h | 144 #define DEBUG_DUMP_PHDR(phdr, name, pid) do { \ 145 DEBUG("%5d %s (phdr = 0x%08x)\n", (pid), (name), (unsigned)(phdr)); \
|
/bionic/libc/include/sys/ |
H A D | ptrace.h | 41 extern long ptrace(int request, pid_t pid, void *addr, void *data);
|
H A D | linux-unistd.h | 35 int __ptrace (int request, int pid, void* addr, void* data); 180 int sched_setscheduler (pid_t pid, int policy, const struct sched_param *param); 181 int sched_getscheduler (pid_t pid); 183 int sched_setparam (pid_t pid, const struct sched_param *param); 184 int sched_getparam (pid_t pid, struct sched_param *param); 187 int sched_rr_get_interval (pid_t pid, struct timespec *interval); 188 int sched_setaffinity (pid_t pid, size_t setsize, const cpu_set_t* set); 189 int __sched_getaffinity (pid_t pid, size_t setsize, cpu_set_t* set); 194 pid_t __wait4 (pid_t pid, int *status, int options, struct rusage *rusage);
|
/bionic/libc/kernel/common/linux/netfilter_ipv4/ |
H A D | ipt_owner.h | 24 pid_t pid; member in struct:ipt_owner_info
|
/bionic/libc/kernel/common/linux/netfilter_ipv6/ |
H A D | ip6t_owner.h | 23 pid_t pid; member in struct:ip6t_owner_info
|
/bionic/libthread_db/ |
H A D | libthread_db.c | 48 agent->pid = ps_getpid(proc_handle); 98 gEventMsgHandle.pid = ptrace(PTRACE_PEEKUSR, handle->tid, (void *)4 /* ecx */, NULL); 99 gEventMsgHandle.tid = gEventMsgHandle.pid; 108 gEventMsgHandle.pid = ptrace(PTRACE_PEEKUSR, handle->tid, (void *)0 /* r0 */, NULL); 109 gEventMsgHandle.tid = gEventMsgHandle.pid; 145 th->pid = ps_getpid(agent->ph); 156 info->ti_state = TD_THR_SLEEP; /* XXX this needs to be read from /proc/<pid>/task/<tid>. 216 snprintf(path, sizeof(path), "/proc/%d/task/", agent->pid); 222 handle.pid = agent->pid; [all...] |
/bionic/libthread_db/include/ |
H A D | thread_db.h | 69 pid_t pid; member in struct:__anon633 75 pid_t pid; member in struct:__anon634
|
/bionic/libc/include/ |
H A D | sched.h | 52 extern int sched_rr_get_interval(pid_t pid, struct timespec *tp); 101 extern int sched_setaffinity(pid_t pid, size_t setsize, const cpu_set_t* set); 103 extern int sched_getaffinity(pid_t pid, size_t setsize, cpu_set_t* set);
|