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
301 movq %rsp, %rsi /* regs */
358 movq %rsp, %rdi /* pt_regs pointer into 1st argument*/
361 movq ORIG_RAX(%rsp), %rsi /* get error code into 2nd argument*/
362 movq $-1, ORIG_RAX(%rsp) /* no syscall to restart */
406 testb $3, CS-ORIG_RAX(%rsp)
409 pushq 5*8(%rsp)
472 testb $3, CS-ORIG_RAX(%rsp)
480 movq %rsp, %rdi /* pt_regs pointer */
527 testb $3, CS-ORIG_RAX(%rsp)
544 movq %rsp, %rdi /* pt_regs pointer */
546 movq %rax, %rsp /* Switch to new stack */
552 movq ORIG_RAX(%rsp), %rsi /* get error code into 2nd argument*/
553 movq $-1, ORIG_RAX(%rsp) /* no syscall to restart */
555 movq %rsp, %rdi /* pt_regs pointer */
591 movq %rsp, %rdi /* pt_regs pointer into first argument */
592 movq ORIG_RAX(%rsp), %rsi /* get error code into 2nd argument*/
593 movq $-1, ORIG_RAX(%rsp) /* no syscall to restart */
626 testb $3, CS(%rsp)
641 movq %rsp, %rdi
642 movq PER_CPU_VAR(cpu_tss_rw + TSS_sp0), %rsp
672 testb $3, CS(%rsp)
678 addq $8, %rsp /* skip regs->orig_ax */
697 testb $4, (SS-RIP)(%rsp)
740 movq (1*8)(%rsp), %rax /* user RIP */
742 movq (2*8)(%rsp), %rax /* user CS */
744 movq (3*8)(%rsp), %rax /* user RFLAGS */
746 movq (5*8)(%rsp), %rax /* user SS */
748 movq (4*8)(%rsp), %rax /* user RSP */
768 movq %rax, %rsp
846 movq %rdi, %rsp /* we don't return, adjust the stack frame */
872 cmpw %cx, 0x10(%rsp)
875 cmpw %cx, 0x18(%rsp)
878 cmpw %cx, 0x20(%rsp)
881 cmpw %cx, 0x28(%rsp)
884 movq (%rsp), %rcx
885 movq 8(%rsp), %r11
886 addq $0x30, %rsp
891 movq (%rsp), %rcx
892 movq 8(%rsp), %r11
893 addq $0x30, %rsp
1058 testb $3, CS+8(%rsp)
1072 leaq 8(%rsp), %rdi /* arg0 = pt_regs pointer */
1084 cmpq %rcx, RIP+8(%rsp)
1087 cmpq %rax, RIP+8(%rsp)
1089 cmpq $.Lgs_change, RIP+8(%rsp)
1106 leaq 8(%rsp), %rax /* return pt_regs pointer */
1112 movq %rcx, RIP+8(%rsp)
1130 leaq 8(%rsp), %rdi /* arg0 = pt_regs pointer */
1139 testb $3, CS(%rsp)
1200 testb $3, CS-RIP+8(%rsp)
1217 movq %rsp, %rdx
1218 movq PER_CPU_VAR(pcpu_hot + X86_top_of_stack), %rsp
1239 movq %rsp, %rdi
1303 cmpq 8(%rsp), %rdx
1306 cmpq 8(%rsp), %rdx
1315 cmpl $1, -8(%rsp)
1330 lea 6*8(%rsp), %rdx
1332 cmpq %rdx, 4*8(%rsp)
1337 cmpq %rdx, 4*8(%rsp)
1343 testb $(X86_EFLAGS_DF >> 8), (3*8 + 1)(%rsp)
1353 subq $8, %rsp
1354 leaq -10*8(%rsp), %rdx
1362 addq $(6*8), %rsp
1372 movq (%rsp), %rdx
1378 subq $(5*8), %rsp
1382 pushq 11*8(%rsp)
1394 pushq %rsp /* RSP (minus 8 because of the previous push) */
1395 addq $8, (%rsp) /* Fix up RSP */
1421 movq $1, 10*8(%rsp) /* Set "NMI executing". */
1428 addq $(10*8), %rsp
1430 pushq -6*8(%rsp)
1432 subq $(5*8), %rsp
1453 movq %rsp, %rdi
1491 addq $6*8, %rsp
1503 movq $0, 5*8(%rsp) /* clear "NMI executing" */
1535 leaq -PTREGS_SIZE(%rax), %rsp