Searched refs:buftail (Results 1 – 5 of 5) sorted by relevance
/linux/arch/arm/kernel/ |
H A D | perf_callchain.c | 37 struct frame_tail buftail; in user_backtrace() local 40 if (!access_ok(tail, sizeof(buftail))) in user_backtrace() 44 err = __copy_from_user_inatomic(&buftail, tail, sizeof(buftail)); in user_backtrace() 50 perf_callchain_store(entry, buftail.lr); in user_backtrace() 56 if (tail + 1 >= buftail.fp) in user_backtrace() 59 return buftail.fp - 1; in user_backtrace()
|
/linux/arch/csky/kernel/ |
H A D | perf_callchain.c | 50 struct stackframe buftail; 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() 58 sizeof(buftail))) in user_backtrace() 64 lr = buftail.lr; in user_backtrace() 66 fp = buftail.fp; in user_backtrace()
|
/linux/arch/arm64/kernel/ |
H A D | stacktrace.c | 486 struct frame_tail buftail; in unwind_user_frame() local 491 if (!access_ok(tail, sizeof(buftail))) in unwind_user_frame() 495 err = __copy_from_user_inatomic(&buftail, tail, sizeof(buftail)); in unwind_user_frame() 501 lr = ptrauth_strip_user_insn_pac(buftail.lr); in unwind_user_frame() 510 if (tail >= buftail.fp) in unwind_user_frame() 513 return buftail.fp; in unwind_user_frame() 535 struct compat_frame_tail buftail; in unwind_compat_user_frame() local 539 if (!access_ok(tail, sizeof(buftail))) in unwind_compat_user_frame() 543 err = __copy_from_user_inatomic(&buftail, tail, sizeof(buftail)); in unwind_compat_user_frame() 549 if (!consume_entry(cookie, buftail.lr)) in unwind_compat_user_frame() [all …]
|
/linux/arch/riscv/kernel/ |
H A D | stacktrace.c | 174 struct stackframe buftail; in unwind_user_frame() local 180 if (!access_ok(user_frame_tail, sizeof(buftail))) in unwind_user_frame() 182 if (__copy_from_user_inatomic(&buftail, user_frame_tail, in unwind_user_frame() 183 sizeof(buftail))) in unwind_user_frame() 186 ra = reg_ra ? : buftail.ra; in unwind_user_frame() 188 fp = buftail.fp; in unwind_user_frame()
|
/linux/arch/loongarch/kernel/ |
H A D | perf_event.c | 35 struct stack_frame buftail; in user_backtrace() local 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() 50 perf_callchain_store(entry, buftail.ra); in user_backtrace() 52 return buftail.fp; in user_backtrace()
|