Home
last modified time | relevance | path

Searched refs:buftail (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/arch/arm/kernel/
Dperf_callchain.c37 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-6.12.1/arch/arm64/kernel/
Dstacktrace.c346 struct frame_tail buftail; in unwind_user_frame() local
351 if (!access_ok(tail, sizeof(buftail))) in unwind_user_frame()
355 err = __copy_from_user_inatomic(&buftail, tail, sizeof(buftail)); in unwind_user_frame()
361 lr = ptrauth_strip_user_insn_pac(buftail.lr); in unwind_user_frame()
370 if (tail >= buftail.fp) in unwind_user_frame()
373 return buftail.fp; in unwind_user_frame()
395 struct compat_frame_tail buftail; in unwind_compat_user_frame() local
399 if (!access_ok(tail, sizeof(buftail))) in unwind_compat_user_frame()
403 err = __copy_from_user_inatomic(&buftail, tail, sizeof(buftail)); in unwind_compat_user_frame()
409 if (!consume_entry(cookie, buftail.lr)) in unwind_compat_user_frame()
[all …]
/linux-6.12.1/arch/csky/kernel/
Dperf_callchain.c50 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-6.12.1/arch/riscv/kernel/
Dstacktrace.c174 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-6.12.1/arch/loongarch/kernel/
Dperf_event.c35 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()
/linux-6.12.1/drivers/usb/gadget/udc/
Dgr_udc.c308 char *buftail = ((char *)req->req.buf + req->evenlen); in gr_finish_request() local
310 memcpy(buftail, ep->tailbuf, req->oddlen); in gr_finish_request()