/netbsd/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/ |
H A D | sanitizer_linux.cc | 512 int TgKill(pid_t pid, tid_t tid, int sig) { in TgKill() argument 514 return internal_syscall(SYSCALL(tgkill), pid, tid, sig); in TgKill() 516 return internal_syscall(SYSCALL(thr_kill2), pid, tid, sig); in TgKill() 518 (void)pid; in TgKill() 521 (void)pid; in TgKill() 772 uptr internal_ptrace(int request, int pid, void *addr, void *data) { in internal_ptrace() argument 773 return internal_syscall(SYSCALL(ptrace), request, pid, (uptr)addr, in internal_ptrace() 777 uptr internal_waitpid(int pid, int *status, int options) { in internal_waitpid() argument 984 ThreadLister::ThreadLister(pid_t pid) : pid_(pid), buffer_(4096) { in ThreadLister() argument 987 "/proc/%d/task/", pid); in ThreadLister() [all …]
|
H A D | sanitizer_stoptheworld_netbsd_libcdep.cc | 78 explicit ThreadSuspender(pid_t pid, TracerThreadArgument *arg) in ThreadSuspender() argument 79 : arg(arg), pid_(pid) { in ThreadSuspender() 80 CHECK_GE(pid, 0); in ThreadSuspender()
|
/netbsd/external/gpl3/gdb/dist/gdb/ |
H A D | regcache.c | 350 ptid_regcache_map &ptid_regc_map = pid_ptid_regc_map[ptid.pid ()]; in get_thread_arch_aspace_regcache() 452 auto ptid_regc_map_it = pid_ptid_regc_map.find (old_ptid.pid ()); in regcache_thread_ptid_changed() 506 pid_ptid_regc_map.erase (ptid.pid ()); in registers_changed_ptid() 523 = pid_ptid_regc_map.find (ptid.pid ()); in registers_changed_ptid() 1557 auto ptid_regc_map_it = pid_ptid_regc_map.find (ptid.pid ()); in regcache_count() 1629 for (int pid : { 1, 2 }) in populate_regcaches_for_test() 1634 (&data->test_target1, ptid_t (pid, lwp)); in populate_regcaches_for_test() 1639 (&data->test_target2, ptid_t (pid, lwp)); in populate_regcaches_for_test() 2040 target1.mock_inferior.pid = old_ptid.pid (); in regcache_thread_ptid_changed() 2042 target2.mock_inferior.pid = old_ptid.pid (); in regcache_thread_ptid_changed()
|
/netbsd/external/gpl3/gdb.old/dist/gdb/ |
H A D | regcache.c | 350 ptid_regcache_map &ptid_regc_map = pid_ptid_regc_map[ptid.pid ()]; in get_thread_arch_aspace_regcache() 452 auto ptid_regc_map_it = pid_ptid_regc_map.find (old_ptid.pid ()); in regcache_thread_ptid_changed() 506 pid_ptid_regc_map.erase (ptid.pid ()); in registers_changed_ptid() 523 = pid_ptid_regc_map.find (ptid.pid ()); in registers_changed_ptid() 1557 auto ptid_regc_map_it = pid_ptid_regc_map.find (ptid.pid ()); in regcache_count() 1629 for (int pid : { 1, 2 }) in populate_regcaches_for_test() 1634 (&data->test_target1, ptid_t (pid, lwp)); in populate_regcaches_for_test() 1639 (&data->test_target2, ptid_t (pid, lwp)); in populate_regcaches_for_test() 2040 target1.mock_inferior.pid = old_ptid.pid (); in regcache_thread_ptid_changed() 2042 target2.mock_inferior.pid = old_ptid.pid (); in regcache_thread_ptid_changed()
|
/netbsd/external/gpl2/lvm2/dist/daemons/dmeventd/ |
H A D | dmeventd.c | 399 char pid[8]; in _storepid() local 401 if ((len = snprintf(pid, sizeof(pid), "%u\n", getpid())) < 0) in _storepid() 404 if (len > (int) sizeof(pid)) in _storepid() 405 len = (int) sizeof(pid); in _storepid() 407 if (write(lf, pid, (size_t) len) != len) in _storepid() 1595 pid_t pid; in _daemonize() local 1607 switch (pid = fork()) { in _daemonize() 1617 while (!waitpid(pid, &child_status, WNOHANG) && !_exit_now) { in _daemonize()
|
/netbsd/external/cddl/osnet/dist/uts/intel/dtrace/ |
H A D | fasttrap_isa.c | 703 fasttrap_return_common(struct reg *rp, uintptr_t pc, pid_t pid, in fasttrap_return_common() argument 719 bucket = &fasttrap_tpoints.fth_table[FASTTRAP_TPOINTS_INDEX(pid, pc)]; in fasttrap_return_common() 722 if (pid == tp->ftt_pid && pc == tp->ftt_pc && in fasttrap_return_common() 978 pid_t pid; local 1016 pid = p->p_pid; 1024 pid = pp->p_pid; 1031 bucket = &fasttrap_tpoints.fth_table[FASTTRAP_TPOINTS_INDEX(pid, pc)]; 1037 if (pid == tp->ftt_pid && pc == tp->ftt_pc && 1769 fasttrap_return_common(rp, pc, pid, new_pc);
|
/netbsd/external/gpl3/gcc/dist/gcc/d/dmd/ |
H A D | dmodule.d | 131 foreach (pid; packages) in getFilename() 133 const p = pid.toString(); in getFilename() 197 foreach (pid; packages) in resolve() 200 Dsymbol p = dst.lookup(pid); in resolve() 203 pkg = new Package(Loc.initial, pid); in resolve() 517 foreach (pid; packages) in load() 519 buf.writestring(pid.toString()); in load() 1504 foreach (pid; packages) in toChars() 1506 buf.writestring(pid.toString()); in toChars()
|
/netbsd/sys/arch/mips/atheros/ |
H A D | ar_conf.c | 173 const u_int pid = MIPS_PRID_IMPL(mips_options.mips_cpu_id); in atheros_set_platformsw() local 179 if (cid != ac->ac_cid || pid != ac->ac_pid) in atheros_set_platformsw()
|
/netbsd/external/bsd/tmux/usr.bin/tmux/ |
H A D | utempter.c | 61 const struct timeval *now, int type, pid_t pid) in doutmpx() argument 73 ut.ut_pid = pid; in doutmpx()
|
/netbsd/external/bsd/atf/dist/atf-sh/ |
H A D | atf_check_test.sh | 176 pid="${!}" 178 kill "${pid}"
|
/netbsd/external/mpl/bind/dist/bin/tests/system/geoip2/ns2/ |
H A D | named3.conf.in | 21 pid-file "named.pid";
|
/netbsd/external/mpl/bind/dist/bin/tests/system/keymgr2kasp/ns3/ |
H A D | named2.conf.in | 23 pid-file "named.pid";
|
/netbsd/external/mpl/bind/dist/bin/tests/system/mirror/ns3/ |
H A D | named.conf.in | 28 pid-file "named.pid";
|
/netbsd/external/mpl/bind/dist/bin/tests/system/chain/ns2/ |
H A D | named.conf.in | 21 pid-file "named.pid";
|
/netbsd/external/mpl/bind/dist/bin/tests/system/resolver/ns1/ |
H A D | named.conf.in | 19 pid-file "named.pid";
|
/netbsd/external/mpl/bind/dist/bin/tests/system/resolver/ns6/ |
H A D | named.conf.in | 21 pid-file "named.pid";
|
/netbsd/sys/compat/freebsd/ |
H A D | freebsd_syscallargs.h | 85 syscallarg(pid_t) pid; 329 syscallarg(pid_t) pid; 533 syscallarg(pid_t) pid; 539 syscallarg(pid_t) pid; 545 syscallarg(pid_t) pid; 552 syscallarg(pid_t) pid;
|
/netbsd/crypto/external/bsd/openssh/dist/ |
H A D | auth2-pubkey.c | 356 pid_t pid; in match_principals_command() local 444 if ((pid = subprocess("AuthorizedPrincipalsCommand", command, in match_principals_command() 458 if (exited_cleanly(pid, "AuthorizedPrincipalsCommand", command, 0) != 0) in match_principals_command() 627 pid_t pid; in user_key_command_allowed2() local 712 if ((pid = subprocess("AuthorizedKeysCommand", command, in user_key_command_allowed2() 728 if (exited_cleanly(pid, "AuthorizedKeysCommand", command, 0) != 0) in user_key_command_allowed2()
|
/netbsd/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/ |
H A D | sanitizer_stoptheworld_netbsd_libcdep.cc | 78 explicit ThreadSuspender(pid_t pid, TracerThreadArgument *arg) in ThreadSuspender() argument 79 : arg(arg), pid_(pid) { in ThreadSuspender() 80 CHECK_GE(pid, 0); in ThreadSuspender()
|
/netbsd/external/bsd/ntp/dist/sntp/libevent/ |
H A D | arc4random.c | 418 pid_t pid = getpid(); in arc4_stir_if_needed() local 420 if (arc4_count <= 0 || !rs_initialized || arc4_stir_pid != pid) in arc4_stir_if_needed() 422 arc4_stir_pid = pid; in arc4_stir_if_needed()
|
/netbsd/external/bsd/libevent/dist/ |
H A D | arc4random.c | 407 pid_t pid = getpid(); in arc4_stir_if_needed() local 409 if (arc4_count <= 0 || !rs_initialized || arc4_stir_pid != pid) in arc4_stir_if_needed() 411 arc4_stir_pid = pid; in arc4_stir_if_needed()
|
/netbsd/external/bsd/atf/dist/tools/ |
H A D | misc_helpers.cpp | 335 pid_t pid = fork(); in ATF_TEST_CASE_BODY() local 336 ATF_REQUIRE(pid != -1); in ATF_TEST_CASE_BODY() 338 if (pid == 0) { in ATF_TEST_CASE_BODY()
|
/netbsd/external/mit/xorg/lib/libxcb/files/ |
H A D | shm.h | 204 xcb_pixmap_t pid; member 518 xcb_pixmap_t pid, 536 xcb_pixmap_t pid,
|
/netbsd/usr.bin/mail/ |
H A D | send.c | 600 int pid; in mail2() local 619 pid = fork(); in mail2() 620 switch (pid) { in mail2() 647 (void)wait_child(pid); in mail2() 649 free_child(pid); in mail2()
|
/netbsd/external/bsd/unbound/dist/daemon/ |
H A D | unbound.c | 330 pid_t pid; in readpid() local 358 pid = (pid_t)strtol(pidbuf, &t, 10); in readpid() 363 return pid; in readpid() 372 writepid (const char* pidfile, pid_t pid) in writepid() argument 377 snprintf(pidbuf, sizeof(pidbuf), "%lu\n", (unsigned long)pid); in writepid()
|