Lines Matching refs:curthread
872 if (curthread->t_dtrace_step) { in fasttrap_pid_probe()
873 ASSERT(curthread->t_dtrace_on); in fasttrap_pid_probe()
874 fasttrap_sigtrap(p, curthread, pc); in fasttrap_pid_probe()
881 curthread->t_dtrace_ft = 0; in fasttrap_pid_probe()
882 curthread->t_dtrace_pc = 0; in fasttrap_pid_probe()
883 curthread->t_dtrace_npc = 0; in fasttrap_pid_probe()
884 curthread->t_dtrace_scrpc = 0; in fasttrap_pid_probe()
885 curthread->t_dtrace_astpc = 0; in fasttrap_pid_probe()
886 curthread->t_dtrace_regv = 0; in fasttrap_pid_probe()
1091 fasttrap_sigsegv(p, curthread, rp->r_sp); in fasttrap_pid_probe()
1226 fasttrap_sigsegv(p, curthread, addr); in fasttrap_pid_probe()
1262 fasttrap_sigsegv(p, curthread, addr); in fasttrap_pid_probe()
1270 fasttrap_sigsegv(p, curthread, in fasttrap_pid_probe()
1281 fasttrap_sigsegv(p, curthread, in fasttrap_pid_probe()
1313 fasttrap_sigsegv(p, curthread, addr); in fasttrap_pid_probe()
1328 klwp_t *lwp = ttolwp(curthread); in fasttrap_pid_probe()
1429 curthread->t_dtrace_scrpc = addr; in fasttrap_pid_probe()
1462 curthread->t_dtrace_reg = REG_RAX; in fasttrap_pid_probe()
1466 curthread->t_dtrace_reg = REG_RCX; in fasttrap_pid_probe()
1470 curthread->t_dtrace_reg = REG_R8; in fasttrap_pid_probe()
1474 curthread->t_dtrace_reg = REG_R9; in fasttrap_pid_probe()
1480 curthread->t_dtrace_regv = *reg; in fasttrap_pid_probe()
1512 curthread->t_dtrace_astpc = addr + i; in fasttrap_pid_probe()
1521 fasttrap_sigtrap(p, curthread, pc); in fasttrap_pid_probe()
1527 curthread->t_dtrace_step = 1; in fasttrap_pid_probe()
1528 curthread->t_dtrace_ret = 1; in fasttrap_pid_probe()
1529 new_pc = curthread->t_dtrace_astpc; in fasttrap_pid_probe()
1531 new_pc = curthread->t_dtrace_scrpc; in fasttrap_pid_probe()
1534 curthread->t_dtrace_pc = pc; in fasttrap_pid_probe()
1535 curthread->t_dtrace_npc = pc + tp->ftt_size; in fasttrap_pid_probe()
1536 curthread->t_dtrace_on = 1; in fasttrap_pid_probe()
1570 ASSERT(curthread->t_dtrace_ret != 0); in fasttrap_pid_probe()
1571 ASSERT(curthread->t_dtrace_pc == pc); in fasttrap_pid_probe()
1572 ASSERT(curthread->t_dtrace_scrpc != 0); in fasttrap_pid_probe()
1573 ASSERT(new_pc == curthread->t_dtrace_astpc); in fasttrap_pid_probe()
1586 uintptr_t pc = curthread->t_dtrace_pc; in fasttrap_return_probe()
1587 uintptr_t npc = curthread->t_dtrace_npc; in fasttrap_return_probe()
1589 curthread->t_dtrace_pc = 0; in fasttrap_return_probe()
1590 curthread->t_dtrace_npc = 0; in fasttrap_return_probe()
1591 curthread->t_dtrace_scrpc = 0; in fasttrap_return_probe()
1592 curthread->t_dtrace_astpc = 0; in fasttrap_return_probe()
1622 return (fasttrap_anarg(ttolwp(curthread)->lwp_regs, 1, argno)); in fasttrap_pid_getarg()
1630 return (fasttrap_anarg(ttolwp(curthread)->lwp_regs, 0, argno)); in fasttrap_usdt_getarg()