Lines Matching refs:saved_state
540 x86_saved_state64_t *saved_state = saved_state64(tagged_regs);
542 if (FBT_EXCEPTION_CODE == trapno && !IS_USER_TRAP(saved_state)) {
553 rsp_probe = saved_state->isf.rsp; /* Easy, x86_64 establishes this value in idt64.s */
564 emul = dtrace_invop( saved_state->isf.rip, (uintptr_t *)saved_state, saved_state->rax );
577 saved_state->isf.rip += DTRACE_INVOP_NOP_SKIP; /* Skip over the patched NOP (planted by sdt). */
582 saved_state->rbp = rsp_probe; /* Emulate patched mov %rsp,%rbp */
583 saved_state->isf.rip += DTRACE_INVOP_MOV_RSP_RBP_SKIP; /* Skip over the bytes of the patched mov %rsp,%rbp */
594 fp = saved_state->rbp;
599 saved_state->rbp = *(uint64_t *)fp;
601 saved_state->isf.rip += DTRACE_INVOP_LEAVE_SKIP;
612 saved_state->isf.rsp += (delta << 2);
621 /* Track the stack lift in "saved_state". */
622 saved_state = (x86_saved_state64_t *) (((uintptr_t)saved_state) + (delta << 2));
633 saved_state->isf.trapno = T_PREEMPT; /* Avoid call to i386_astintr()! */