Home
last modified time | relevance | path

Searched refs:stack_frame (Results 1 – 15 of 15) sorted by relevance

/arch/powerpc/oprofile/
Dbacktrace.c29 unsigned int stack_frame[2]; in user_getsp32() local
32 if (!access_ok(VERIFY_READ, p, sizeof(stack_frame))) in user_getsp32()
40 if (__copy_from_user_inatomic(stack_frame, p, sizeof(stack_frame))) in user_getsp32()
44 oprofile_add_trace(STACK_LR32(stack_frame)); in user_getsp32()
50 return STACK_SP(stack_frame); in user_getsp32()
56 unsigned long stack_frame[3]; in user_getsp64() local
58 if (!access_ok(VERIFY_READ, (void __user *)sp, sizeof(stack_frame))) in user_getsp64()
61 if (__copy_from_user_inatomic(stack_frame, (void __user *)sp, in user_getsp64()
62 sizeof(stack_frame))) in user_getsp64()
66 oprofile_add_trace(STACK_LR64(stack_frame)); in user_getsp64()
[all …]
/arch/s390/oprofile/
Dbacktrace.c15 struct stack_frame *sf; in __show_trace()
22 sf = (struct stack_frame *) sp; in __show_trace()
34 sf = (struct stack_frame *) sp; in __show_trace()
59 struct stack_frame* head_sf; in s390_backtrace()
65 head_sf = (struct stack_frame*)head; in s390_backtrace()
/arch/x86/include/asm/
Dstacktrace.h60 stack_frame(struct task_struct *task, struct pt_regs *regs) in stack_frame() function
78 stack_frame(struct task_struct *task, struct pt_regs *regs) in stack_frame() function
95 struct stack_frame { struct
96 struct stack_frame *next_frame; argument
107 struct stack_frame *frame; in caller_frame_pointer() argument
/arch/x86/oprofile/
Dbacktrace.c89 static struct stack_frame *dump_user_backtrace(struct stack_frame *head) in dump_user_backtrace()
92 struct stack_frame bufhead[2]; in dump_user_backtrace()
112 struct stack_frame *head = (struct stack_frame *)frame_pointer(regs); in x86_backtrace()
/arch/s390/kernel/
Dprocess.c49 struct stack_frame *sf, *low, *high; in thread_saved_pc()
54 high = (struct stack_frame *) task_pt_regs(tsk); in thread_saved_pc()
55 sf = (struct stack_frame *) (tsk->thread.ksp & PSW_ADDR_INSN); in thread_saved_pc()
58 sf = (struct stack_frame *) (sf->back_chain & PSW_ADDR_INSN); in thread_saved_pc()
111 struct stack_frame sf; in copy_thread()
218 struct stack_frame *sf, *low, *high; in get_wchan()
225 high = (struct stack_frame *) task_pt_regs(p); in get_wchan()
226 sf = (struct stack_frame *) (p->thread.ksp & PSW_ADDR_INSN); in get_wchan()
230 sf = (struct stack_frame *) (sf->back_chain & PSW_ADDR_INSN); in get_wchan()
Dperf_event.c71 struct stack_frame *sf; in __store_trace()
78 sf = (struct stack_frame *) sp; in __store_trace()
88 sf = (struct stack_frame *) sp; in __store_trace()
107 struct stack_frame *head_sf; in perf_callchain_kernel()
113 head_sf = (struct stack_frame *) head; in perf_callchain_kernel()
Dstacktrace.c19 struct stack_frame *sf; in save_context_stack()
27 sf = (struct stack_frame *)sp; in save_context_stack()
42 sf = (struct stack_frame *)sp; in save_context_stack()
Ddumpstack.c41 struct stack_frame *sf; in __show_trace()
48 sf = (struct stack_frame *) sp; in __show_trace()
59 sf = (struct stack_frame *) sp; in __show_trace()
Dasm-offsets.c53 DEFINE(__SF_BACKCHAIN, offsetof(struct stack_frame, back_chain)); in main()
54 DEFINE(__SF_GPRS, offsetof(struct stack_frame, gprs)); in main()
55 DEFINE(__SF_EMPTY, offsetof(struct stack_frame, empty1)); in main()
Dirq.c144 ((struct stack_frame *) new)->back_chain = old; in do_softirq()
/arch/x86/kernel/
Ddumpstack.c94 struct stack_frame *frame = (struct stack_frame *)bp; in print_context_stack()
122 struct stack_frame *frame = (struct stack_frame *)bp; in print_context_stack_bp()
188 bp = stack_frame(current, NULL); in show_stack()
Ddumpstack_32.c38 bp = stack_frame(task, regs); in dump_trace()
Ddumpstack_64.c138 bp = stack_frame(task, regs); in dump_trace()
/arch/s390/include/asm/
Dprocessor.h102 struct stack_frame { struct
109 struct stack_frame { argument
/arch/x86/kernel/cpu/
Dperf_event.c1976 struct stack_frame frame; in perf_callchain_user()