Lines Matching refs:regs64
224 x86_saved_state64_t *regs64;
229 regs64 = saved_state64(regs);
233 regs64 = NULL;
246 return ((®s64->rdi)[argno]);
248 stack = regs64->isf.rsp + sizeof(uint64_t) * (argno - 6 + shift);
679 x86_saved_state64_t *regs64;
686 regs64 = saved_state64(regs);
690 regs64 = NULL;
745 regs64->rax, regs64->rdx, 0, 0);
783 fasttrap_usdt_args64(fasttrap_probe_t *probe, x86_saved_state64_t *regs64, int argc,
787 user_addr_t stack = (user_addr_t)regs64->isf.rsp;
794 argv[i] = (®s64->rdi)[x];
1515 x86_saved_state64_t *regs64 = saved_state64(regs);
1516 user_addr_t pc = regs64->isf.rip - 1;
1590 regs64->isf.rip = pc;
1609 dtrace_probe(probe->ftp_id, regs64->rdi,
1610 regs64->rsi, regs64->rdx, regs64->rcx,
1611 regs64->r8);
1624 dtrace_probe(probe->ftp_id, regs64->rdi,
1625 regs64->rsi, regs64->rdx, regs64->rcx,
1626 regs64->r8);
1630 fasttrap_usdt_args64(probe, regs64,
1658 regs64->isf.rip = pc + tp->ftt_size;
1672 regs64->rax = 1;
1673 new_pc = regs64->isf.rip;
1696 ret = fasttrap_fuword64((user_addr_t)regs64->isf.rsp, &dst);
1697 addr = regs64->isf.rsp + sizeof (uint64_t);
1700 fasttrap_sigsegv(p, uthread, (user_addr_t)regs64->isf.rsp);
1708 regs64->isf.rsp = addr;
1719 taken = (regs64->isf.rflags & FASTTRAP_EFLAGS_OF) != 0;
1722 taken = (regs64->isf.rflags & FASTTRAP_EFLAGS_OF) == 0;
1725 taken = (regs64->isf.rflags & FASTTRAP_EFLAGS_CF) != 0;
1728 taken = (regs64->isf.rflags & FASTTRAP_EFLAGS_CF) == 0;
1731 taken = (regs64->isf.rflags & FASTTRAP_EFLAGS_ZF) != 0;
1734 taken = (regs64->isf.rflags & FASTTRAP_EFLAGS_ZF) == 0;
1737 taken = (regs64->isf.rflags & FASTTRAP_EFLAGS_CF) != 0 ||
1738 (regs64->isf.rflags & FASTTRAP_EFLAGS_ZF) != 0;
1741 taken = (regs64->isf.rflags & FASTTRAP_EFLAGS_CF) == 0 &&
1742 (regs64->isf.rflags & FASTTRAP_EFLAGS_ZF) == 0;
1745 taken = (regs64->isf.rflags & FASTTRAP_EFLAGS_SF) != 0;
1748 taken = (regs64->isf.rflags & FASTTRAP_EFLAGS_SF) == 0;
1751 taken = (regs64->isf.rflags & FASTTRAP_EFLAGS_PF) != 0;
1754 taken = (regs64->isf.rflags & FASTTRAP_EFLAGS_PF) == 0;
1757 taken = ((regs64->isf.rflags & FASTTRAP_EFLAGS_SF) == 0) !=
1758 ((regs64->isf.rflags & FASTTRAP_EFLAGS_OF) == 0);
1761 taken = ((regs64->isf.rflags & FASTTRAP_EFLAGS_SF) == 0) ==
1762 ((regs64->isf.rflags & FASTTRAP_EFLAGS_OF) == 0);
1765 taken = (regs64->isf.rflags & FASTTRAP_EFLAGS_ZF) != 0 ||
1766 ((regs64->isf.rflags & FASTTRAP_EFLAGS_SF) == 0) !=
1767 ((regs64->isf.rflags & FASTTRAP_EFLAGS_OF) == 0);
1770 taken = (regs64->isf.rflags & FASTTRAP_EFLAGS_ZF) == 0 &&
1771 ((regs64->isf.rflags & FASTTRAP_EFLAGS_SF) == 0) ==
1772 ((regs64->isf.rflags & FASTTRAP_EFLAGS_OF) == 0);
1788 uint64_t cx = regs64->rcx--;
1792 taken = (regs64->isf.rflags & FASTTRAP_EFLAGS_ZF) == 0 &&
1796 taken = (regs64->isf.rflags & FASTTRAP_EFLAGS_ZF) != 0 &&
1815 uint64_t cx = regs64->rcx;
1826 user_addr_t addr = regs64->isf.rsp - sizeof (uint64_t);
1827 int ret = fasttrap_suword64(addr, (uint64_t)regs64->rbp);
1835 regs64->isf.rsp = addr;
1889 user_addr_t addr = regs64->isf.rsp - sizeof (uint64_t);
1898 regs64->isf.rsp = addr;
2032 reg = ®s64->rax;
2036 reg = ®s64->rcx;
2040 reg = ®s64->r8;
2044 reg = ®s64->r9;
2116 regs64->isf.rip = new_pc;
2158 x86_saved_state64_t *regs64;
2163 regs64 = saved_state64(regs);
2167 regs64 = NULL;
2203 regs64->isf.rip = pc;
2238 x86_saved_state64_t *regs64 = saved_state64(regs);
2241 case REG_RAX: return regs64->rax;
2242 case REG_RCX: return regs64->rcx;
2243 case REG_RDX: return regs64->rdx;
2244 case REG_RBX: return regs64->rbx;
2245 case REG_RSP: return regs64->isf.rsp;
2246 case REG_RBP: return regs64->rbp;
2247 case REG_RSI: return regs64->rsi;
2248 case REG_RDI: return regs64->rdi;
2249 case REG_R8: return regs64->r8;
2250 case REG_R9: return regs64->r9;
2251 case REG_R10: return regs64->r10;
2252 case REG_R11: return regs64->r11;
2253 case REG_R12: return regs64->r12;
2254 case REG_R13: return regs64->r13;
2255 case REG_R14: return regs64->r14;
2256 case REG_R15: return regs64->r15;
2257 case REG_TRAPNO: return regs64->isf.trapno;
2258 case REG_ERR: return regs64->isf.err;
2259 case REG_RIP: return regs64->isf.rip;
2260 case REG_CS: return regs64->isf.cs;
2261 case REG_RFL: return regs64->isf.rflags;
2262 case REG_SS: return regs64->isf.ss;
2263 case REG_FS: return regs64->fs;
2264 case REG_GS: return regs64->gs;