/prebuilts/ndk/9/platforms/android-9/arch-mips/usr/include/linux/netfilter_ipv6/ |
ip6t_owner.h | 23 pid_t pid; member in struct:ip6t_owner_info
|
/prebuilts/ndk/9/platforms/android-9/arch-x86/usr/include/linux/netfilter_ipv4/ |
ipt_owner.h | 24 pid_t pid; member in struct:ipt_owner_info
|
/prebuilts/ndk/9/platforms/android-9/arch-x86/usr/include/linux/netfilter_ipv6/ |
ip6t_owner.h | 23 pid_t pid; member in struct:ip6t_owner_info
|
/system/core/healthd/ |
BatteryPropertiesRegistrar.cpp | 81 const int pid = self->getCallingPid(); local 85 String16("android.permission.DUMP"), pid, uid))
|
/system/core/logd/ |
libaudit.h | 43 pid_t pid; member in struct:audit_sig_info 85 * Sets a pid to recieve audit netlink events from the kernel 88 * @param pid 89 * The pid whom to set as the reciever of audit messages 93 extern int audit_setup(int fd, uint32_t pid);
|
/system/core/toolbox/ |
renice.c | 44 fprintf(stderr, "USAGE: %s [[-r] [-t TYPE] priority pids ...] [-g pid]\n", s); 48 void print_prio(pid_t pid) 53 printf("pid %d's priority: %d\n", pid, getpriority(PRIO_PROCESS, pid)); 56 sched = sched_getscheduler(pid); 74 sched_getparam(pid, &sp); 134 pid_t pid; local 136 pid = atoi(argv[0]); 144 ret = sched_setscheduler(pid, sched, &sp) [all...] |
/system/extras/libpagemap/ |
pm_kernel.c | 65 pid_t pid, *pids, *new_pids; local 81 if (sscanf(dir->d_name, "%d", &pid) < 1) 96 pids[pids_count] = pid;
|
/bionic/libc/bionic/ |
termios.cpp | 109 pid_t pid; local 110 if (ioctl(fd, TIOCGPGRP, &pid) == -1) { 113 return pid; 116 int tcsetpgrp(int fd, pid_t pid) { 117 return ioctl(fd, TIOCSPGRP, &pid);
|
/bionic/libc/upstream-netbsd/lib/libc/gen/ |
popen.c | 67 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 *cur, *last 195 pid_t pid; local [all...] |
/cts/tests/tests/os/jni/ |
android_os_cts_OSFeatures.cpp | 68 pid_t pid = fork(); local 69 if (pid == -1) { 74 if (pid == 0) { 81 TEMP_FAILURE_RETRY(waitpid(pid, &status, 0));
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_symbolizer_process_libcdep.cc | 115 int pid; local 120 pid = forkpty(&fd, 0, 0, 0); 121 if (pid == -1) { 126 } else if (pid == 0) { 181 pid = internal_fork(); 182 if (pid == -1) { 191 } else if (pid == 0) { 217 int exited_pid = waitpid(pid, &pid_status, WNOHANG);
|
/external/elfutils/src/tests/ |
backtrace-dwarf.c | 46 report_pid (Dwfl *dwfl, pid_t pid) 48 int result = dwfl_linux_proc_report (dwfl, pid); 57 result = dwfl_linux_proc_attach (dwfl, pid, true); 65 pid_to_dwfl (pid_t pid) 78 report_pid (dwfl, pid); 134 pid_t pid = fork (); local 135 switch (pid) 151 pid_t got = waitpid (pid, &status, 0); 153 assert (got == pid); 157 Dwfl *dwfl = pid_to_dwfl (pid); [all...] |
/external/google-breakpad/src/client/linux/minidump_writer/ |
linux_core_dumper.cc | 46 LinuxCoreDumper::LinuxCoreDumper(pid_t pid, 49 : LinuxDumper(pid), 56 bool LinuxCoreDumper::BuildProcPath(char* path, pid_t pid, 188 pid_t pid = status->pr_pid; local 207 crash_thread_ = pid; 211 threads_.push_back(pid);
|
linux_core_dumper_unittest.cc | 43 const pid_t pid = getpid(); local 51 EXPECT_TRUE(dumper.BuildProcPath(maps_path, pid, "maps")); 54 EXPECT_FALSE(dumper.BuildProcPath(NULL, pid, "maps")); 55 EXPECT_FALSE(dumper.BuildProcPath(maps_path, pid, "")); 56 EXPECT_FALSE(dumper.BuildProcPath(maps_path, pid, NULL)); 62 EXPECT_FALSE(dumper.BuildProcPath(maps_path, pid, long_node));
|
/external/libunwind/src/ |
os-freebsd.c | 59 int i, pid; local 79 pid = -1; 83 pid = kv->ki_pid; 88 return (pid); 93 map_create_list(pid_t pid) 105 mib[3] = pid; 111 mib[3] = get_pid_by_tid(pid);
|
/external/linux-tools-perf/src/tools/perf/bench/ |
sched-pipe.c | 59 pid_t pid, retpid __maybe_unused; local 67 pid = fork(); 68 assert(pid >= 0); 72 if (!pid) { 87 if (pid) { 88 retpid = waitpid(pid, &wait_stat, 0); 89 assert((retpid == pid) && WIFEXITED(wait_stat));
|
/external/openssh/ |
readpass.c | 53 pid_t pid, ret; local 69 if ((pid = fork()) < 0) { 74 if (pid == 0) { 97 while ((ret = waitpid(pid, &status, 0)) < 0)
|
/external/toybox/toys/other/ |
nsenter.c | 15 USE_NSENTER(NEWTOY(nsenter, "<1F(no-fork)t#<1(target)i:(ipc);m:(mount);n:(net);p:(pid);u:(uts);U:(user);", TOYFLAG_USR|TOYFLAG_BIN)) 43 usage: nsenter [-t pid] [-F] [-i] [-m] [-n] [-p] [-u] [-U] COMMAND... 47 -t PID to take namespaces from (--target) 55 -p Process IDs and init, will fork unless -F is used (--pid) 60 to a namespace file, ala "-i=/proc/$PID/ns/ipc" 132 char *nsnames = "user\0uts\0pid\0net\0mnt\0ipc"; 152 pid_t pid = xfork(); local 154 if (pid) { 155 while (waitpid(pid, 0, 0) == -1 && errno == EINTR);
|
taskset.c | 11 usage: taskset [-ap] [mask] [PID | cmd [args...]] 14 the processor affinity of an exisitng PID. 17 is allowed to run on. PID without a mask displays existing affinity. 19 -p Set/get the affinity of given PID instead of a new command. 20 -a Set/get the affinity of all threads of the PID. 27 #define sched_setaffinity(pid, size, cpuset) \ 28 syscall(__NR_sched_setaffinity, (pid_t)pid, (size_t)size, (void *)cpuset) 29 #define sched_getaffinity(pid, size, cpuset) \ 30 syscall(__NR_sched_getaffinity, (pid_t)pid, (size_t)size, (void *)cpuset) 35 static void do_taskset(pid_t pid, int quiet 96 pid_t pid = strtol(toys.optargs[toys.optc-1], &c, 10); local [all...] |
/external/valgrind/memcheck/tests/ |
addressable.c | 117 int pid; local 119 pid = fork(); 120 if (pid == -1) { 124 if (pid == 0) { 134 while((ret = waitpid(pid, &status, 0)) != pid) {
|
/external/vboot_reference/cgpt/ |
cgpt_wrapper.c | 146 pid_t pid = getpid(); local 153 snprintf(exe_link, sizeof(exe_link), "/proc/%d/exe", pid);
|
/ndk/sources/host-tools/make-3.81/ |
job.h | 52 intptr_t pid; /* Child process's ID number. */ member in struct:child
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/ |
if_pppol2tp.h | 26 __kernel_pid_t pid; /* pid that owns the fd. member in struct:pppol2tp_addr
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/ |
if_pppol2tp.h | 25 __kernel_pid_t pid; /* pid that owns the fd. member in struct:pppol2tp_addr 39 __kernel_pid_t pid; /* pid that owns the fd. member in struct:pppol2tpv3_addr
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/rdma/ |
rdma_netlink.h | 29 __s32 pid; member in struct:rdma_cm_id_stats
|