/external/linux-kselftest/tools/testing/selftests/powerpc/tm/ |
tm-signal-stack.c | 35 int pid; local 39 pid = fork(); 40 if (pid < 0) 43 if (pid) { /* Parent */
|
/external/ltp/testcases/kernel/syscalls/waitpid/ |
waitpid06.c | 28 * Check proper functioning of waitpid with pid = -1 and arg = 0 35 pid_t pid; local 42 pid = SAFE_FORK(); 43 if (pid == 0) 46 fork_kid_pid[i] = pid;
|
/external/strace/linux/mips/ |
set_scno.c | 5 return set_regs(tcp->pid);
|
/external/strace/tests/ |
rt_sigqueueinfo.c | 44 pid_t pid = getpid(); local 47 if (sigqueue(pid, SIGUSR1, value)) 52 pid, pid, getuid(), value.sival_int, value.sival_ptr);
|
test_ucopy.c | 48 strace_process_vm_readv(pid_t pid, 56 (long) pid, lvec, liovcnt, rvec, riovcnt, flags); 63 call_process_vm_readv(const int pid, long *const addr) 76 return process_vm_readv(pid, &local, 1, &remote, 1, 0) == sizeof(data) 81 call_ptrace_peekdata(const int pid, long *const addr) 83 return ptrace(PTRACE_PEEKDATA, pid, addr, 0) == 1; 87 test_ucopy(bool (*fn)(int pid, long *addr)) 95 pid_t pid = fork(); local 96 if (pid < 0) 99 if (!pid) { [all...] |
waitpid.c | 42 unsigned long pid = local 44 long rc = syscall(__NR_waitpid, pid, 0L, (unsigned long) WNOHANG); 46 (int) pid, rc, errno2name());
|
/external/strace/tests-m32/ |
rt_sigqueueinfo.c | 44 pid_t pid = getpid(); local 47 if (sigqueue(pid, SIGUSR1, value)) 52 pid, pid, getuid(), value.sival_int, value.sival_ptr);
|
test_ucopy.c | 48 strace_process_vm_readv(pid_t pid, 56 (long) pid, lvec, liovcnt, rvec, riovcnt, flags); 63 call_process_vm_readv(const int pid, long *const addr) 76 return process_vm_readv(pid, &local, 1, &remote, 1, 0) == sizeof(data) 81 call_ptrace_peekdata(const int pid, long *const addr) 83 return ptrace(PTRACE_PEEKDATA, pid, addr, 0) == 1; 87 test_ucopy(bool (*fn)(int pid, long *addr)) 95 pid_t pid = fork(); local 96 if (pid < 0) 99 if (!pid) { [all...] |
waitpid.c | 42 unsigned long pid = local 44 long rc = syscall(__NR_waitpid, pid, 0L, (unsigned long) WNOHANG); 46 (int) pid, rc, errno2name());
|
/external/strace/tests-mx32/ |
rt_sigqueueinfo.c | 44 pid_t pid = getpid(); local 47 if (sigqueue(pid, SIGUSR1, value)) 52 pid, pid, getuid(), value.sival_int, value.sival_ptr);
|
test_ucopy.c | 48 strace_process_vm_readv(pid_t pid, 56 (long) pid, lvec, liovcnt, rvec, riovcnt, flags); 63 call_process_vm_readv(const int pid, long *const addr) 76 return process_vm_readv(pid, &local, 1, &remote, 1, 0) == sizeof(data) 81 call_ptrace_peekdata(const int pid, long *const addr) 83 return ptrace(PTRACE_PEEKDATA, pid, addr, 0) == 1; 87 test_ucopy(bool (*fn)(int pid, long *addr)) 95 pid_t pid = fork(); local 96 if (pid < 0) 99 if (!pid) { [all...] |
waitpid.c | 42 unsigned long pid = local 44 long rc = syscall(__NR_waitpid, pid, 0L, (unsigned long) WNOHANG); 46 (int) pid, rc, errno2name());
|
/frameworks/native/libs/dumputils/include/dumputils/ |
dump_utils.h | 26 bool IsZygote(int pid);
|
/external/autotest/client/tools/ |
setidle.c | 15 int pid; local 19 printf("usage: %s pid\n", argv[0]); 23 pid = atoi(argv[1]); 25 if (sched_setscheduler(pid, SCHED_IDLE, ¶m) == -1) {
|
/external/compiler-rt/test/asan/TestCases/Posix/ |
wait.cc | 13 pid_t pid = fork(); local 14 if (pid) { // parent 21 res = waitpid(pid, status, WNOHANG);
|
/external/google-breakpad/src/client/linux/crash_generation/ |
client_info.h | 39 ClientInfo(pid_t pid, CrashGenerationServer* crash_server) 41 pid_(pid) {} 44 pid_t pid() const { return pid_; } function in class:google_breakpad::ClientInfo
|
/external/libchrome/base/process/ |
process_handle_linux.cc | 13 ProcessId pid = local 15 if (pid) 16 return pid;
|
/external/libunwind/src/ptrace/ |
_UPT_create.c | 31 _UPT_create (pid_t pid) 39 ui->pid = pid;
|
/external/ltp/lib/tests/ |
tst_checkpoint.c | 33 int pid; local 39 pid = fork(); 41 switch (pid) {
|
tst_checkpoint_wait_timeout.c | 33 int pid; local 39 pid = fork(); 41 switch (pid) {
|
/external/ltp/lib/ |
tst_sig_proc.c | 25 pid_t pid, cpid; local 27 pid = getpid(); 33 if (kill(pid, sig) == -1)
|
/external/ltp/testcases/kernel/containers/pidns/ |
pidns_helper.h | 26 int pid, status; local 31 pid = do_clone_unshare_test(T_CLONE, CLONE_NEWPID, dummy_child, NULL); 32 if (pid == -1)
|
/external/ltp/testcases/kernel/containers/sysvipc/ |
ipcns_helper.h | 31 int pid, status; local 36 pid = do_clone_unshare_test(T_CLONE, CLONE_NEWIPC, dummy_child, NULL); 37 if (pid == -1)
|
/external/ltp/testcases/kernel/controllers/cpuctl_fj/ |
run_cpuctl_test_fj.sh | 132 ps -eo pid,rtprio > /tmp/pids_file1 & 138 while read pid 140 task=`cat $CPUCTL/tasks | grep "\b$pid\b"` 285 pid=$! 287 echo $pid > $CPUCTL/tmp/tasks 289 /bin/kill -s SIGUSR1 $pid 291 /bin/kill -s SIGUSR1 $pid 292 wait $pid 313 pid=$! 315 echo $pid > $CPUCTL/tmp/task [all...] |
/system/extras/ioshark/ |
compile-only.sh | 23 # about, breaks up the ftrace file into one file per pid. 25 # Output : Multiple fstrace.pid files. 39 awk -v pid=$i '{ if (pid == $7) print $0}' foo > fstrace.$i 50 # The output of this function is a set of parsed_input_trace.<pid> 60 # Get the pid from the strace filename (pid is the extension) 61 pid=${stracefile##*.} 62 process_strace $stracefile foo.$pid 63 if ! [ -s foo.$pid ]; the [all...] |