Lines Matching refs:esp
96 testl $X86_EFLAGS_IF,PT_EFLAGS(%esp) # interrupts off?
119 addl $(4 + \pop), %esp
148 add $\pop, %esp
154 99: movl $0, (%esp)
161 98: mov PT_GS(%esp), %gs
165 99: movl $0, PT_GS(%esp)
176 movl \reg, PT_GS(%esp)
244 4: movl $0, (%esp)
246 5: movl $0, (%esp)
248 6: movl $0, (%esp)
260 CFI_DEF_CFA esp, 3*4
268 CFI_DEF_CFA esp, 4*4
276 CFI_DEF_CFA esp, PT_OLDESP-PT_EBX
310 movl PT_EBP(%esp),%eax
311 call *PT_EBX(%esp)
312 movl $0,PT_EAX(%esp)
332 movl PT_EFLAGS(%esp), %eax # mix EFLAGS and CS
333 movb PT_CS(%esp), %al
339 movl PT_CS(%esp), %eax
391 CFI_REL_OFFSET esp, 0
393 orl $X86_EFLAGS_IF, (%esp)
404 pushl_cfi ((TI_sysenter_return) - THREAD_SIZE + TOP_OF_KERNEL_STACK_PADDING + 4*4)(%esp)
420 movl %ebp,PT_EBP(%esp)
432 movl %eax,PT_EAX(%esp)
441 movl PT_EIP(%esp), %edx
442 movl PT_OLDESP(%esp), %ecx
445 1: mov PT_FS(%esp), %fs
454 movl PT_EBX(%esp), %edx /* ebx/a0: 2nd arg to audit */
456 pushl_cfi PT_ESI(%esp) /* a3: 5th arg */
457 pushl_cfi PT_EDX+4(%esp) /* a2: 4th arg */
461 movl PT_EAX(%esp),%eax /* reload syscall number */
479 movl PT_EAX(%esp),%eax /* reload syscall return value */
485 2: movl $0,PT_FS(%esp)
522 movl PT_EFLAGS(%esp), %eax # mix EFLAGS, SS and CS
523 # Warning: PT_OLDSS(%esp) contains the wrong/random values if we
526 movb PT_OLDSS(%esp), %ah
527 movb PT_CS(%esp), %al
573 mov %esp, %edx /* load kernel esp */
574 mov PT_OLDESP(%esp), %eax /* load userspace esp */
586 lss (%esp), %esp /* switch to espfix segment */
616 testl $X86_EFLAGS_VM, PT_EFLAGS(%esp)
617 movl %esp, %eax
622 movl %esp, %eax
626 movb PT_CS(%esp), %bl
640 movl %eax, %esp
648 movl $-ENOSYS,PT_EAX(%esp)
649 movl %esp, %eax
665 movl %esp, %eax
703 addl %esp, %eax /* the adjusted stack pointer */
706 lss (%esp), %esp /* switch to the normal stack segment */
749 addl $-0x80,(%esp) /* Adjust vector into the [-256,-1] range */
752 movl %esp,%eax
765 movl %esp,%eax; \
934 addl $5*4, %esp /* remove xen-provided frame */
950 movl PT_EIP(%esp),%eax
959 1: mov %esp, %eax
982 1: mov 4(%esp),%ds
983 2: mov 8(%esp),%es
984 3: mov 12(%esp),%fs
985 4: mov 16(%esp),%gs
990 lea 16(%esp),%esp
1001 movl %eax,4(%esp)
1004 movl %eax,8(%esp)
1007 movl %eax,12(%esp)
1010 movl %eax,16(%esp)
1043 movl 4*4(%esp), %eax
1052 addl $4,%esp /* skip NULL pointer */
1078 pushl 4(%esp) /* save return ip into ip slot */
1093 movl 13*4(%esp), %eax /* Get the saved flags */
1094 movl %eax, 14*4(%esp) /* Move saved flags into regs->flags location */
1096 movl $__KERNEL_CS,13*4(%esp)
1098 movl 12*4(%esp), %eax /* Load ip (1st parameter) */
1102 pushl %esp /* Save pt_regs as 4th parameter */
1107 addl $4, %esp /* Skip pt_regs */
1108 movl 14*4(%esp), %eax /* Move flags back into cs */
1109 movl %eax, 13*4(%esp) /* Needed to keep addl from modifying flags */
1110 movl 12*4(%esp), %eax /* Get return ip from regs->ip */
1111 movl %eax, 14*4(%esp) /* Put return ip back for ret */
1124 addl $8, %esp /* Skip orig_ax and ip */
1133 cmpl $__PAGE_OFFSET, %esp
1154 movl 0xc(%esp), %eax
1173 movl 0xc(%esp), %eax
1231 movl PT_GS(%esp), %edi # get the function address
1232 movl PT_ORIG_EAX(%esp), %edx # get the error code
1233 movl $-1, PT_ORIG_EAX(%esp) # no syscall to restart
1240 movl %esp,%eax # pt_regs pointer
1260 cmpw $__KERNEL_CS, 4(%esp)
1263 movl TSS_sysenter_sp0 + \offset(%esp), %esp
1264 CFI_DEF_CFA esp, 0
1275 cmpl $ia32_sysenter_target,(%esp)
1283 movl %esp,%eax # pt_regs pointer
1307 cmpl $ia32_sysenter_target,(%esp)
1310 movl %esp,%eax
1318 cmpl $ia32_sysenter_target,12(%esp)
1325 movl %esp,%eax # pt_regs pointer
1337 cmpw $__KERNEL_CS,16(%esp)
1339 cmpl $debug,(%esp)
1341 cmpl $debug_esp_fix_insn,(%esp)
1353 pushl_cfi %esp
1354 addl $4, (%esp)
1357 pushl_cfi 16(%esp)
1361 FIXUP_ESPFIX_STACK # %eax == %esp
1365 lss 12+4(%esp), %esp # back to espfix stack
1379 movl %esp,%eax # pt_regs pointer