Lines Matching refs:uthread
947 uthread_t uthread = (uthread_t)get_bsdthread_info(current_thread());
955 if (uthread->t_dtrace_step) {
956 ASSERT(uthread->t_dtrace_on);
957 fasttrap_sigtrap(p, uthread, pc);
964 uthread->t_dtrace_ft = 0;
965 uthread->t_dtrace_pc = 0;
966 uthread->t_dtrace_npc = 0;
967 uthread->t_dtrace_scrpc = 0;
968 uthread->t_dtrace_astpc = 0;
1137 fasttrap_sigsegv(p, uthread, (user_addr_t)regs32->uesp);
1267 fasttrap_sigsegv(p, uthread, addr);
1303 fasttrap_sigsegv(p, uthread, addr);
1311 fasttrap_sigsegv(p, uthread, addr);
1332 fasttrap_sigsegv(p, uthread, addr);
1386 addr = uthread->t_dtrace_scratch->addr;
1389 fasttrap_sigtrap(p, uthread, pc); // Should be killing target proc
1396 uthread->t_dtrace_scrpc = addr;
1408 uthread->t_dtrace_astpc = addr + i;
1415 fasttrap_sigtrap(p, uthread, pc);
1421 uthread->t_dtrace_step = 1;
1422 uthread->t_dtrace_ret = 1;
1423 new_pc = uthread->t_dtrace_astpc;
1425 new_pc = uthread->t_dtrace_scrpc;
1428 uthread->t_dtrace_pc = pc;
1429 uthread->t_dtrace_npc = pc + tp->ftt_size;
1430 uthread->t_dtrace_on = 1;
1466 ASSERT(uthread->t_dtrace_ret != 0);
1467 ASSERT(uthread->t_dtrace_pc == pc);
1468 ASSERT(uthread->t_dtrace_scrpc != 0);
1469 ASSERT(new_pc == uthread->t_dtrace_astpc);
1502 uthread_t uthread = (uthread_t)get_bsdthread_info(current_thread());
1510 if (uthread->t_dtrace_step) {
1511 ASSERT(uthread->t_dtrace_on);
1512 fasttrap_sigtrap(p, uthread, pc);
1519 uthread->t_dtrace_ft = 0;
1520 uthread->t_dtrace_pc = 0;
1521 uthread->t_dtrace_npc = 0;
1522 uthread->t_dtrace_scrpc = 0;
1523 uthread->t_dtrace_astpc = 0;
1524 uthread->t_dtrace_regv = 0;
1676 fasttrap_sigsegv(p, uthread, (user_addr_t)regs64->isf.rsp);
1806 fasttrap_sigsegv(p, uthread, addr);
1842 fasttrap_sigsegv(p, uthread, addr);
1848 fasttrap_sigsegv(p, uthread, addr);
1869 fasttrap_sigsegv(p, uthread, addr);
1967 addr = uthread->t_dtrace_scratch->addr;
1970 fasttrap_sigtrap(p, uthread, pc); // Should be killing target proc
1977 uthread->t_dtrace_scrpc = addr;
2009 uthread->t_dtrace_reg = REG_RAX;
2013 uthread->t_dtrace_reg = REG_RCX;
2017 uthread->t_dtrace_reg = REG_R8;
2021 uthread->t_dtrace_reg = REG_R9;
2029 uthread->t_dtrace_regv = *reg;
2048 uthread->t_dtrace_astpc = addr + i;
2055 fasttrap_sigtrap(p, uthread, pc);
2061 uthread->t_dtrace_step = 1;
2062 uthread->t_dtrace_ret = 1;
2063 new_pc = uthread->t_dtrace_astpc;
2065 new_pc = uthread->t_dtrace_scrpc;
2068 uthread->t_dtrace_pc = pc;
2069 uthread->t_dtrace_npc = pc + tp->ftt_size;
2070 uthread->t_dtrace_on = 1;
2107 ASSERT(uthread->t_dtrace_ret != 0);
2108 ASSERT(uthread->t_dtrace_pc == pc);
2109 ASSERT(uthread->t_dtrace_scrpc != 0);
2110 ASSERT(new_pc == uthread->t_dtrace_astpc);
2144 uthread_t uthread = (uthread_t)get_bsdthread_info(current_thread());
2145 user_addr_t pc = uthread->t_dtrace_pc;
2146 user_addr_t npc = uthread->t_dtrace_npc;
2148 uthread->t_dtrace_pc = 0;
2149 uthread->t_dtrace_npc = 0;
2150 uthread->t_dtrace_scrpc = 0;
2151 uthread->t_dtrace_astpc = 0;