Lines Matching refs:rax
107 pushq %rax /* pt_regs->orig_ax */
109 PUSH_AND_CLEAR_REGS rax=$-ENOSYS
300 movq %rax, %rdi /* prev */
318 pushq %rax
324 popq %rax
546 movq %rax, %rsp /* Switch to new stack */
739 movq %rax, (0*8)(%rdi) /* user RAX */
740 movq (1*8)(%rsp), %rax /* user RIP */
741 movq %rax, (1*8)(%rdi)
742 movq (2*8)(%rsp), %rax /* user CS */
743 movq %rax, (2*8)(%rdi)
744 movq (3*8)(%rsp), %rax /* user RFLAGS */
745 movq %rax, (3*8)(%rdi)
746 movq (5*8)(%rsp), %rax /* user SS */
747 movq %rax, (5*8)(%rdi)
748 movq (4*8)(%rsp), %rax /* user RSP */
749 movq %rax, (4*8)(%rdi)
762 orq PER_CPU_VAR(espfix_stack), %rax
768 movq %rax, %rsp
775 popq %rax /* Restore user RAX */
936 SAVE_AND_SWITCH_TO_KERNEL_CR3 scratch_reg=%rax save_reg=%r14
957 SAVE_AND_SET_GSBASE scratch_reg=%rax save_reg=%rbx
1029 RESTORE_CR3 scratch_reg=%rax save_reg=%r14
1068 SWITCH_TO_KERNEL_CR3 scratch_reg=%rax
1087 cmpq %rax, RIP+8(%rsp)
1106 leaq 8(%rsp), %rax /* return pt_regs pointer */
1122 SWITCH_TO_KERNEL_CR3 scratch_reg=%rax
1132 mov %rax, %rdi
1534 movq PER_CPU_VAR(pcpu_hot + X86_top_of_stack), %rax
1535 leaq -PTREGS_SIZE(%rax), %rsp