| /src/sys/arch/sh3/sh3/ |
| db_trace.c | 105 bool lwpid = false; local 117 lwpid = true; 120 if (lwpaddr && lwpid) { 124 if ((lwpaddr || lwpid) && !have_addr) { 142 } else if (lwpaddr || lwpid) {
|
| /src/tests/lib/libc/sys/ |
| t_futex_robust.c | 62 lwpid_t lwpid; member in struct:lwp_data 261 ATF_REQUIRE(_lwp_create(&lwp_data.context, 0, &lwp_data.lwpid) == 0); 262 ATF_REQUIRE(_lwp_wait(lwp_data.lwpid, NULL) == 0); 291 ATF_REQUIRE(_lwp_create(&lwp_data.context, 0, &lwp_data.lwpid) == 0); 292 ATF_REQUIRE(_lwp_wait(lwp_data.lwpid, NULL) == 0); 320 ATF_REQUIRE(_lwp_create(&lwp_data.context, 0, &lwp_data.lwpid) == 0); 321 ATF_REQUIRE(_lwp_wait(lwp_data.lwpid, NULL) == 0); 350 ATF_REQUIRE(_lwp_create(&lwp_data.context, 0, &lwp_data.lwpid) == 0); 351 ATF_REQUIRE(_lwp_wait(lwp_data.lwpid, NULL) == 0); 380 ATF_REQUIRE(_lwp_create(&lwp_data.context, 0, &lwp_data.lwpid) == 0) [all...] |
| t_setrlimit.c | 462 lwpid_t lwpid; local 477 makecontext(&c, func, 1, &lwpid); 478 ATF_CHECK_ERRNO(EAGAIN, _lwp_create(&c, 0, &lwpid) == -1);
|
| t_futex_ops.c | 74 lwpid_t lwpid; member in struct:lwp_data 109 RL(_lwp_create(&d->context, 0, &d->lwpid)); 121 RL(_lwp_wait(d->lwpid, NULL)); 362 wlwp->lwpid)); 436 DPRINTF(("futex_basic_wait_wake: reaping LWP %d\n", wlwp->lwpid)); 673 RL(_lwp_create(&wlwp0->context, 0, &wlwp0->lwpid)); 674 RL(_lwp_create(&wlwp1->context, 0, &wlwp1->lwpid)); 736 RL(_lwp_wait(wlwp0->lwpid, NULL)); 754 RL(_lwp_wait(wlwp1->lwpid, NULL)); 799 RL(_lwp_create(&wlwp0->context, 0, &wlwp0->lwpid)); [all...] |
| /src/external/gpl3/binutils/dist/bfd/ |
| hpux-core.c | 76 /* .lwpid and .user_tid are only valid if PROC_INFO_HAS_THREAD_ID, else they 78 .lwpid are synonymous. */ 82 int lwpid; /* Kernel thread ID. */ member in struct:hpux_core_struct 90 #define core_kernel_thread_id(bfd) (core_hdr(bfd)->lwpid) 202 core_kernel_thread_id (abfd) = proc_info.lwpid;
|
| /src/external/gpl3/binutils.old/dist/bfd/ |
| hpux-core.c | 76 /* .lwpid and .user_tid are only valid if PROC_INFO_HAS_THREAD_ID, else they 78 .lwpid are synonymous. */ 82 int lwpid; /* Kernel thread ID. */ member in struct:hpux_core_struct 90 #define core_kernel_thread_id(bfd) (core_hdr(bfd)->lwpid) 202 core_kernel_thread_id (abfd) = proc_info.lwpid;
|
| /src/external/gpl3/gdb.old/dist/bfd/ |
| hpux-core.c | 76 /* .lwpid and .user_tid are only valid if PROC_INFO_HAS_THREAD_ID, else they 78 .lwpid are synonymous. */ 82 int lwpid; /* Kernel thread ID. */ member in struct:hpux_core_struct 90 #define core_kernel_thread_id(bfd) (core_hdr(bfd)->lwpid) 202 core_kernel_thread_id (abfd) = proc_info.lwpid;
|
| /src/external/gpl3/gdb.old/dist/gdb/nat/ |
| linux-ptrace.c | 60 long lwpid = ptid.lwp (); local 61 std::string reason = linux_ptrace_attach_fail_reason (lwpid);
|
| /src/external/gpl3/gdb/dist/bfd/ |
| hpux-core.c | 76 /* .lwpid and .user_tid are only valid if PROC_INFO_HAS_THREAD_ID, else they 78 .lwpid are synonymous. */ 82 int lwpid; /* Kernel thread ID. */ member in struct:hpux_core_struct 90 #define core_kernel_thread_id(bfd) (core_hdr(bfd)->lwpid) 202 core_kernel_thread_id (abfd) = proc_info.lwpid;
|
| /src/external/gpl3/gdb/dist/gdb/nat/ |
| linux-ptrace.c | 61 long lwpid = ptid.lwp (); local 62 std::string reason = linux_ptrace_attach_fail_reason (lwpid);
|
| /src/usr.sbin/tprof/ |
| tprof_analyze.c | 61 uint32_t lwpid; /* lwp id */ member in struct:addr 86 if (a1->lwpid > a2->lwpid) { 88 } else if (a1->lwpid < a2->lwpid) { 232 a->lwpid = sample.s_lwpid; 234 a->lwpid = 0; 262 assert(a->lwpid == o->lwpid); 334 a->pid, a->lwpid, a->cpuid, a->in_kernel, a->addr, name) [all...] |
| /src/external/cddl/osnet/dist/lib/libdtrace/common/ |
| dt_proc.c | 446 lwpid_t lwpid = psp->pr_lwpid; local 478 if (Pstate(P) != PS_STOP || psp->pr_lwpid != lwpid ||
|
| /src/external/gpl3/gdb.old/dist/gdbserver/ |
| thread-db.cc | 178 int lwpid = ptid.lwp (); local 179 td_err_e err = thread_db->td_ta_map_lwp2thr_p (thread_db->thread_agent, lwpid, 183 lwpid, thread_db_err_str (err)); 189 lwpid, thread_db_err_str (err)); 194 if (lwpid != ti.ti_lid) 197 (long) lwpid, (long) ti.ti_lid);
|
| linux-mips-low.cc | 548 long lwpid = current_thread->id.lwp (); local 552 if (!mips_linux_read_watch_registers (lwpid, 642 long lwpid = current_thread->id.lwp (); local 644 if (!mips_linux_read_watch_registers (lwpid, 670 long lwpid = current_thread->id.lwp (); local 678 if (!mips_linux_read_watch_registers (lwpid, 726 lwpid_t lwpid, int idx, void **base) 728 if (ptrace (PTRACE_GET_THREAD_AREA, lwpid, NULL, base) != 0)
|
| linux-low.cc | 285 static int kill_lwp (unsigned long lwpid, int signo); 1037 int lwpid = ptid.lwp (); local 1039 if (ptrace (PTRACE_ATTACH, lwpid, (PTRACE_TYPE_ARG3) 0, (PTRACE_TYPE_ARG4) 0) 1049 if (linux_proc_pid_is_stopped (lwpid)) 1066 kill_lwp (lwpid, SIGSTOP); 1071 ptrace (PTRACE_CONT, lwpid, (PTRACE_TYPE_ARG3) 0, (PTRACE_TYPE_ARG4) 0); 1124 int lwpid = ptid.lwp (); local 1127 threads_debug_printf ("Found new lwp %d", lwpid); 1136 || (err == EPERM && linux_proc_pid_is_gone (lwpid))) 1139 lwpid, err, safe_strerror (err)) 1220 int wstat, lwpid; local 1319 int lwpid = thr->id.lwp (); local 1520 int lwpid = thread->id.lwp (); local [all...] |
| /src/external/gpl3/gdb/dist/gdbserver/ |
| thread-db.cc | 178 int lwpid = ptid.lwp (); local 179 td_err_e err = thread_db->td_ta_map_lwp2thr_p (thread_db->thread_agent, lwpid, 183 lwpid, thread_db_err_str (err)); 189 lwpid, thread_db_err_str (err)); 194 if (lwpid != ti.ti_lid) 197 (long) lwpid, (long) ti.ti_lid);
|
| linux-mips-low.cc | 548 long lwpid = current_thread->id.lwp (); local 552 if (!mips_linux_read_watch_registers (lwpid, 642 long lwpid = current_thread->id.lwp (); local 644 if (!mips_linux_read_watch_registers (lwpid, 670 long lwpid = current_thread->id.lwp (); local 678 if (!mips_linux_read_watch_registers (lwpid, 726 lwpid_t lwpid, int idx, void **base) 728 if (ptrace (PTRACE_GET_THREAD_AREA, lwpid, NULL, base) != 0)
|
| linux-low.cc | 285 static int kill_lwp (unsigned long lwpid, int signo); 1036 int lwpid = ptid.lwp (); local 1038 if (ptrace (PTRACE_ATTACH, lwpid, (PTRACE_TYPE_ARG3) 0, (PTRACE_TYPE_ARG4) 0) 1048 if (linux_proc_pid_is_stopped (lwpid)) 1065 kill_lwp (lwpid, SIGSTOP); 1070 ptrace (PTRACE_CONT, lwpid, (PTRACE_TYPE_ARG3) 0, (PTRACE_TYPE_ARG4) 0); 1123 int lwpid = ptid.lwp (); local 1126 threads_debug_printf ("Found new lwp %d", lwpid); 1135 || (err == EPERM && linux_proc_pid_is_gone (lwpid))) 1138 lwpid, err, safe_strerror (err)) 1219 int wstat, lwpid; local 1318 int lwpid = thr->id.lwp (); local 1519 int lwpid = thread->id.lwp (); local [all...] |
| /src/external/gpl3/gdb.old/dist/gdb/ |
| fbsd-nat.c | 1941 lwpid_t lwpid = pl.pl_lwpid; local 1957 if (lwps[i] == lwpid)
|
| procfs.c | 1615 int lwpid; local 1642 lwpid = atoi (&direntry->d_name[0]); 1643 thread = create_procinfo (pi->pid, lwpid); 1803 int lwpid; local 1861 lwpid = proc_get_current_thread (pi); 1862 create_procinfo (pi->pid, lwpid); 1865 ptid = ptid_t (pi->pid, lwpid, 0); 2619 int lwpid; local 2669 /* We now have have access to the lwpid of the main thread/lwp. */ 2670 lwpid = proc_get_current_thread (pi) [all...] |
| linux-nat.c | 284 static int kill_lwp (int lwpid, int signo); 1085 int lwpid = ptid.lwp (); 1087 if (ptrace (PTRACE_ATTACH, lwpid, 0, 0) < 0) 1097 || (err == EPERM && linux_proc_pid_is_gone (lwpid))) 1101 lwpid, err, safe_strerror (err)); 1110 lwpid, reason.c_str ()); 1461 int lwpid = lp->ptid.lwp (); 1478 kill_lwp (lwpid, SIGCONT); 1519 detach_one_pid (lwpid, signo); 1846 kill_lwp (int lwpid, int signo 1079 int lwpid = ptid.lwp (); local 1455 int lwpid = lp->ptid.lwp (); local 3349 pid_t lwpid; local [all...] |
| /src/external/gpl3/gdb/dist/gdb/ |
| fbsd-nat.c | 1941 lwpid_t lwpid = pl.pl_lwpid; local 1957 if (lwps[i] == lwpid)
|
| procfs.c | 1615 int lwpid; local 1642 lwpid = atoi (&direntry->d_name[0]); 1643 thread = create_procinfo (pi->pid, lwpid); 1803 int lwpid; local 1861 lwpid = proc_get_current_thread (pi); 1862 create_procinfo (pi->pid, lwpid); 1865 ptid = ptid_t (pi->pid, lwpid, 0); 2619 int lwpid; local 2669 /* We now have have access to the lwpid of the main thread/lwp. */ 2670 lwpid = proc_get_current_thread (pi) [all...] |
| linux-nat.c | 280 static int kill_lwp (int lwpid, int signo); 1081 int lwpid = ptid.lwp (); 1083 if (ptrace (PTRACE_ATTACH, lwpid, 0, 0) < 0) 1093 || (err == EPERM && linux_proc_pid_is_gone (lwpid))) 1097 lwpid, err, safe_strerror (err)); 1106 lwpid, reason.c_str ()); 1457 int lwpid = lp->ptid.lwp (); 1474 kill_lwp (lwpid, SIGCONT); 1515 detach_one_pid (lwpid, signo); 1842 kill_lwp (int lwpid, int signo 1075 int lwpid = ptid.lwp (); local 1451 int lwpid = lp->ptid.lwp (); local 3349 pid_t lwpid; local [all...] |
| /src/external/bsd/top/dist/machine/ |
| m_sunos5.c | 219 id_t lwpid; member in struct:oldproc 2091 /* this hash is indexed by both pid and lwpid */ 2103 op->lwpid = lwpp->pr_lwpid;
|