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

/bionic/libc/unistd/
H A Ddaemon.c34 pid_t pid; local
56 pid = fork();
57 if (pid < 0)
60 if (pid > 0)
H A Dpopen.c45 static struct pid { struct
46 struct pid *next;
48 pid_t pid; member in struct:pid
54 struct pid * volatile cur;
57 pid_t pid; local
64 if ((cur = malloc(sizeof(struct pid))) == NULL)
72 switch (pid = vfork()) {
81 struct pid *pcur;
126 cur->pid = pid;
143 pid_t pid; local
[all...]
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);
H A Dwait.c31 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 Dptrace.c31 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 Dmalloc_debug_qemu.c430 * 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 Dmktemp.c90 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/linker/
H A Dlinker.c124 static int pid; variable
268 DL_ERR("%5d library name %s too long", pid, name);
277 DL_ERR("%5d too many libraries when loading %s", pid, name);
296 TRACE("%5d name %s: allocated soinfo @ %p\n", pid, name, si);
304 TRACE("%5d name %s: freeing soinfo @ %p\n", pid, si->name, si);
313 DL_ERR("%5d name %s is not in solist!", pid, si->name);
409 TRACE_TYPE(LOOKUP, "%5d SEARCH %s in %s@0x%08x %08x %d\n", pid,
424 TRACE_TYPE(LOOKUP, "%5d FOUND %s in %s (%08x) %d\n", pid,
482 pid, si->name);
487 pid, s
[all...]
H A Dlinker_debug.h144 #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 Dptrace.h41 extern long ptrace(int request, pid_t pid, void *addr, void *data);
H A Dlinux-unistd.h35 int __ptrace (int request, int pid, void* addr, void* data);
178 int sched_setscheduler (pid_t pid, int policy, const struct sched_param *param);
179 int sched_getscheduler (pid_t pid);
181 int sched_setparam (pid_t pid, const struct sched_param *param);
182 int sched_getparam (pid_t pid, struct sched_param *param);
185 int sched_rr_get_interval (pid_t pid, struct timespec *interval);
189 pid_t __wait4 (pid_t pid, int *status, int options, struct rusage *rusage);
/bionic/libc/kernel/common/linux/netfilter_ipv4/
H A Dipt_owner.h24 pid_t pid; member in struct:ipt_owner_info
/bionic/libc/kernel/common/linux/netfilter_ipv6/
H A Dip6t_owner.h23 pid_t pid; member in struct:ip6t_owner_info
/bionic/libthread_db/
H A Dlibthread_db.c48 agent->pid = ps_getpid(proc_handle);
89 gEventMsgHandle.pid = ptrace(PTRACE_PEEKUSR, handle->tid, (void *)0 /* r0 */, NULL);
90 gEventMsgHandle.tid = gEventMsgHandle.pid;
125 th->pid = ps_getpid(agent->ph);
136 info->ti_state = TD_THR_SLEEP; /* XXX this needs to be read from /proc/<pid>/task/<tid>.
196 snprintf(path, sizeof(path), "/proc/%d/task/", agent->pid);
202 handle.pid = agent->pid;
/bionic/libc/include/
H A Dsched.h52 extern int sched_rr_get_interval(pid_t pid, struct timespec *tp);
/bionic/libc/kernel/common/linux/
H A Dcapability.h22 int pid; member in struct:__user_cap_header_struct
H A Dsocket.h106 __u32 pid; member in struct:ucred
H A Dcoda.h215 pid_t pid; member in struct:coda_in_hdr
/bionic/libthread_db/include/
H A Dthread_db.h71 pid_t pid; member in struct:__anon570
77 pid_t pid; member in struct:__anon571

Completed in 378 milliseconds