Lines Matching refs:rsp
93 movq %rsp, PER_CPU_VAR(cpu_tss_rw + TSS_sp2)
94 SWITCH_TO_KERNEL_CR3 scratch_reg=%rsp
95 movq PER_CPU_VAR(pcpu_hot + X86_top_of_stack), %rsp
112 movq %rsp, %rdi
132 movq RCX(%rsp), %rcx
133 movq RIP(%rsp), %r11
161 cmpq $__USER_CS, CS(%rsp) /* CS must match SYSRET */
164 movq R11(%rsp), %r11
165 cmpq %r11, EFLAGS(%rsp) /* R11 == RFLAGS */
191 cmpq $__USER_DS, SS(%rsp) /* SS must match SYSRET */
206 movq %rsp, %rdi
207 movq PER_CPU_VAR(cpu_tss_rw + TSS_sp0), %rsp
222 popq %rsp
250 movq %rsp, TASK_threadsp(%rdi)
251 movq TASK_threadsp(%rsi), %rsp
300 movq %rsp, %rdi
314 movq $0, RAX(%rsp)
361 movq %rsp, %rdi /* pt_regs pointer into 1st argument*/
364 movq ORIG_RAX(%rsp), %rsi /* get error code into 2nd argument*/
365 movq $-1, ORIG_RAX(%rsp) /* no syscall to restart */
409 testb $3, CS-ORIG_RAX(%rsp)
412 pushq 5*8(%rsp)
475 testb $3, CS-ORIG_RAX(%rsp)
483 movq %rsp, %rdi /* pt_regs pointer */
530 testb $3, CS-ORIG_RAX(%rsp)
547 movq %rsp, %rdi /* pt_regs pointer */
549 movq %rax, %rsp /* Switch to new stack */
555 movq ORIG_RAX(%rsp), %rsi /* get error code into 2nd argument*/
556 movq $-1, ORIG_RAX(%rsp) /* no syscall to restart */
558 movq %rsp, %rdi /* pt_regs pointer */
594 movq %rsp, %rdi /* pt_regs pointer into first argument */
595 movq ORIG_RAX(%rsp), %rsi /* get error code into 2nd argument*/
596 movq $-1, ORIG_RAX(%rsp) /* no syscall to restart */
629 testb $3, CS(%rsp)
644 movq %rsp, %rdi
645 movq PER_CPU_VAR(cpu_tss_rw + TSS_sp0), %rsp
675 testb $3, CS(%rsp)
681 addq $8, %rsp /* skip regs->orig_ax */
700 testb $4, (SS-RIP)(%rsp)
743 movq (1*8)(%rsp), %rax /* user RIP */
745 movq (2*8)(%rsp), %rax /* user CS */
747 movq (3*8)(%rsp), %rax /* user RFLAGS */
749 movq (5*8)(%rsp), %rax /* user SS */
751 movq (4*8)(%rsp), %rax /* user RSP */
771 movq %rax, %rsp
849 movq %rdi, %rsp /* we don't return, adjust the stack frame */
875 cmpw %cx, 0x10(%rsp)
878 cmpw %cx, 0x18(%rsp)
881 cmpw %cx, 0x20(%rsp)
884 cmpw %cx, 0x28(%rsp)
887 movq (%rsp), %rcx
888 movq 8(%rsp), %r11
889 addq $0x30, %rsp
894 movq (%rsp), %rcx
895 movq 8(%rsp), %r11
896 addq $0x30, %rsp
1061 testb $3, CS+8(%rsp)
1075 leaq 8(%rsp), %rdi /* arg0 = pt_regs pointer */
1087 cmpq %rcx, RIP+8(%rsp)
1090 cmpq %rax, RIP+8(%rsp)
1092 cmpq $.Lgs_change, RIP+8(%rsp)
1109 leaq 8(%rsp), %rax /* return pt_regs pointer */
1115 movq %rcx, RIP+8(%rsp)
1133 leaq 8(%rsp), %rdi /* arg0 = pt_regs pointer */
1142 testb $3, CS(%rsp)
1203 testb $3, CS-RIP+8(%rsp)
1220 movq %rsp, %rdx
1221 movq PER_CPU_VAR(pcpu_hot + X86_top_of_stack), %rsp
1242 movq %rsp, %rdi
1306 cmpq 8(%rsp), %rdx
1309 cmpq 8(%rsp), %rdx
1318 cmpl $1, -8(%rsp)
1333 lea 6*8(%rsp), %rdx
1335 cmpq %rdx, 4*8(%rsp)
1340 cmpq %rdx, 4*8(%rsp)
1346 testb $(X86_EFLAGS_DF >> 8), (3*8 + 1)(%rsp)
1356 subq $8, %rsp
1357 leaq -10*8(%rsp), %rdx
1365 addq $(6*8), %rsp
1375 movq (%rsp), %rdx
1381 subq $(5*8), %rsp
1385 pushq 11*8(%rsp)
1397 pushq %rsp /* RSP (minus 8 because of the previous push) */
1398 addq $8, (%rsp) /* Fix up RSP */
1424 movq $1, 10*8(%rsp) /* Set "NMI executing". */
1431 addq $(10*8), %rsp
1433 pushq -6*8(%rsp)
1435 subq $(5*8), %rsp
1456 movq %rsp, %rdi
1494 addq $6*8, %rsp
1506 movq $0, 5*8(%rsp) /* clear "NMI executing" */
1538 leaq -PTREGS_SIZE(%rax), %rsp