Searched refs:stack_frame (Results 1 - 18 of 18) sorted by relevance

/linux-4.4.14/arch/powerpc/oprofile/
H A Dbacktrace.c30 unsigned int stack_frame[2]; user_getsp32() local
33 if (!access_ok(VERIFY_READ, p, sizeof(stack_frame))) user_getsp32()
41 if (__copy_from_user_inatomic(stack_frame, p, sizeof(stack_frame))) user_getsp32()
45 oprofile_add_trace(STACK_LR32(stack_frame)); user_getsp32()
51 return STACK_SP(stack_frame); user_getsp32()
57 unsigned long stack_frame[3]; user_getsp64() local
59 if (!access_ok(VERIFY_READ, (void __user *)sp, sizeof(stack_frame))) user_getsp64()
62 if (__copy_from_user_inatomic(stack_frame, (void __user *)sp, user_getsp64()
63 sizeof(stack_frame))) user_getsp64()
67 oprofile_add_trace(STACK_LR64(stack_frame)); user_getsp64()
69 return STACK_SP(stack_frame); user_getsp64()
75 unsigned long *stack_frame = (unsigned long *)sp; kernel_getsp() local
81 oprofile_add_trace(STACK_LR(stack_frame)); kernel_getsp()
89 return STACK_SP(stack_frame); kernel_getsp()
/linux-4.4.14/arch/s390/oprofile/
H A Dbacktrace.c9 #include <asm/processor.h> /* for struct stack_frame */
15 struct stack_frame *sf; __show_trace()
22 sf = (struct stack_frame *) sp; __show_trace()
34 sf = (struct stack_frame *) sp; __show_trace()
59 struct stack_frame* head_sf; s390_backtrace()
65 head_sf = (struct stack_frame*)head; s390_backtrace()
/linux-4.4.14/arch/um/include/asm/
H A Dstacktrace.h7 struct stack_frame { struct
8 struct stack_frame *next_frame;
/linux-4.4.14/arch/x86/include/asm/
H A Dstacktrace.h60 stack_frame(struct task_struct *task, struct pt_regs *regs) stack_frame() function
78 stack_frame(struct task_struct *task, struct pt_regs *regs) stack_frame() function
95 struct stack_frame { struct
96 struct stack_frame *next_frame;
107 struct stack_frame *frame; caller_frame_pointer()
/linux-4.4.14/arch/x86/oprofile/
H A Dbacktrace.c89 static struct stack_frame *dump_user_backtrace(struct stack_frame *head) dump_user_backtrace()
92 struct stack_frame bufhead[2]; dump_user_backtrace()
112 struct stack_frame *head = (struct stack_frame *)frame_pointer(regs); x86_backtrace()
/linux-4.4.14/arch/s390/kernel/
H A Dstacktrace.c19 struct stack_frame *sf; save_context_stack()
27 sf = (struct stack_frame *)sp; save_context_stack()
42 sf = (struct stack_frame *)sp; save_context_stack()
H A Dprocess.c53 struct stack_frame *sf, *low, *high; thread_saved_pc()
58 high = (struct stack_frame *) task_pt_regs(tsk); thread_saved_pc()
59 sf = (struct stack_frame *) (tsk->thread.ksp & PSW_ADDR_INSN); thread_saved_pc()
62 sf = (struct stack_frame *) (sf->back_chain & PSW_ADDR_INSN); thread_saved_pc()
126 struct stack_frame sf; copy_thread()
215 struct stack_frame *sf, *low, *high; get_wchan()
222 high = (struct stack_frame *) task_pt_regs(p); get_wchan()
223 sf = (struct stack_frame *) (p->thread.ksp & PSW_ADDR_INSN); get_wchan()
227 sf = (struct stack_frame *) (sf->back_chain & PSW_ADDR_INSN); get_wchan()
H A Dperf_event.c51 struct stack_frame *stack = (struct stack_frame *) regs->gprs[15]; sie_block()
230 struct stack_frame *sf; __store_trace()
237 sf = (struct stack_frame *) sp; __store_trace()
247 sf = (struct stack_frame *) sp; __store_trace()
266 struct stack_frame *head_sf; perf_callchain_kernel()
272 head_sf = (struct stack_frame *) head; perf_callchain_kernel()
H A Ddumpstack.c32 struct stack_frame *sf; __show_trace()
40 sf = (struct stack_frame *) sp; __show_trace()
51 sf = (struct stack_frame *) sp; __show_trace()
H A Dasm-offsets.c61 /* stack_frame offsets */ main()
62 OFFSET(__SF_BACKCHAIN, stack_frame, back_chain); main()
63 OFFSET(__SF_GPRS, stack_frame, gprs); main()
64 OFFSET(__SF_EMPTY, stack_frame, empty1); main()
H A Dirq.c174 ((struct stack_frame *) new)->back_chain = old; do_softirq_own_stack()
/linux-4.4.14/arch/um/kernel/
H A Dstacktrace.c26 struct stack_frame *frame; dump_trace()
31 frame = (struct stack_frame *)bp; dump_trace()
/linux-4.4.14/arch/x86/kernel/
H A Ddumpstack.c101 struct stack_frame *frame = (struct stack_frame *)bp; print_context_stack()
129 struct stack_frame *frame = (struct stack_frame *)bp; print_context_stack_bp()
194 bp = stack_frame(current, NULL); show_stack()
H A Ddumpstack_32.c61 bp = stack_frame(task, regs); dump_trace()
H A Ddumpstack_64.c176 bp = stack_frame(task, regs); dump_trace()
/linux-4.4.14/arch/s390/include/asm/
H A Dprocessor.h129 struct stack_frame { struct
136 struct stack_frame { struct
/linux-4.4.14/arch/sparc/kernel/
H A Dprocess_64.c628 /* Calculate offset to stack_frame & pt_regs */ copy_thread()
/linux-4.4.14/arch/x86/kernel/cpu/
H A Dperf_event.c2294 struct stack_frame frame; perf_callchain_user()

Completed in 362 milliseconds