/external/wpa_supplicant_8/hostapd/src/drivers/ |
H A D | driver_nl80211.c | 79 * Therefore, we wrap the handle alloc/destroy and add our own pid 87 uint32_t pid = getpid() & 0x3FFFFF; local 96 pid += i << 22; 100 nl_socket_set_local_port(handle, pid);
|
/external/wpa_supplicant_8/hostapd/src/pae/ |
H A D | ieee802_1x_cp.c | 621 void ieee802_1x_cp_set_ciphersuite(void *cp_ctx, void *pid) argument 624 os_memcpy(sm->cipher_suite, pid, CS_ID_LEN);
|
/external/wpa_supplicant_8/hostapd/src/utils/ |
H A D | os_unix.c | 317 header.pid = 0; 562 pid_t pid; local 565 pid = fork(); 566 if (pid < 0) { 571 if (pid == 0) { 607 waitpid(pid, &pid_status, 0);
|
/external/wpa_supplicant_8/src/drivers/ |
H A D | driver_nl80211.c | 79 * Therefore, we wrap the handle alloc/destroy and add our own pid 87 uint32_t pid = getpid() & 0x3FFFFF; local 96 pid += i << 22; 100 nl_socket_set_local_port(handle, pid);
|
/external/wpa_supplicant_8/src/pae/ |
H A D | ieee802_1x_cp.c | 621 void ieee802_1x_cp_set_ciphersuite(void *cp_ctx, void *pid) argument 624 os_memcpy(sm->cipher_suite, pid, CS_ID_LEN);
|
/external/wpa_supplicant_8/src/utils/ |
H A D | os_unix.c | 317 header.pid = 0; 562 pid_t pid; local 565 pid = fork(); 566 if (pid < 0) { 571 if (pid == 0) { 607 waitpid(pid, &pid_status, 0);
|
/external/wpa_supplicant_8/wpa_supplicant/src/drivers/ |
H A D | driver_nl80211.c | 79 * Therefore, we wrap the handle alloc/destroy and add our own pid 87 uint32_t pid = getpid() & 0x3FFFFF; local 96 pid += i << 22; 100 nl_socket_set_local_port(handle, pid);
|
/external/wpa_supplicant_8/wpa_supplicant/src/pae/ |
H A D | ieee802_1x_cp.c | 621 void ieee802_1x_cp_set_ciphersuite(void *cp_ctx, void *pid) argument 624 os_memcpy(sm->cipher_suite, pid, CS_ID_LEN);
|
/external/wpa_supplicant_8/wpa_supplicant/src/utils/ |
H A D | os_unix.c | 317 header.pid = 0; 562 pid_t pid; local 565 pid = fork(); 566 if (pid < 0) { 571 if (pid == 0) { 607 waitpid(pid, &pid_status, 0);
|
/external/valgrind/main/none/tests/ |
H A D | pth_atfork1.c | 99 pid_t pid; local 101 pid = fork (); 102 if (pid == 0) 107 else if (pid == (pid_t) -1) 110 if (waitpid (pid, &status, 0) != pid)
|
H A D | res_search.c | 27 pthread_t pid; local 42 if(0 != pthread_create(&pid, 0, fn, (void*)argv[1])) 48 pthread_join(pid, 0);
|
H A D | syscall-restart1.c | 17 int pid; local 25 pid = fork(); 27 if (pid == -1) { 32 if (pid == 0) { 54 kill(pid, SIGUSR1); 59 waitpid(pid, NULL, 0);
|
H A D | syscall-restart2.c | 17 int pid; local 25 pid = fork(); 27 if (pid == -1) { 32 if (pid == 0) { 54 kill(pid, SIGUSR1); 58 waitpid(pid, NULL, 0);
|
/external/valgrind/main/coregrind/ |
H A D | m_debugger.c | 50 static Int ptrace_setregs(Int pid, VexGuestArchState* vex) argument 71 return VG_(ptrace)(VKI_PTRACE_SETREGS, pid, NULL, ®s); 109 return VG_(ptrace)(VKI_PTRACE_SETREGS, pid, NULL, ®s); 114 rc |= VG_(ptrace)(VKI_PTRACE_POKEUSR, pid, (void*)(VKI_PT_R0 * 4), (void*)vex->guest_GPR0); 115 rc |= VG_(ptrace)(VKI_PTRACE_POKEUSR, pid, (void*)(VKI_PT_R1 * 4), (void*)vex->guest_GPR1); 116 rc |= VG_(ptrace)(VKI_PTRACE_POKEUSR, pid, (void*)(VKI_PT_R2 * 4), (void*)vex->guest_GPR2); 117 rc |= VG_(ptrace)(VKI_PTRACE_POKEUSR, pid, (void*)(VKI_PT_R3 * 4), (void*)vex->guest_GPR3); 118 rc |= VG_(ptrace)(VKI_PTRACE_POKEUSR, pid, (void*)(VKI_PT_R4 * 4), (void*)vex->guest_GPR4); 119 rc |= VG_(ptrace)(VKI_PTRACE_POKEUSR, pid, (void*)(VKI_PT_R5 * 4), (void*)vex->guest_GPR5); 120 rc |= VG_(ptrace)(VKI_PTRACE_POKEUSR, pid, (voi 402 Int pid, rc; local [all...] |
H A D | m_debuglog.c | 977 UInt pid; local 990 pid = local_sys_getpid(); 1000 (void)myvprintf_int64 ( add_to_buf, &buf, 0, 10, 1, False, (ULong)pid );
|
H A D | m_libcproc.c | 284 Int VG_(waitpid)(Int pid, Int *status, Int options) argument 288 pid, (UWord)status, options, 0); 292 pid, (UWord)status, options, 0); 348 Int pid; local 351 pid = VG_(fork)(); 352 if (pid < 0) 354 if (pid == 0) { 385 zzz = VG_(waitpid)(pid, NULL, 0); 446 HChar pid[16]; local 464 (UWord)pid, sizeo 577 ptrace( Int request, Int pid, void *addr, void *data ) argument [all...] |
H A D | m_libcsignal.c | 299 Int VG_(kill)( Int pid, Int signo ) argument 302 SysRes res = VG_(do_syscall2)(__NR_kill, pid, signo); 305 pid, signo, 1/*posix-compliant*/);
|
H A D | m_options.c | 195 // reasonable since 'pid' is an Int (ie. 32 bits). 196 Int pid = VG_(getpid)(); local 198 j += VG_(sprintf)(&out[j], "%d", pid);
|
H A D | vgdb-invoker-none.c | 47 Bool invoker_invoke_gdbserver(pid_t pid) argument
|
H A D | vgdb-invoker-ptrace.c | 85 // if > 0, pid for which registers have to be restored. 247 /* Wait till the process pid is reported as stopped with signal_expected. 249 will pass them to pid, waiting for signal_expected to stop pid. 251 Returns False if a problem was encountered while waiting for pid 254 If pid is reported as being dead/exited, waitstopped will return False. 257 Bool waitstopped (pid_t pid, int signal_expected, const char *msg) argument 267 p = waitpid(pid, &status, __WALL); 268 DEBUG(1, "after waitpid pid %d p %d status 0x%x %s\n", pid, 338 stop(pid_t pid, const char *msg) argument 357 attach(pid_t pid, const char *msg) argument 387 acquire_and_suspend_threads(pid_t pid) argument 474 detach_from_all_threads(pid_t pid) argument 542 getregs(pid_t pid, void *regs, long regs_bsz) argument 657 setregs(pid_t pid, void *regs, long regs_bsz) argument 731 restore_and_detach(pid_t pid) argument 781 invoker_invoke_gdbserver(pid_t pid) argument [all...] |
H A D | vgdb.c | 56 arguments are given or only --pid and --vgdb-prefix, then usage 1 is 217 int pid = *(int *)v_pid; local 277 /* if the pid does not exist anymore, we better stop */ 278 if (kill(pid, 0) != 0) 281 "check for pid %d existence failed\n", pid); 285 "pid %d did not handle a command in %d seconds\n", 286 pid, cmd_time_out); 292 if (invoker_invoke_gdbserver(pid)) { 340 "Probably vgdb pid 512 prepare_fifos_and_shared_mem(int pid) argument 817 gdb_relay(int pid) argument 932 standalone_send_commands(int pid, int last_command, char *commands[] ) argument 1048 report_pid(int pid, Bool on_stdout) argument 1135 int pid = -1; local 1459 int pid; local [all...] |
/external/valgrind/main/coregrind/m_gdbserver/ |
H A D | remote-utils.c | 113 /* only this pid will remove the FIFOs: if an exec fails, we must avoid 281 -from-vgdb-to-pid-by-user-on-host and -to-vgdb-from-pid-by-user-on-host 282 with pid being the pidnr of the valgrind process These two FIFOs 296 const int pid = VG_(getpid)(); local 322 pid, user, host); 324 pid, user, host); 326 pid, user, host); 335 " %s/../../bin/vgdb%s%s --pid=%d ...command...\n", 339 pid); 480 const int pid = VG_(getpid)(); local [all...] |
H A D | target.c | 64 void valgrind_update_threads (int pid) argument 88 in gdb: once with pid xxx lwpid 0, then after that 89 with pid xxx lwpid yyy. */ 257 int pid; local 263 pid = VG_(getpid) (); 264 dlog(1, "enter valgrind_wait pid %d\n", pid); 267 valgrind_update_threads(pid);
|
/external/valgrind/main/coregrind/m_syswrap/ |
H A D | syswrap-darwin.c | 2794 /* args: pid_t* pid 2805 PRE_REG_READ5(int, "posix_spawn", vki_pid_t*, pid, char*, path, 2807 PRE_MEM_WRITE("posix_spawn(pid)", ARG1, sizeof(vki_pid_t) ); 3310 int,"request", vki_pid_t,"pid", 3427 vki_pid_t, pid, uint32_t, ops, 3432 // If the pid is ours, don't mark the program as KILL or HARD 3637 // GrP fixme intercept KERN_PROCARGS and KERN_PROC_PID for our pid 3778 int proc_info(int32_t callnum, int32_t pid, 3789 int, callnum, int, pid, unsigned int, flavor, 3798 int, callnum, int, pid, unsigne 7467 vki_pid_t pid; local [all...] |
H A D | syswrap-generic.c | 2547 PRE_REG_READ1(long, "getsid", vki_pid_t, pid); 3105 // RES is the child's pid. RESHI is 1 for child, 0 for parent. 3284 PRE_REG_READ1(long, "getpgid", vki_pid_t, pid); 3479 "pid" is any pid argument which can be passed to kill; group kills 3488 Bool ML_(do_sigkill)(Int pid, Int tgid) argument 3493 if (pid <= 0) 3496 tid = VG_(lwpid_to_vgtid)(pid); 3527 PRE_REG_READ2(long, "kill", int, pid, int, sig); 3545 VG_(message)(Vg_DebugMsg, "kill: sent signal %ld to pid [all...] |