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 */
283 * rax: prev task we switched from
301 movq %rax, %rdi /* prev */
319 pushq %rax
325 popq %rax
353 ALTERNATIVE "call error_entry; movq %rax, %rsp", \
547 movq %rax, %rsp /* Switch to new stack */
741 movq %rax, (0*8)(%rdi) /* user RAX */
742 movq (1*8)(%rsp), %rax /* user RIP */
743 movq %rax, (1*8)(%rdi)
744 movq (2*8)(%rsp), %rax /* user CS */
745 movq %rax, (2*8)(%rdi)
746 movq (3*8)(%rsp), %rax /* user RFLAGS */
747 movq %rax, (3*8)(%rdi)
748 movq (5*8)(%rsp), %rax /* user SS */
749 movq %rax, (5*8)(%rdi)
750 movq (4*8)(%rsp), %rax /* user RSP */
751 movq %rax, (4*8)(%rdi)
764 orq PER_CPU_VAR(espfix_stack), %rax
770 movq %rax, %rsp
777 popq %rax /* Restore user RAX */
940 SAVE_AND_SWITCH_TO_KERNEL_CR3 scratch_reg=%rax save_reg=%r14
961 SAVE_AND_SET_GSBASE scratch_reg=%rax save_reg=%rbx
1033 RESTORE_CR3 scratch_reg=%rax save_reg=%r14
1072 SWITCH_TO_KERNEL_CR3 scratch_reg=%rax
1091 cmpq %rax, RIP+8(%rsp)
1110 leaq 8(%rsp), %rax /* return pt_regs pointer */
1126 SWITCH_TO_KERNEL_CR3 scratch_reg=%rax
1136 mov %rax, %rdi
1545 movq PER_CPU_VAR(pcpu_hot + X86_top_of_stack), %rax
1546 leaq -PTREGS_SIZE(%rax), %rsp