/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/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 | 148 get_sigframe(struct ksignal *ksig, struct pt_regs *regs, size_t frame_size) in get_sigframe() argument 153 return (void __user *)((sp - frame_size) & -8UL); in get_sigframe()
|
/arch/s390/kernel/ |
D | dumpstack.c | 65 unsigned long frame_size, top; in in_irq_stack() local 67 frame_size = STACK_FRAME_OVERHEAD + sizeof(struct pt_regs); in in_irq_stack() 68 top = S390_lowcore.async_stack + frame_size; in in_irq_stack() 74 unsigned long frame_size, top; in in_nodat_stack() local 76 frame_size = STACK_FRAME_OVERHEAD + sizeof(struct pt_regs); in in_nodat_stack() 77 top = S390_lowcore.nodat_stack + frame_size; in in_nodat_stack() 83 unsigned long frame_size, top; in in_restart_stack() local 85 frame_size = STACK_FRAME_OVERHEAD + sizeof(struct pt_regs); in in_restart_stack() 86 top = S390_lowcore.restart_stack + frame_size; in in_restart_stack()
|
D | compat_signal.c | 233 get_sigframe(struct k_sigaction *ka, struct pt_regs * regs, size_t frame_size) in get_sigframe() argument 241 if (on_sig_stack(sp) && !on_sig_stack((sp - frame_size) & -8UL)) in get_sigframe() 250 return (void __user *)((sp - frame_size) & -8ul); in get_sigframe() 259 size_t frame_size; in setup_frame32() local 266 frame_size = sizeof(*frame) - sizeof(frame->sregs_ext.__reserved); in setup_frame32() 268 frame_size -= sizeof(frame->sregs_ext.vxrs_low) + in setup_frame32() 270 frame = get_sigframe(&ksig->ka, regs, frame_size); in setup_frame32() 307 __u16 __user *svc = (void __user *) frame + frame_size - 2; in setup_frame32() 343 size_t frame_size; in setup_rt_frame32() local 346 frame_size = sizeof(*frame) - in setup_rt_frame32() [all …]
|
D | signal.c | 267 get_sigframe(struct k_sigaction *ka, struct pt_regs * regs, size_t frame_size) in get_sigframe() argument 275 if (on_sig_stack(sp) && !on_sig_stack((sp - frame_size) & -8UL)) in get_sigframe() 284 return (void __user *)((sp - frame_size) & -8ul); in get_sigframe() 293 size_t frame_size; in setup_frame() local 301 frame_size = sizeof(*frame) - sizeof(frame->sregs_ext); in setup_frame() 303 frame_size += sizeof(frame->sregs_ext); in setup_frame() 304 frame = get_sigframe(ka, regs, frame_size); in setup_frame() 339 __u16 __user *svc = (void __user *) frame + frame_size - 2; in setup_frame() 374 size_t frame_size; in setup_rt_frame() local 376 frame_size = sizeof(struct rt_sigframe) - sizeof(_sigregs_ext); in setup_rt_frame() [all …]
|
/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 | 176 get_sigframe(struct k_sigaction *ka, unsigned long sp, size_t frame_size) in get_sigframe() argument 182 (unsigned long)ka, sp, frame_size); in get_sigframe()
|
/arch/mips/kernel/ |
D | process.c | 196 int frame_size; member 320 static inline int is_sp_move_ins(union mips_instruction *ip, int *frame_size) in is_sp_move_ins() argument 340 *frame_size = -(signed short)(tmp << 2); in is_sp_move_ins() 346 *frame_size = -(signed short)(tmp & 0xf); in is_sp_move_ins() 354 *frame_size = -ip->i_format.simmediate; in is_sp_move_ins() 364 *frame_size = -ip->i_format.simmediate; in is_sp_move_ins() 381 info->frame_size = 0; in get_frame_info() 401 if (!info->frame_size) { in get_frame_info() 402 is_sp_move_ins(&insn, &info->frame_size); in get_frame_info() 427 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 | 549 size_t frame_size) in get_sigframe() argument 554 frame_size += extcontext_max_size(); in get_sigframe() 568 …return (void __user *)((sp - frame_size) & (ICACHE_REFILLS_WORKAROUND_WAR ? ~(cpu_icache_line_size… in get_sigframe()
|
/arch/x86/kernel/fpu/ |
D | signal.c | 447 unsigned long frame_size = xstate_sigframe_size(); in fpu__alloc_mathframe() local 449 *buf_fx = sp = round_down(sp - frame_size, 64); in fpu__alloc_mathframe() 451 frame_size += sizeof(struct fregs_state); in fpu__alloc_mathframe() 455 *size = frame_size; in fpu__alloc_mathframe()
|
/arch/powerpc/kernel/ |
D | signal.c | 37 size_t frame_size, int is_32) in get_sigframe() argument 44 newsp = (oldsp - frame_size) & ~0xFUL; in get_sigframe()
|
D | signal.h | 16 size_t frame_size, int is_32);
|
/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 | 154 get_sigframe(struct ksignal *ksig, struct pt_regs *regs, size_t frame_size) in get_sigframe() argument 156 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/nios2/kernel/ |
D | signal.c | 166 size_t frame_size) in get_sigframe() argument 177 return (void *)((usp - frame_size) & -8UL); in get_sigframe()
|
/arch/x86/ia32/ |
D | ia32_signal.c | 222 size_t frame_size, in get_sigframe() argument 245 sp -= frame_size; in get_sigframe()
|
/arch/sh/kernel/ |
D | signal_32.c | 255 get_sigframe(struct k_sigaction *ka, unsigned long sp, size_t frame_size) in get_sigframe() argument 262 return (void __user *)((sp - (frame_size+UNWINDGUARD)) & -8ul); in get_sigframe()
|
D | signal_64.c | 363 get_sigframe(struct k_sigaction *ka, unsigned long sp, size_t frame_size) in get_sigframe() argument 368 return (void __user *)((sp - frame_size) & -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 | 240 get_sigframe(struct k_sigaction *ka, struct pt_regs *regs, size_t frame_size, in get_sigframe() argument 280 sp = align_sigframe(sp - frame_size); in get_sigframe()
|
/arch/m68k/kernel/ |
D | signal.c | 886 get_sigframe(struct ksignal *ksig, struct pt_regs *tregs, size_t frame_size) in get_sigframe() argument 896 return (void __user *)((usp - gap - frame_size) & -8UL); in get_sigframe()
|
/arch/x86/crypto/ |
D | sha512-ssse3-asm.S | 84 frame_size = frame_GPRSAVE + GPRSAVE_SIZE define 288 sub $frame_size, %rsp
|