Home
last modified time | relevance | path

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

/linux-2.6.39/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 …]
/linux-2.6.39/arch/s390/oprofile/
Dbacktrace.c17 struct stack_frame *sf; in __show_trace()
24 sf = (struct stack_frame *) sp; in __show_trace()
36 sf = (struct stack_frame *) sp; in __show_trace()
61 struct stack_frame* head_sf; in s390_backtrace()
67 head_sf = (struct stack_frame*)head; in s390_backtrace()
/linux-2.6.39/arch/x86/include/asm/
Dstacktrace.h63 stack_frame(struct task_struct *task, struct pt_regs *regs) in stack_frame() function
81 stack_frame(struct task_struct *task, struct pt_regs *regs) in stack_frame() function
98 struct stack_frame { struct
99 struct stack_frame *next_frame; argument
110 struct stack_frame *frame; in caller_frame_pointer() argument
/linux-2.6.39/arch/x86/oprofile/
Dbacktrace.c101 static struct stack_frame *dump_user_backtrace(struct stack_frame *head) in dump_user_backtrace()
103 struct stack_frame bufhead[2]; in dump_user_backtrace()
124 struct stack_frame *head = (struct stack_frame *)frame_pointer(regs); in x86_backtrace()
/linux-2.6.39/arch/s390/kernel/
Dprocess.c62 struct stack_frame *sf, *low, *high; in thread_saved_pc()
67 high = (struct stack_frame *) task_pt_regs(tsk); in thread_saved_pc()
68 sf = (struct stack_frame *) (tsk->thread.ksp & PSW_ADDR_INSN); in thread_saved_pc()
71 sf = (struct stack_frame *) (sf->back_chain & PSW_ADDR_INSN); in thread_saved_pc()
170 struct stack_frame sf; in copy_thread()
316 struct stack_frame *sf, *low, *high; in get_wchan()
323 high = (struct stack_frame *) task_pt_regs(p); in get_wchan()
324 sf = (struct stack_frame *) (p->thread.ksp & PSW_ADDR_INSN); in get_wchan()
328 sf = (struct stack_frame *) (sf->back_chain & PSW_ADDR_INSN); in get_wchan()
Dstacktrace.c21 struct stack_frame *sf; in save_context_stack()
29 sf = (struct stack_frame *)sp; in save_context_stack()
44 sf = (struct stack_frame *)sp; in save_context_stack()
Dasm-offsets.c54 DEFINE(__SF_BACKCHAIN, offsetof(struct stack_frame, back_chain)); in main()
55 DEFINE(__SF_GPRS, offsetof(struct stack_frame, gprs)); in main()
56 DEFINE(__SF_EMPTY, offsetof(struct stack_frame, empty1)); in main()
Dsmp.c104 struct stack_frame *sf; in smp_switch_to_ipl_cpu()
129 sf = (struct stack_frame *) sp; in smp_switch_to_ipl_cpu()
558 struct stack_frame *sf; in __cpu_up()
595 sf = (struct stack_frame *) (cpu_lowcore->kernel_stack in __cpu_up()
597 - sizeof(struct stack_frame)); in __cpu_up()
598 memset(sf, 0, sizeof(struct stack_frame)); in __cpu_up()
Dirq.c110 ((struct stack_frame *) new)->back_chain = old; in do_softirq()
Dtraps.c78 struct stack_frame *sf; in __show_trace()
85 sf = (struct stack_frame *) sp; in __show_trace()
96 sf = (struct stack_frame *) sp; in __show_trace()
/linux-2.6.39/arch/x86/kernel/
Ddumpstack.c91 struct stack_frame *frame = (struct stack_frame *)bp; in print_context_stack()
119 struct stack_frame *frame = (struct stack_frame *)bp; in print_context_stack_bp()
203 bp = stack_frame(current, NULL); in dump_stack()
Ddumpstack_64.c121 struct stack_frame *frame = (struct stack_frame *)bp; in fixup_bp_irq_link()
164 bp = stack_frame(task, regs); in dump_trace()
Ddumpstack_32.c38 bp = stack_frame(task, regs); in dump_trace()
/linux-2.6.39/arch/s390/include/asm/
Dprocessor.h95 struct stack_frame { struct
102 struct stack_frame { argument
/linux-2.6.39/arch/x86/kernel/cpu/
Dperf_event.c1853 struct stack_frame frame; in perf_callchain_user()