/arch/xtensa/include/asm/ |
D | asmmacro.h | 200 #define abi_entry(frame_size) \ argument 202 (((frame_size) + XTENSA_STACK_ALIGNMENT - 1) & \ 206 #define abi_ret(frame_size) retw argument 213 #define abi_entry(frame_size) __abi_entry (frame_size) 215 .macro __abi_entry frame_size 216 .ifgt \frame_size 217 addi sp, sp, -(((\frame_size) + XTENSA_STACK_ALIGNMENT - 1) & \ 224 #define abi_ret(frame_size) __abi_ret (frame_size) 226 .macro __abi_ret frame_size 227 .ifgt \frame_size [all …]
|
/arch/s390/kernel/ |
D | dumpstack.c | 66 unsigned long frame_size, top; in in_irq_stack() local 68 frame_size = STACK_FRAME_OVERHEAD + sizeof(struct pt_regs); in in_irq_stack() 69 top = S390_lowcore.async_stack + frame_size; in in_irq_stack() 75 unsigned long frame_size, top; in in_nodat_stack() local 77 frame_size = STACK_FRAME_OVERHEAD + sizeof(struct pt_regs); in in_nodat_stack() 78 top = S390_lowcore.nodat_stack + frame_size; in in_nodat_stack() 84 unsigned long frame_size, top; in in_mcck_stack() local 86 frame_size = STACK_FRAME_OVERHEAD + sizeof(struct pt_regs); in in_mcck_stack() 87 top = S390_lowcore.mcck_stack + frame_size; in in_mcck_stack() 93 unsigned long frame_size, top; in in_restart_stack() local [all …]
|
D | compat_signal.c | 234 get_sigframe(struct k_sigaction *ka, struct pt_regs * regs, size_t frame_size) in get_sigframe() argument 242 if (on_sig_stack(sp) && !on_sig_stack((sp - frame_size) & -8UL)) in get_sigframe() 251 return (void __user *)((sp - frame_size) & -8ul); in get_sigframe() 260 size_t frame_size; in setup_frame32() local 267 frame_size = sizeof(*frame) - sizeof(frame->sregs_ext.__reserved); in setup_frame32() 269 frame_size -= sizeof(frame->sregs_ext.vxrs_low) + in setup_frame32() 271 frame = get_sigframe(&ksig->ka, regs, frame_size); in setup_frame32() 340 size_t frame_size; in setup_rt_frame32() local 343 frame_size = sizeof(*frame) - in setup_rt_frame32() 354 frame_size -= sizeof(frame->uc.uc_mcontext_ext.vxrs_low) + in setup_rt_frame32() [all …]
|
D | signal.c | 269 get_sigframe(struct k_sigaction *ka, struct pt_regs * regs, size_t frame_size) in get_sigframe() argument 277 if (on_sig_stack(sp) && !on_sig_stack((sp - frame_size) & -8UL)) in get_sigframe() 286 return (void __user *)((sp - frame_size) & -8ul); in get_sigframe() 295 size_t frame_size; in setup_frame() local 303 frame_size = sizeof(*frame) - sizeof(frame->sregs_ext); in setup_frame() 305 frame_size += sizeof(frame->sregs_ext); in setup_frame() 306 frame = get_sigframe(ka, regs, frame_size); in setup_frame() 371 size_t frame_size; in setup_rt_frame() local 373 frame_size = sizeof(struct rt_sigframe) - sizeof(_sigregs_ext); in setup_rt_frame() 382 frame_size += sizeof(_sigregs_ext); in setup_rt_frame() [all …]
|
/arch/microblaze/kernel/ |
D | unwind.c | 88 s16 frame_size; in find_frame_creation() local 99 frame_size = get_frame_size(instr); in find_frame_creation() 100 if ((frame_size < 8) || (frame_size & 3)) { in find_frame_creation() 102 frame_size, pc); in find_frame_creation() 107 frame_size); in find_frame_creation() 137 long frame_size = get_frame_size(*prologue); in lookup_prev_stack_frame() local 139 *pprev_fp = fp + frame_size; in lookup_prev_stack_frame()
|
D | signal.c | 146 get_sigframe(struct ksignal *ksig, struct pt_regs *regs, size_t frame_size) in get_sigframe() argument 151 return (void __user *)((sp - frame_size) & -8UL); in get_sigframe()
|
/arch/parisc/kernel/ |
D | unwind.c | 213 static int unwind_special(struct unwind_frame_info *info, unsigned long pc, int frame_size) in unwind_special() argument 232 struct pt_regs *regs = (struct pt_regs *)(info->sp - frame_size - PT_SZ_ALGN); in unwind_special() 278 long frame_size = 0; in unwind_frame_regs() local 332 (frame_size < (e->Total_frame_size << 3) || in unwind_frame_regs() 342 frame_size += (insn & 0x3fff) >> 1; in unwind_frame_regs() 345 insn, npc, frame_size); in unwind_frame_regs() 348 frame_size += ((insn >> 4) & 0x3ff) << 3; in unwind_frame_regs() 351 insn, npc, frame_size); in unwind_frame_regs() 367 if (frame_size > e->Total_frame_size << 3) in unwind_frame_regs() 368 frame_size = e->Total_frame_size << 3; in unwind_frame_regs() [all …]
|
D | signal.c | 175 get_sigframe(struct k_sigaction *ka, unsigned long sp, size_t frame_size) in get_sigframe() argument 181 (unsigned long)ka, sp, frame_size); in get_sigframe()
|
/arch/mips/kernel/ |
D | process.c | 184 int frame_size; member 352 static inline int is_sp_move_ins(union mips_instruction *ip, int *frame_size) in is_sp_move_ins() argument 372 *frame_size = -(signed short)(tmp << 2); in is_sp_move_ins() 378 *frame_size = -(signed short)(tmp & 0xf); in is_sp_move_ins() 386 *frame_size = -ip->i_format.simmediate; in is_sp_move_ins() 396 *frame_size = -ip->i_format.simmediate; in is_sp_move_ins() 411 info->frame_size = 0; in get_frame_info() 435 } else if (!info->frame_size) { in get_frame_info() 436 is_sp_move_ins(&insn, &info->frame_size); in get_frame_info() 461 if (info->frame_size && info->pc_offset >= 0) /* nested */ in get_frame_info() [all …]
|
D | signal-common.h | 26 size_t frame_size);
|
D | signal.c | 555 size_t frame_size) in get_sigframe() argument 560 frame_size += extcontext_max_size(); in get_sigframe() 574 return (void __user *)((sp - frame_size) & SIGMASK); in get_sigframe()
|
/arch/x86/kernel/fpu/ |
D | signal.c | 479 unsigned long frame_size = xstate_sigframe_size(); in fpu__alloc_mathframe() local 481 *buf_fx = sp = round_down(sp - frame_size, 64); in fpu__alloc_mathframe() 483 frame_size += sizeof(struct fregs_state); in fpu__alloc_mathframe() 487 *size = frame_size; in fpu__alloc_mathframe()
|
/arch/openrisc/kernel/ |
D | signal.c | 132 struct pt_regs *regs, size_t frame_size) in get_sigframe() argument 139 sp = align_sigframe(sp - frame_size); in get_sigframe()
|
/arch/h8300/kernel/ |
D | signal.c | 153 get_sigframe(struct ksignal *ksig, struct pt_regs *regs, size_t frame_size) in get_sigframe() argument 155 return (void __user *)((sigsp(rdusp(), ksig) - frame_size) & -8UL); in get_sigframe()
|
/arch/hexagon/kernel/ |
D | signal.c | 29 size_t frame_size) in get_sigframe() argument 33 return (void __user *)((sp - frame_size) & ~(sizeof(long long) - 1)); in get_sigframe()
|
/arch/powerpc/kernel/ |
D | signal.c | 150 size_t frame_size, int is_32) in get_sigframe() argument 161 newsp = (oldsp - frame_size) & ~0xFUL; in get_sigframe()
|
D | signal.h | 14 size_t frame_size, int is_32);
|
/arch/nios2/kernel/ |
D | signal.c | 168 size_t frame_size) in get_sigframe() argument 179 return (void __user *)((usp - frame_size) & -8UL); in get_sigframe()
|
/arch/x86/ia32/ |
D | ia32_signal.c | 204 size_t frame_size, in get_sigframe() argument 227 sp -= frame_size; in get_sigframe()
|
/arch/sh/kernel/ |
D | signal_32.c | 254 get_sigframe(struct k_sigaction *ka, unsigned long sp, size_t frame_size) in get_sigframe() argument 261 return (void __user *)((sp - (frame_size+UNWINDGUARD)) & -8ul); in get_sigframe()
|
/arch/alpha/kernel/ |
D | signal.c | 265 get_sigframe(struct ksignal *ksig, unsigned long sp, size_t frame_size) in get_sigframe() argument 267 return (void __user *)((sigsp(sp, ksig) - frame_size) & -32ul); in get_sigframe()
|
/arch/x86/kernel/ |
D | signal.c | 238 get_sigframe(struct k_sigaction *ka, struct pt_regs *regs, size_t frame_size, in get_sigframe() argument 278 sp = align_sigframe(sp - frame_size); in get_sigframe()
|
/arch/x86/crypto/ |
D | sha512-avx-asm.S | 82 frame_size = frame_WK + WK_SIZE define 290 sub $frame_size, %rsp
|
D | sha512-ssse3-asm.S | 80 frame_size = frame_WK + WK_SIZE define 292 sub $frame_size, %rsp
|
/arch/m68k/kernel/ |
D | signal.c | 861 get_sigframe(struct ksignal *ksig, struct pt_regs *tregs, size_t frame_size) in get_sigframe() argument 871 return (void __user *)((usp - gap - frame_size) & -8UL); in get_sigframe()
|