/arch/xtensa/include/asm/ |
D | asmmacro.h | 239 #define abi_entry(frame_size) \ argument 241 (((frame_size) + XTENSA_STACK_ALIGNMENT - 1) & \ 245 #define abi_ret(frame_size) retw argument 278 #define abi_entry(frame_size) __abi_entry (frame_size) 280 .macro __abi_entry frame_size 281 .ifgt \frame_size 282 addi sp, sp, -(((\frame_size) + XTENSA_STACK_ALIGNMENT - 1) & \ 289 #define abi_ret(frame_size) __abi_ret (frame_size) 291 .macro __abi_ret frame_size 292 .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 | 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 | 215 static int unwind_special(struct unwind_frame_info *info, unsigned long pc, int frame_size) in unwind_special() argument 233 struct pt_regs *regs = (struct pt_regs *)(info->sp - frame_size - PT_SZ_ALGN); in unwind_special() 279 long frame_size = 0; in unwind_frame_regs() local 331 (frame_size < (e->Total_frame_size << 3) || in unwind_frame_regs() 341 frame_size += (insn & 0x3fff) >> 1; in unwind_frame_regs() 344 insn, npc, frame_size); in unwind_frame_regs() 347 frame_size += ((insn >> 4) & 0x3ff) << 3; in unwind_frame_regs() 350 insn, npc, frame_size); in unwind_frame_regs() 366 if (frame_size > e->Total_frame_size << 3) in unwind_frame_regs() 367 frame_size = e->Total_frame_size << 3; in unwind_frame_regs() [all …]
|
D | signal.c | 161 get_sigframe(struct k_sigaction *ka, unsigned long sp, size_t frame_size) in get_sigframe() argument 167 __func__, (unsigned long)ka, sp, frame_size); in get_sigframe()
|
/arch/riscv/kernel/ |
D | signal.c | 208 size_t frame_size; in get_rt_frame_size() local 211 frame_size = sizeof(*frame); in get_rt_frame_size() 224 frame_size += total_context_size; in get_rt_frame_size() 226 frame_size = round_up(frame_size, 16); in get_rt_frame_size() 227 return frame_size; in get_rt_frame_size() 236 size_t frame_size = get_rt_frame_size(false); in SYSCALL_DEFINE0() local 243 if (!access_ok(frame, frame_size)) in SYSCALL_DEFINE0() 326 size_t frame_size = get_rt_frame_size(false); in setup_rt_frame() local 328 frame = get_sigframe(ksig, regs, frame_size); in setup_rt_frame() 329 if (!access_ok(frame, frame_size)) in setup_rt_frame()
|
/arch/s390/kernel/ |
D | signal.c | 268 get_sigframe(struct k_sigaction *ka, struct pt_regs * regs, size_t frame_size) in get_sigframe() argument 276 if (on_sig_stack(sp) && !on_sig_stack((sp - frame_size) & -8UL)) in get_sigframe() 285 return (void __user *)((sp - frame_size) & -8ul); in get_sigframe() 294 size_t frame_size; in setup_frame() local 302 frame_size = sizeof(*frame) - sizeof(frame->sregs_ext); in setup_frame() 304 frame_size += sizeof(frame->sregs_ext); in setup_frame() 305 frame = get_sigframe(ka, regs, frame_size); in setup_frame() 370 size_t frame_size; in setup_rt_frame() local 372 frame_size = sizeof(struct rt_sigframe) - sizeof(_sigregs_ext); in setup_rt_frame() 381 frame_size += sizeof(_sigregs_ext); in setup_rt_frame() [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 …]
|
/arch/loongarch/kernel/ |
D | unwind_prologue.c | 113 unsigned long frame_size = 0; in unwind_by_prologue() local 145 frame_size = (1 << 12) - ip->reg2i12_format.immediate; in unwind_by_prologue() 156 if (!frame_size) { in unwind_by_prologue() 176 state->sp = state->sp + frame_size; in unwind_by_prologue() 183 state->sp = state->sp + frame_size; in unwind_by_prologue()
|
/arch/mips/kernel/ |
D | process.c | 186 int frame_size; member 354 static inline int is_sp_move_ins(union mips_instruction *ip, int *frame_size) in is_sp_move_ins() argument 374 *frame_size = -(signed short)(tmp << 2); in is_sp_move_ins() 380 *frame_size = -(signed short)(tmp & 0xf); in is_sp_move_ins() 388 *frame_size = -ip->i_format.simmediate; in is_sp_move_ins() 398 *frame_size = -ip->i_format.simmediate; in is_sp_move_ins() 413 info->frame_size = 0; in get_frame_info() 437 } else if (!info->frame_size) { in get_frame_info() 438 is_sp_move_ins(&insn, &info->frame_size); in get_frame_info() 463 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 | 554 size_t frame_size) in get_sigframe() argument 559 frame_size += extcontext_max_size(); in get_sigframe() 568 if (on_sig_stack(sp) && !likely(on_sig_stack(sp - frame_size))) in get_sigframe() 580 return (void __user *)((sp - frame_size) & SIGMASK); in get_sigframe()
|
/arch/x86/kernel/fpu/ |
D | signal.c | 506 unsigned long frame_size = xstate_sigframe_size(current->thread.fpu.fpstate); in fpu__alloc_mathframe() local 508 *buf_fx = sp = round_down(sp - frame_size, 64); in fpu__alloc_mathframe() 510 frame_size += sizeof(struct fregs_state); in fpu__alloc_mathframe() 514 *size = frame_size; in fpu__alloc_mathframe()
|
/arch/x86/include/asm/ |
D | sighandling.h | 19 get_sigframe(struct ksignal *ksig, struct pt_regs *regs, size_t frame_size,
|
/arch/openrisc/kernel/ |
D | signal.c | 137 struct pt_regs *regs, size_t frame_size) in get_sigframe() argument 144 sp = align_sigframe(sp - frame_size); in get_sigframe()
|
/arch/x86/kernel/ |
D | signal.c | 75 get_sigframe(struct ksignal *ksig, struct pt_regs *regs, size_t frame_size, in get_sigframe() argument 115 sp -= frame_size; in get_sigframe()
|
/arch/hexagon/kernel/ |
D | signal.c | 28 size_t frame_size) in get_sigframe() argument 32 return (void __user *)((sp - frame_size) & ~(sizeof(long long) - 1)); in get_sigframe()
|
/arch/powerpc/kernel/ |
D | signal.c | 165 size_t frame_size, int is_32) in get_sigframe() argument 176 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/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 | 266 get_sigframe(struct ksignal *ksig, unsigned long sp, size_t frame_size) in get_sigframe() argument 268 return (void __user *)((sigsp(sp, ksig) - frame_size) & -32ul); in get_sigframe()
|
/arch/x86/crypto/ |
D | sha512-avx-asm.S | 83 frame_size = frame_WK + WK_SIZE define 291 sub $frame_size, %rsp
|
D | sha512-ssse3-asm.S | 81 frame_size = frame_WK + WK_SIZE define 293 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()
|