Home
last modified time | relevance | path

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

/arch/powerpc/oprofile/
Dbacktrace.c28 unsigned int stack_frame[2]; in user_getsp32() local
31 if (!access_ok(p, sizeof(stack_frame))) in user_getsp32()
39 if (__copy_from_user_inatomic(stack_frame, p, sizeof(stack_frame))) in user_getsp32()
43 oprofile_add_trace(STACK_LR32(stack_frame)); in user_getsp32()
49 return STACK_SP(stack_frame); in user_getsp32()
55 unsigned long stack_frame[3]; in user_getsp64() local
57 if (!access_ok((void __user *)sp, sizeof(stack_frame))) in user_getsp64()
60 if (__copy_from_user_inatomic(stack_frame, (void __user *)sp, in user_getsp64()
61 sizeof(stack_frame))) in user_getsp64()
65 oprofile_add_trace(STACK_LR64(stack_frame)); in user_getsp64()
[all …]
/arch/s390/kernel/
Dunwind_bc.c23 (sp > state->stack_info.end - sizeof(struct stack_frame)); in outside_of_stack()
33 !on_stack(info, sp, sizeof(struct stack_frame))) in update_stack_info()
42 struct stack_frame *sf; in unwind_next_frame()
59 sf = (struct stack_frame *) sp; in unwind_next_frame()
69 sf = (struct stack_frame *) state->sp; in unwind_next_frame()
77 sf = (struct stack_frame *) sp; in unwind_next_frame()
121 struct stack_frame *sf; in __unwind_start()
136 !on_stack(info, sp, sizeof(struct stack_frame))) { in __unwind_start()
149 sf = (struct stack_frame *) sp; in __unwind_start()
Dprocess.c99 struct stack_frame sf; in copy_thread_tls()
192 struct stack_frame *sf, *low, *high; in get_wchan()
203 high = (struct stack_frame *) task_pt_regs(p); in get_wchan()
204 sf = (struct stack_frame *) p->thread.ksp; in get_wchan()
210 sf = (struct stack_frame *)READ_ONCE_NOCHECK(sf->back_chain); in get_wchan()
Dasm-offsets.c54 OFFSET(__SF_BACKCHAIN, stack_frame, back_chain); in main()
55 OFFSET(__SF_GPRS, stack_frame, gprs); in main()
56 OFFSET(__SF_EMPTY, stack_frame, empty1); in main()
57 OFFSET(__SF_SIE_CONTROL, stack_frame, empty1[0]); in main()
58 OFFSET(__SF_SIE_SAVEAREA, stack_frame, empty1[1]); in main()
59 OFFSET(__SF_SIE_REASON, stack_frame, empty1[2]); in main()
60 OFFSET(__SF_SIE_FLAGS, stack_frame, empty1[3]); in main()
Dperf_event.c49 struct stack_frame *stack = (struct stack_frame *) regs->gprs[15]; in sie_block()
/arch/x86/oprofile/
Dbacktrace.c70 static struct stack_frame *dump_user_backtrace(struct stack_frame *head) in dump_user_backtrace()
73 struct stack_frame bufhead[2]; in dump_user_backtrace()
93 struct stack_frame *head = (struct stack_frame *)frame_pointer(regs); in x86_backtrace()
/arch/um/include/asm/
Dstacktrace.h8 struct stack_frame { struct
9 struct stack_frame *next_frame; argument
/arch/s390/include/asm/
Dstacktrace.h50 struct stack_frame { struct
57 struct stack_frame { argument
113 [_bc] "i" (offsetof(struct stack_frame, back_chain)), \
209 [_bc] "i" (offsetof(struct stack_frame, back_chain)), \
221 ::[_bc] "i" (offsetof(struct stack_frame, back_chain)), \
/arch/um/kernel/
Dstacktrace.c23 struct stack_frame *frame; in dump_trace()
28 frame = (struct stack_frame *)bp; in dump_trace()
/arch/x86/include/asm/
Dstacktrace.h93 struct stack_frame { struct
94 struct stack_frame *next_frame; argument
/arch/x86/events/
Dcore.c2480 struct stack_frame frame; in perf_callchain_user()