| /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/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 | 60 long lwpid = ptid.lwp (); local 61 std::string reason = linux_ptrace_attach_fail_reason (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) 201 core_kernel_thread_id (abfd) = proc_info.lwpid;
|
| /src/external/gpl3/gdb.old/dist/gdb/nat/ |
| linux-ptrace.c | 59 long lwpid = ptid.lwp (); local 60 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/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.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; local 552 lwpid = lwpid_of (current_thread); 553 if (!mips_linux_read_watch_registers (lwpid, 643 long lwpid = lwpid_of (current_thread); local 645 if (!mips_linux_read_watch_registers (lwpid, 671 long lwpid = lwpid_of (current_thread); local 679 if (!mips_linux_read_watch_registers (lwpid, 727 lwpid_t lwpid, int idx, void **base) 729 if (ptrace (PTRACE_GET_THREAD_AREA, lwpid, NULL, base) != 0)
|
| /src/external/gpl3/gdb.old/dist/gdb/ |
| corelow.c | 363 lwpid after the '/' and create a new thread in INF. 375 int lwpid = atoi (bfd_section_name (asect) + 5); local 376 ptid_t ptid (inf->pid, lwpid); 418 the lwpid for each thread is the pid of the process that was running on 422 will be idle. For these idle cores the CPU writes an lwpid of 0. And 424 threads with an lwpid of 0. 426 The problem is GDB doesn't really like threads with an lwpid of 0; GDB 428 certainly doesn't like multiple threads having the same lwpid, each time 429 a new thread is seen with the same lwpid the earlier thread (with the 430 same lwpid) will be deleted 478 int lwpid = atoi (bfd_section_name (sect) + 5); local 513 int lwpid = atoi (bfd_section_name (sect) + 5); local [all...] |
| fbsd-nat.c | 1940 lwpid_t lwpid = pl.pl_lwpid; local 1956 if (lwps[i] == lwpid)
|
| procfs.c | 1614 int lwpid; local 1641 lwpid = atoi (&direntry->d_name[0]); 1642 thread = create_procinfo (pi->pid, lwpid); 1802 int lwpid; local 1860 lwpid = proc_get_current_thread (pi); 1861 create_procinfo (pi->pid, lwpid); 1864 ptid = ptid_t (pi->pid, lwpid, 0); 2617 int lwpid; local 2667 /* We now have have access to the lwpid of the main thread/lwp. */ 2668 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 | 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/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;
|