Lines Matching refs:stack_frame
28 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()
67 return STACK_SP(stack_frame); in user_getsp64()
73 unsigned long *stack_frame = (unsigned long *)sp; in kernel_getsp() local
79 oprofile_add_trace(STACK_LR(stack_frame)); in kernel_getsp()
87 return STACK_SP(stack_frame); in kernel_getsp()