Lines Matching refs:esp
72 testl $X86_EFLAGS_IF, PT_EFLAGS(%esp) # interrupts off?
95 addl $(4 + \pop), %esp
121 add $\pop, %esp
126 99: movl $0, (%esp)
133 98: mov PT_GS(%esp), %gs
137 99: movl $0, PT_GS(%esp)
147 movl \reg, PT_GS(%esp)
194 4: movl $0, (%esp)
196 5: movl $0, (%esp)
198 6: movl $0, (%esp)
216 movl %esp, %eax
228 movl PT_EBP(%esp), %eax
229 call *PT_EBX(%esp)
230 movl $0, PT_EAX(%esp)
237 movl %esp, %eax
256 movl PT_EFLAGS(%esp), %eax # mix EFLAGS and CS
257 movb PT_CS(%esp), %al
263 movl PT_CS(%esp), %eax
272 movl %esp, %eax
283 testl $X86_EFLAGS_IF, PT_EFLAGS(%esp) # interrupts off (exception path) ?
292 movl TSS_sysenter_sp0(%esp), %esp
297 orl $X86_EFLAGS_IF, (%esp) /* Fix IF */
309 movl %esp, %eax
317 movl PT_EIP(%esp), %edx /* pt_regs->ip */
318 movl PT_OLDESP(%esp), %ecx /* pt_regs->sp */
319 1: mov PT_FS(%esp), %fs
322 addl $2*4, %esp /* skip pt_regs->cx and pt_regs->dx */
335 2: movl $0, PT_FS(%esp)
354 movl %esp, %eax
362 movl PT_EFLAGS(%esp), %eax # mix EFLAGS, SS and CS
368 movb PT_OLDSS(%esp), %ah
369 movb PT_CS(%esp), %al
413 mov %esp, %edx /* load kernel esp */
414 mov PT_OLDESP(%esp), %eax /* load userspace esp */
428 lss (%esp), %esp /* switch to espfix segment */
446 addl %esp, %eax /* the adjusted stack pointer */
449 lss (%esp), %esp /* switch to the normal stack segment */
489 addl $-0x80, (%esp) /* Adjust vector into the [-256, -1] range */
492 movl %esp, %eax
503 movl %esp, %eax; \
643 addl $5*4, %esp /* remove xen-provided frame */
658 movl PT_EIP(%esp), %eax
667 1: mov %esp, %eax
690 1: mov 4(%esp), %ds
691 2: mov 8(%esp), %es
692 3: mov 12(%esp), %fs
693 4: mov 16(%esp), %gs
698 lea 16(%esp), %esp
707 movl %eax, 4(%esp)
710 movl %eax, 8(%esp)
713 movl %eax, 12(%esp)
716 movl %eax, 16(%esp)
749 movl 4*4(%esp), %eax
758 addl $4, %esp /* skip NULL pointer */
784 pushl 4(%esp) /* save return ip into ip slot */
799 movl 13*4(%esp), %eax /* Get the saved flags */
800 movl %eax, 14*4(%esp) /* Move saved flags into regs->flags location */
802 movl $__KERNEL_CS, 13*4(%esp)
804 movl 12*4(%esp), %eax /* Load ip (1st parameter) */
808 pushl %esp /* Save pt_regs as 4th parameter */
813 addl $4, %esp /* Skip pt_regs */
814 movl 14*4(%esp), %eax /* Move flags back into cs */
815 movl %eax, 13*4(%esp) /* Needed to keep addl from modifying flags */
816 movl 12*4(%esp), %eax /* Get return ip from regs->ip */
817 movl %eax, 14*4(%esp) /* Put return ip back for ret */
830 addl $8, %esp /* Skip orig_ax and ip */
839 cmpl $__PAGE_OFFSET, %esp
860 movl 0xc(%esp), %eax
879 movl 0xc(%esp), %eax
931 movl PT_GS(%esp), %edi # get the function address
932 movl PT_ORIG_EAX(%esp), %edx # get the error code
933 movl $-1, PT_ORIG_EAX(%esp) # no syscall to restart
940 movl %esp, %eax # pt_regs pointer
959 cmpw $__KERNEL_CS, 4(%esp)
962 movl TSS_sysenter_sp0 + \offset(%esp), %esp
970 cmpl $entry_SYSENTER_32, (%esp)
978 movl %esp, %eax # pt_regs pointer
1000 cmpl $entry_SYSENTER_32, (%esp)
1003 movl %esp, %eax
1012 cmpl $entry_SYSENTER_32, 12(%esp)
1018 movl %esp, %eax # pt_regs pointer
1027 cmpw $__KERNEL_CS, 16(%esp)
1029 cmpl $debug, (%esp)
1031 cmpl $debug_esp_fix_insn, (%esp)
1042 pushl %esp
1043 addl $4, (%esp)
1046 pushl 16(%esp)
1050 FIXUP_ESPFIX_STACK # %eax == %esp
1054 lss 12+4(%esp), %esp # back to espfix stack
1065 movl %esp, %eax # pt_regs pointer