Lines Matching refs:stack_frame
31 unsigned int stack_frame[2]; in user_getsp32() local
34 if (!access_ok(VERIFY_READ, p, sizeof(stack_frame))) in user_getsp32()
42 if (__copy_from_user_inatomic(stack_frame, p, sizeof(stack_frame))) in user_getsp32()
46 oprofile_add_trace(STACK_LR32(stack_frame)); in user_getsp32()
52 return STACK_SP(stack_frame); in user_getsp32()
58 unsigned long stack_frame[3]; in user_getsp64() local
60 if (!access_ok(VERIFY_READ, (void __user *)sp, sizeof(stack_frame))) in user_getsp64()
63 if (__copy_from_user_inatomic(stack_frame, (void __user *)sp, in user_getsp64()
64 sizeof(stack_frame))) in user_getsp64()
68 oprofile_add_trace(STACK_LR64(stack_frame)); in user_getsp64()
70 return STACK_SP(stack_frame); in user_getsp64()
76 unsigned long *stack_frame = (unsigned long *)sp; in kernel_getsp() local
82 oprofile_add_trace(STACK_LR(stack_frame)); in kernel_getsp()
90 return STACK_SP(stack_frame); in kernel_getsp()