/arch/alpha/kernel/ |
D | entry.S | 29 .cfi_def_cfa $sp, 48 53 subq $sp, SP_OFF, $sp 55 stq $0, 0($sp) 56 stq $1, 8($sp) 57 stq $2, 16($sp) 58 stq $3, 24($sp) 59 stq $4, 32($sp) 60 stq $28, 144($sp) 68 stq $5, 40($sp) 69 stq $6, 48($sp) [all …]
|
/arch/riscv/kernel/ |
D | mcount-dyn.S | 18 addi sp, sp, -48 19 sd s0, 32(sp) 20 sd ra, 40(sp) 21 addi s0, sp, 48 22 sd t0, 24(sp) 23 sd t1, 16(sp) 25 sd t2, 8(sp) 28 addi sp, sp, -16 29 sd s0, 0(sp) 30 sd ra, 8(sp) [all …]
|
D | entry.S | 37 REG_S sp, TASK_TI_KERNEL_SP(tp) 39 REG_S sp, TASK_TI_USER_SP(tp) 40 REG_L sp, TASK_TI_KERNEL_SP(tp) 41 addi sp, sp, -(PT_SIZE_ON_STACK) 42 REG_S x1, PT_RA(sp) 43 REG_S x3, PT_GP(sp) 44 REG_S x5, PT_T0(sp) 45 REG_S x6, PT_T1(sp) 46 REG_S x7, PT_T2(sp) 47 REG_S x8, PT_S0(sp) [all …]
|
D | mcount.S | 17 addi sp, sp, -16 18 sd s0, 0(sp) 19 sd ra, 8(sp) 20 addi s0, sp, 16 28 addi sp, sp, -32 29 sd s0, 16(sp) 30 sd ra, 24(sp) 31 sd a0, 8(sp) 32 addi s0, sp, 32 36 ld ra, 8(sp) [all …]
|
/arch/nios2/include/asm/ |
D | entry.h | 31 stw sp, PT_SP(r24) /* Save user stack before changing */ 32 mov sp, r24 35 1 : mov r24, sp 36 addi sp, sp, -PT_REGS_SIZE /* Backup the kernel stack pointer */ 37 stw r24, PT_SP(sp) 38 2 : stw r1, PT_R1(sp) 39 stw r2, PT_R2(sp) 40 stw r3, PT_R3(sp) 41 stw r4, PT_R4(sp) 42 stw r5, PT_R5(sp) [all …]
|
/arch/m68k/include/asm/ |
D | entry.h | 66 btst #5,%sp@(2) /* from user? */ 68 movel %sp,sw_usp /* save user sp */ 70 movel sw_ksp,%sp /* kernel sp */ 71 subql #8,%sp /* room for exception */ 72 clrl %sp@- /* stkadj */ 73 movel %d0,%sp@- /* orig d0 */ 74 movel %d0,%sp@- /* d0 */ 75 lea %sp@(-32),%sp /* space for 8 regs */ 76 moveml %d1-%d5/%a0-%a2,%sp@ 78 movel %a0@-,%sp@(PT_OFF_PC) /* copy exception program counter */ [all …]
|
/arch/nios2/kernel/ |
D | insnemu.S | 21 ldw r1, PT_R1(sp) // Restore registers 22 ldw r2, PT_R2(sp) 23 ldw r3, PT_R3(sp) 24 ldw r4, PT_R4(sp) 25 ldw r5, PT_R5(sp) 26 ldw r6, PT_R6(sp) 27 ldw r7, PT_R7(sp) 28 ldw r8, PT_R8(sp) 29 ldw r9, PT_R9(sp) 30 ldw r10, PT_R10(sp) [all …]
|
/arch/csky/abiv1/inc/abi/ |
D | entry.h | 22 mtcr sp, usp 23 mfcr sp, ss0 27 mtcr sp, ss0 28 mfcr sp, usp 38 subi sp, 32 39 subi sp, 32 40 subi sp, 16 41 stw r13, (sp, 12) 43 stw lr, (sp, 4) 48 stw lr, (sp, 8) [all …]
|
/arch/m68k/68000/ |
D | entry.S | 40 movel #-ENOSYS,%sp@(PT_OFF_D0) 44 movel #-ENOSYS,%sp@(PT_OFF_D0) /* needed for strace*/ 45 subql #4,%sp 49 addql #4,%sp 52 movel %sp@(PT_OFF_ORIG_D0),%d1 60 1: movel %d0,%sp@(PT_OFF_D0) /* save the return value */ 61 subql #4,%sp /* dummy return address */ 67 addql #4,%sp 74 pea %sp@ 76 addql #4,%sp [all …]
|
/arch/csky/abiv2/inc/abi/ |
D | entry.h | 25 subi sp, 152 26 stw tls, (sp, 0) 27 stw lr, (sp, 4) 32 stw lr, (sp, 8) 35 stw lr, (sp, 12) 38 addi lr, sp, 152 43 stw lr, (sp, 16) 45 stw a0, (sp, 20) 46 stw a0, (sp, 24) 47 stw a1, (sp, 28) [all …]
|
/arch/arm64/kernel/probes/ |
D | kprobes_trampoline.S | 13 stp x0, x1, [sp, #S_X0] 14 stp x2, x3, [sp, #S_X2] 15 stp x4, x5, [sp, #S_X4] 16 stp x6, x7, [sp, #S_X6] 17 stp x8, x9, [sp, #S_X8] 18 stp x10, x11, [sp, #S_X10] 19 stp x12, x13, [sp, #S_X12] 20 stp x14, x15, [sp, #S_X14] 21 stp x16, x17, [sp, #S_X16] 22 stp x18, x19, [sp, #S_X18] [all …]
|
/arch/mips/alchemy/common/ |
D | sleeper.S | 24 subu sp, PT_SIZE 25 sw $1, PT_R1(sp) 26 sw $2, PT_R2(sp) 27 sw $3, PT_R3(sp) 28 sw $4, PT_R4(sp) 29 sw $5, PT_R5(sp) 30 sw $6, PT_R6(sp) 31 sw $7, PT_R7(sp) 32 sw $16, PT_R16(sp) 33 sw $17, PT_R17(sp) [all …]
|
/arch/mips/kernel/ |
D | mcount.S | 23 PTR_SUBU sp, PT_SIZE 24 PTR_S ra, PT_R31(sp) 25 PTR_S AT, PT_R1(sp) 26 PTR_S a0, PT_R4(sp) 27 PTR_S a1, PT_R5(sp) 28 PTR_S a2, PT_R6(sp) 29 PTR_S a3, PT_R7(sp) 31 PTR_S a4, PT_R8(sp) 32 PTR_S a5, PT_R9(sp) 33 PTR_S a6, PT_R10(sp) [all …]
|
/arch/csky/abiv2/ |
D | mcount.S | 26 subi sp, 24 27 stw a0, (sp, 0) 28 stw a1, (sp, 4) 29 stw a2, (sp, 8) 30 stw a3, (sp, 12) 31 stw lr, (sp, 16) 32 stw r8, (sp, 20) 36 ldw a0, (sp, 0) 37 ldw a1, (sp, 4) 38 ldw a2, (sp, 8) [all …]
|
/arch/mips/include/asm/ |
D | pm.h | 20 subu sp, PT_SIZE 22 LONG_S $16, PT_R16(sp) 23 LONG_S $17, PT_R17(sp) 24 LONG_S $18, PT_R18(sp) 25 LONG_S $19, PT_R19(sp) 26 LONG_S $20, PT_R20(sp) 27 LONG_S $21, PT_R21(sp) 28 LONG_S $22, PT_R22(sp) 29 LONG_S $23, PT_R23(sp) 30 LONG_S $28, PT_R28(sp) [all …]
|
/arch/arm64/kvm/hyp/ |
D | hyp-entry.S | 20 stp x2, x3, [sp, #-16]! 21 stp x4, x5, [sp, #-16]! 22 stp x6, x7, [sp, #-16]! 23 stp x8, x9, [sp, #-16]! 24 stp x10, x11, [sp, #-16]! 25 stp x12, x13, [sp, #-16]! 26 stp x14, x15, [sp, #-16]! 27 stp x16, x17, [sp, #-16]! 31 ldp x16, x17, [sp], #16 32 ldp x14, x15, [sp], #16 [all …]
|
/arch/mips/fw/lib/ |
D | call_o32.S | 44 REG_SUBU sp,O32_FRAMESZ 46 REG_S ra,O32_FRAMESZ-1*SZREG(sp) 47 REG_S fp,O32_FRAMESZ-2*SZREG(sp) 48 REG_S gp,O32_FRAMESZ-3*SZREG(sp) 49 REG_S s7,O32_FRAMESZ-4*SZREG(sp) 50 REG_S s6,O32_FRAMESZ-5*SZREG(sp) 51 REG_S s5,O32_FRAMESZ-6*SZREG(sp) 52 REG_S s4,O32_FRAMESZ-7*SZREG(sp) 53 REG_S s3,O32_FRAMESZ-8*SZREG(sp) 54 REG_S s2,O32_FRAMESZ-9*SZREG(sp) [all …]
|
/arch/s390/kernel/ |
D | unwind_bc.c | 20 static bool outside_of_stack(struct unwind_state *state, unsigned long sp) in outside_of_stack() argument 22 return (sp <= state->sp) || in outside_of_stack() 23 (sp > state->stack_info.end - sizeof(struct stack_frame)); in outside_of_stack() 26 static bool update_stack_info(struct unwind_state *state, unsigned long sp) in update_stack_info() argument 32 if (get_stack_info(sp, state->task, info, mask) != 0 || in update_stack_info() 33 !on_stack(info, sp, sizeof(struct stack_frame))) in update_stack_info() 44 unsigned long sp, ip; in unwind_next_frame() local 50 sp = state->sp; in unwind_next_frame() 53 sp = READ_ONCE_NOCHECK(regs->gprs[15]); in unwind_next_frame() 54 if (unlikely(outside_of_stack(state, sp))) { in unwind_next_frame() [all …]
|
/arch/m68k/kernel/ |
D | entry.S | 56 lea %sp@(24),%sp 61 pea %sp@(SWITCH_STACK_SIZE) 63 lea %sp@(28),%sp 69 lea %sp@(24),%sp 74 movel %sp,%sp@- | switch_stack pointer 75 pea %sp@(SWITCH_STACK_SIZE+4) | pt_regs pointer 77 addql #8,%sp 83 movel %sp,%sp@- | switch_stack pointer 84 pea %sp@(SWITCH_STACK_SIZE+4) | pt_regs pointer 86 addql #8,%sp [all …]
|
/arch/powerpc/oprofile/ |
D | backtrace.c | 26 static unsigned int user_getsp32(unsigned int sp, int is_first) in user_getsp32() argument 29 void __user *p = compat_ptr(sp); in user_getsp32() 53 static unsigned long user_getsp64(unsigned long sp, int is_first) in user_getsp64() argument 57 if (!access_ok((void __user *)sp, sizeof(stack_frame))) in user_getsp64() 60 if (__copy_from_user_inatomic(stack_frame, (void __user *)sp, in user_getsp64() 71 static unsigned long kernel_getsp(unsigned long sp, int is_first) in kernel_getsp() argument 73 unsigned long *stack_frame = (unsigned long *)sp; in kernel_getsp() 75 if (!validate_sp(sp, current, STACK_FRAME_OVERHEAD)) in kernel_getsp() 92 unsigned long sp = regs->gpr[1]; in op_powerpc_backtrace() local 100 sp = kernel_getsp(sp, first_frame); in op_powerpc_backtrace() [all …]
|
/arch/h8300/kernel/ |
D | entry.S | 39 mov.l er0,@-sp 40 mov.l er1,@-sp 41 mov.l er2,@-sp 42 mov.l er3,@-sp 45 mov.l @sp+,er3 46 mov.l @sp+,er2 65 stm.l er0-er3,@-sp 68 ldm.l @sp+,er2-er3 72 mov.w r1,@(LEXR-LER3:16,sp) /* copy EXR */ 75 mov.w @(LEXR-LER1:16,sp),r1 /* restore EXR */ [all …]
|
/arch/powerpc/perf/ |
D | callchain.c | 29 static int valid_next_sp(unsigned long sp, unsigned long prev_sp) in valid_next_sp() argument 31 if (sp & 0xf) in valid_next_sp() 33 if (!validate_sp(sp, current, STACK_FRAME_OVERHEAD)) in valid_next_sp() 35 if (sp >= prev_sp + STACK_FRAME_MIN_SIZE) in valid_next_sp() 41 if ((sp & ~(THREAD_SIZE - 1)) != (prev_sp & ~(THREAD_SIZE - 1))) in valid_next_sp() 49 unsigned long sp, next_sp; in perf_callchain_kernel() local 56 sp = regs->gpr[1]; in perf_callchain_kernel() 59 if (!validate_sp(sp, current, STACK_FRAME_OVERHEAD)) in perf_callchain_kernel() 63 fp = (unsigned long *) sp; in perf_callchain_kernel() 66 if (next_sp == sp + STACK_INT_FRAME_SIZE && in perf_callchain_kernel() [all …]
|
/arch/m68k/coldfire/ |
D | entry.S | 75 movel %sp,%d2 /* get thread_info pointer */ 79 movel %sp,%a1@(TASK_THREAD+THREAD_ESP0) 85 movel %d0,%sp@(PT_OFF_D0) /* save the return value */ 89 movel %d2,PT_OFF_D0(%sp) /* on syscall entry */ 90 subql #4,%sp 94 addql #4,%sp 99 movel %d0,%sp@(PT_OFF_D0) /* save the return value */ 100 subql #4,%sp /* dummy return address */ 106 addql #4,%sp 110 btst #5,%sp@(PT_OFF_SR) /* check if returning to kernel */ [all …]
|
/arch/sparc/include/asm/ |
D | ttable.h | 30 add %sp, PTREGS_OFF, %o0; \ 40 add %sp, PTREGS_OFF, %o0; \ 49 add %sp, PTREGS_OFF, %o0; \ 69 add %sp, PTREGS_OFF, %o0; \ 78 add %sp, PTREGS_OFF, %o0; \ 88 add %sp, PTREGS_OFF, %o0; \ 140 add %sp, PTREGS_OFF, %o1; \ 153 add %sp, PTREGS_OFF, %o1; \ 165 add %sp, PTREGS_OFF, %o1; \ 178 ldx [%sp + PTREGS_OFF + PT_V9_TNPC], %l1; \ [all …]
|
/arch/arm/kvm/hyp/ |
D | hyp-entry.S | 72 W(add) sp, sp, #1 /* Reset 7 */ 73 W(add) sp, sp, #1 /* Undef 6 */ 74 W(add) sp, sp, #1 /* Syscall 5 */ 75 W(add) sp, sp, #1 /* Prefetch abort 4 */ 76 W(add) sp, sp, #1 /* Data abort 3 */ 77 W(add) sp, sp, #1 /* HVC 2 */ 78 W(add) sp, sp, #1 /* IRQ 1 */ 94 W(add) sp, sp, #1 /* Reset 7 */ 95 W(add) sp, sp, #1 /* Undef 6 */ 96 W(add) sp, sp, #1 /* Syscall 5 */ [all …]
|