Lines Matching refs:stack_frame
29 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()
68 return STACK_SP(stack_frame); in user_getsp64()
74 unsigned long *stack_frame = (unsigned long *)sp; in kernel_getsp() local
80 oprofile_add_trace(STACK_LR(stack_frame)); in kernel_getsp()
88 return STACK_SP(stack_frame); in kernel_getsp()