/external/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_printf.cc | 254 int pid = internal_getpid(); local 255 needed_length += internal_snprintf(buffer, buffer_size, "==%d==", pid); 257 // The pid doesn't fit into the current buffer.
|
/external/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_report.h | 90 uptr pid; member in struct:__tsan::ReportThread
|
/external/dhcpcd/ |
H A D | common.c | 240 writepid(int fd, pid_t pid) argument 247 snprintf(spid, sizeof(spid), "%u\n", pid);
|
/external/dnsmasq/src/ |
H A D | helper.c | 55 pid_t pid; local 61 if (pipe(pipefd) == -1 || !fix_fd(pipefd[1]) || (pid = fork()) == -1) 67 if (pid != 0) 163 while ((pid = fork()) == -1 && (errno == EAGAIN || errno == ENOMEM)) 166 if (pid == -1) 170 if (pid != 0) 178 if (rc == pid)
|
H A D | log.c | 48 pid_t pid; /* to avoid duplicates over a fork */ member in struct:log_entry 154 if (entries->pid != getpid()) 266 pid_t pid = getpid(); local 342 p += sprintf(p, "%.15s dnsmasq%s[%d]: ", ctime(&time_now) + 4, func, (int)pid); 350 entry->pid = pid;
|
/external/e2fsprogs/e2fsck/ |
H A D | logfile.c | 210 pid_t pid; local 228 pid = fork(); 229 if (pid < 0) { 234 if (pid == 0) {
|
/external/e2fsprogs/misc/ |
H A D | logsave.c | 162 int status, rc, pid; local 183 pid = fork(); 184 if (pid < 0) { 188 if (pid == 0) { 198 child_pid = pid; 201 while (!(waitpid(pid, &status, WNOHANG ))) { 253 int c, pid, rc; local 310 pid = fork(); 311 if (pid < 0) { 315 if (pid) { [all...] |
H A D | uuidd.c | 63 pid_t pid; local 66 pid = fork(); 67 if (pid == -1) { 70 } else if (pid != 0) { 269 printf(_("uuidd daemon already running at pid %s\n"), 333 close(fd_pidfile); /* Unlock the pid file */ 585 "at pid %d: %s\n"), do_kill, 590 printf(_("Killed uuidd running at pid %d\n"),
|
/external/elfutils/0.153/libdwfl/ |
H A D | linux-proc-maps.c | 73 grovel_auxv (pid_t pid, Dwfl *dwfl, GElf_Addr *sysinfo_ehdr) argument 76 if (asprintf (&fname, PROCAUXVFMT, pid) < 0) 142 proc_maps_report (Dwfl *dwfl, FILE *f, GElf_Addr sysinfo_ehdr, pid_t pid) argument 198 if (asprintf (&last_file, "[vdso: %d]", (int) pid) < 0 246 dwfl_linux_proc_report (Dwfl *dwfl, pid_t pid) 253 int result = grovel_auxv (pid, dwfl, &sysinfo_ehdr); 258 if (asprintf (&fname, PROCMAPSFMT, pid) < 0) 268 result = proc_maps_report (dwfl, f, sysinfo_ehdr, pid); 323 int pid; local 324 if (sscanf (module_name, "[vdso: %d]", &pid) [all...] |
/external/fio/ |
H A D | libfio.c | 172 dprint(FD_PROCESS, "pid=%d: runstate %d -> %d\n", (int) td->pid, 193 pid_t pid = getpid(); local 201 td->o.name, (int) td->pid); 208 if (!td->pid || pid == td->pid) 211 kill(td->pid, SIGTERM);
|
/external/iptables/extensions/ |
H A D | libxt_owner.c | 32 pid_t pid; member in struct:ipt_owner_info 41 pid_t pid; member in struct:ip6t_owner_info 67 "[!] --pid-owner processid Match local PID\n" 79 "[!] --pid-owner processid Match local PID\n" 99 {.name = "pid-owner", .id = O_PROCESS, .type = XTTYPE_UINT32, 100 .flags = XTOPT_INVERT | XTOPT_PUT, XTOPT_POINTER(s, pid), 117 {.name = "pid-owner", .id = O_PROCESS, .type = XTTYPE_UINT32, 118 .flags = XTOPT_INVERT | XTOPT_PUT, XTOPT_POINTER(s, pid), 325 printf(" %u", (unsigned int)info->pid); 374 printf(" %u", (unsigned int)info->pid); [all...] |
/external/iputils/ninfod/ |
H A D | ninfod_core.c | 401 pid_t pid; local 409 pid = getpid(); 410 seed ^= (((unsigned long)pid) & 0xffffffff);
|
/external/iputils/ |
H A D | tftpd.c | 150 int pid; local 155 pid = fork(); 156 if (pid < 0) { 179 if (pid < 0) { 182 } else if (pid != 0) {
|
/external/kernel-headers/original/uapi/linux/ |
H A D | agpgart.h | 86 __kernel_pid_t pid; /* pid of process */ member in struct:_agp_region
|
H A D | auto_fs4.h | 137 __u32 pid; member in struct:autofs_v5_packet
|
H A D | dlm_device.h | 58 __u32 pid; member in struct:dlm_purge_params
|
H A D | fanotify.h | 91 __s32 pid; member in struct:fanotify_event_metadata
|
/external/kernel-headers/original/uapi/linux/dvb/ |
H A D | ca.h | 77 unsigned int pid; member in struct:ca_pid
|
/external/libnl/lib/ |
H A D | socket.c | 50 uint32_t pid = getpid() & 0x3FFFFF; local 65 return pid + (n << 22);
|
/external/libpcap/ |
H A D | grammar.y | 258 %type <blk> expr id nid pid term rterm qid 337 | paren pid ')' { $$ = $2; } 399 pid: nid label 405 | pid
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/ |
H A D | builtin-inject.c | 214 thread = machine__findnew_thread(machine, sample->pid, sample->pid); 302 u32 pid = perf_evsel__intval(evsel, sample, "pid"); local 305 if (pid == ent->tid)
|
H A D | perf.h | 160 void test_attr__open(struct perf_event_attr *attr, pid_t pid, int cpu, 165 pid_t pid, int cpu, int group_fd, 170 fd = syscall(__NR_perf_event_open, attr, pid, cpu, 174 test_attr__open(attr, pid, cpu, fd, group_fd, flags); 164 sys_perf_event_open(struct perf_event_attr *attr, pid_t pid, int cpu, int group_fd, unsigned long flags) argument
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/tests/ |
H A D | hists_link.c | 13 u32 pid; member in struct:__anon25166 22 u32 pid; member in struct:__anon25167 91 thread = machine__findnew_thread(machine, fake_threads[i].pid, 92 fake_threads[i].pid); 103 .pid = fake_mmap_info[i].pid, 151 u32 pid; member in struct:sample 160 { .pid = 100, .ip = 0xf0000 + 700, }, 162 { .pid = 200, .ip = 0x40000 + 700, }, 164 { .pid [all...] |
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
H A D | evlist.h | 40 pid_t pid; member in struct:perf_evlist::__anon25181
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/scripting-engines/ |
H A D | trace-event-perl.c | 272 int pid; local 287 pid = raw_field_value(event, "common_pid", data); 306 XPUSHs(sv_2mortal(newSViv(pid))); 309 /* common fields other than pid can be accessed via xsub fns */ 340 XPUSHs(sv_2mortal(newSViv(pid))); 607 "\tmy ($event_name, $cpu, $secs, $nsecs, $pid, $comm) = @_;\n\n" 609 "$event_name, $cpu, $secs, $nsecs, $pid, $comm);\n}\n");
|