Lines Matching defs:saved_state

556 	x86_saved_state32_t *saved_state = saved_state32(tagged_regs);
557 struct x86_saved_state32_from_kernel *regs = (struct x86_saved_state32_from_kernel *)saved_state;
559 if (FBT_EXCEPTION_CODE == trapno && !IS_USER_TRAP(saved_state)) {
570 esp_probe = saved_state->uesp; /* Easy, x86_64 establishes this value in idt64.s */
584 emul = dtrace_invop( saved_state->eip, (uintptr_t *)esp_probe, saved_state->eax );
597 saved_state->eip += DTRACE_INVOP_NOP_SKIP; /* Skip over the patched NOP (planted by sdt.) */
602 saved_state->ebp = esp_probe; /* Emulate patched movl %esp,%ebp */
603 saved_state->eip += DTRACE_INVOP_MOVL_ESP_EBP_SKIP; /* Skip over the bytes of the patched movl %esp,%ebp */
614 fp = saved_state->ebp;
619 saved_state->ebp = *(uint32_t *)fp;
621 saved_state->eip += DTRACE_INVOP_LEAVE_SKIP;
634 saved_state->uesp += (delta << 2);
643 /* Track the stack lift in "saved_state". */
644 saved_state = (x86_saved_state32_t *) (((uintptr_t)saved_state) + (delta << 2));
655 saved_state->trapno = T_PREEMPT; /* Avoid call to i386_astintr()! */
1078 x86_saved_state64_t *saved_state = saved_state64(tagged_regs);
1080 if (FBT_EXCEPTION_CODE == trapno && !IS_USER_TRAP(saved_state)) {
1091 rsp_probe = saved_state->isf.rsp; /* Easy, x86_64 establishes this value in idt64.s */
1102 emul = dtrace_invop( saved_state->isf.rip, (uintptr_t *)saved_state, saved_state->rax );
1115 saved_state->isf.rip += DTRACE_INVOP_NOP_SKIP; /* Skip over the patched NOP (planted by sdt). */
1120 saved_state->rbp = rsp_probe; /* Emulate patched mov %rsp,%rbp */
1121 saved_state->isf.rip += DTRACE_INVOP_MOV_RSP_RBP_SKIP; /* Skip over the bytes of the patched mov %rsp,%rbp */
1132 fp = saved_state->rbp;
1137 saved_state->rbp = *(uint64_t *)fp;
1139 saved_state->isf.rip += DTRACE_INVOP_LEAVE_SKIP;
1150 saved_state->isf.rsp += (delta << 2);
1159 /* Track the stack lift in "saved_state". */
1160 saved_state = (x86_saved_state64_t *) (((uintptr_t)saved_state) + (delta << 2));
1171 saved_state->isf.trapno = T_PREEMPT; /* Avoid call to i386_astintr()! */