Lines Matching refs:rax
69 * rax system call number
107 pushq %rax /* pt_regs->orig_ax */
109 PUSH_AND_CLEAR_REGS rax=$-ENOSYS
116 /* clobbers %rax, make sure it is after saving the syscall nr */
222 * rax: prev task we switched from
240 movq %rax, %rdi /* prev */
264 pushq %rax
270 popq %rax
298 ALTERNATIVE "call error_entry; movq %rax, %rsp", \
483 movq %rax, %rsp /* Switch to new stack */
609 push %rax
610 SWITCH_TO_USER_CR3 scratch_reg=%rdi scratch_reg2=%rax
611 pop %rax
688 movq %rax, (0*8)(%rdi) /* user RAX */
689 movq (1*8)(%rsp), %rax /* user RIP */
690 movq %rax, (1*8)(%rdi)
691 movq (2*8)(%rsp), %rax /* user CS */
692 movq %rax, (2*8)(%rdi)
693 movq (3*8)(%rsp), %rax /* user RFLAGS */
694 movq %rax, (3*8)(%rdi)
695 movq (5*8)(%rsp), %rax /* user SS */
696 movq %rax, (5*8)(%rdi)
697 movq (4*8)(%rsp), %rax /* user RSP */
698 movq %rax, (4*8)(%rdi)
711 orq PER_CPU_VAR(espfix_stack), %rax
717 movq %rax, %rsp
724 popq %rax /* Restore user RAX */
887 SAVE_AND_SWITCH_TO_KERNEL_CR3 scratch_reg=%rax save_reg=%r14
908 SAVE_AND_SET_GSBASE scratch_reg=%rax save_reg=%rbx
980 PARANOID_RESTORE_CR3 scratch_reg=%rax save_reg=%r14
1019 SWITCH_TO_KERNEL_CR3 scratch_reg=%rax
1038 cmpq %rax, RIP+8(%rsp)
1057 leaq 8(%rsp), %rax /* return pt_regs pointer */
1073 SWITCH_TO_KERNEL_CR3 scratch_reg=%rax
1083 mov %rax, %rdi
1487 movq PER_CPU_VAR(pcpu_hot + X86_top_of_stack), %rax
1488 leaq -PTREGS_SIZE(%rax), %rsp