Home
last modified time | relevance | path

Searched refs:user_frame_tail (Results 1 – 4 of 4) sorted by relevance

/linux/arch/loongarch/kernel/
H A Dstacktrace.c88 unsigned long __user *user_frame_tail; in copy_stack_frame() local
90 user_frame_tail = (unsigned long *)(fp - sizeof(struct stack_frame)); in copy_stack_frame()
91 if (!access_ok(user_frame_tail, sizeof(*frame))) in copy_stack_frame()
95 err = (__copy_from_user_inatomic(frame, user_frame_tail, sizeof(*frame))); in copy_stack_frame()
96 if (err || (unsigned long)user_frame_tail >= frame->fp) in copy_stack_frame()
H A Dperf_event.c34 unsigned long __user *user_frame_tail; in user_backtrace() local
37 user_frame_tail = (unsigned long __user *)(fp - sizeof(struct stack_frame)); in user_backtrace()
40 if (!access_ok(user_frame_tail, sizeof(buftail))) in user_backtrace()
44 err = __copy_from_user_inatomic(&buftail, user_frame_tail, sizeof(buftail)); in user_backtrace()
47 if (err || (unsigned long)user_frame_tail >= buftail.fp) in user_backtrace()
/linux/arch/csky/kernel/
H A Dperf_callchain.c52 unsigned long __user *user_frame_tail = (unsigned long __user *)fp; in user_backtrace() local
55 if (!access_ok(user_frame_tail, sizeof(buftail))) in user_backtrace()
57 if (__copy_from_user_inatomic(&buftail, user_frame_tail, in user_backtrace()
/linux/arch/riscv/kernel/
H A Dstacktrace.c178 unsigned long __user *user_frame_tail = in unwind_user_frame() local
182 if (!access_ok(user_frame_tail, sizeof(buftail))) in unwind_user_frame()
184 if (__copy_from_user_inatomic(&buftail, user_frame_tail, in unwind_user_frame()