Home
last modified time | relevance | path

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

/Linux-v5.4/arch/arm64/kernel/
Dperf_callchain.c26 struct frame_tail buftail; in user_backtrace() local
31 if (!access_ok(tail, sizeof(buftail))) in user_backtrace()
35 err = __copy_from_user_inatomic(&buftail, tail, sizeof(buftail)); in user_backtrace()
41 lr = ptrauth_strip_insn_pac(buftail.lr); in user_backtrace()
49 if (tail >= buftail.fp) in user_backtrace()
52 return buftail.fp; in user_backtrace()
74 struct compat_frame_tail buftail; in compat_user_backtrace() local
78 if (!access_ok(tail, sizeof(buftail))) in compat_user_backtrace()
82 err = __copy_from_user_inatomic(&buftail, tail, sizeof(buftail)); in compat_user_backtrace()
88 perf_callchain_store(entry, buftail.lr); in compat_user_backtrace()
[all …]
/Linux-v5.4/arch/arm/oprofile/
Dcommon.c88 struct frame_tail buftail[2]; in user_backtrace() local
91 if (!access_ok(tail, sizeof(buftail))) in user_backtrace()
93 if (__copy_from_user_inatomic(buftail, tail, sizeof(buftail))) in user_backtrace()
96 oprofile_add_trace(buftail[0].lr); in user_backtrace()
100 if (tail + 1 >= buftail[0].fp) in user_backtrace()
103 return buftail[0].fp-1; in user_backtrace()
/Linux-v5.4/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-v5.4/arch/riscv/kernel/
Dperf_callchain.c20 struct stackframe buftail; in user_backtrace() local
26 if (!access_ok(user_frame_tail, sizeof(buftail))) in user_backtrace()
28 if (__copy_from_user_inatomic(&buftail, user_frame_tail, in user_backtrace()
29 sizeof(buftail))) in user_backtrace()
35 ra = buftail.ra; in user_backtrace()
37 fp = buftail.fp; in user_backtrace()
/Linux-v5.4/arch/csky/kernel/
Dperf_callchain.c45 struct stackframe buftail; in user_backtrace() local
50 if (!access_ok(user_frame_tail, sizeof(buftail))) in user_backtrace()
52 if (__copy_from_user_inatomic(&buftail, user_frame_tail, in user_backtrace()
53 sizeof(buftail))) in user_backtrace()
59 lr = buftail.lr; in user_backtrace()
61 fp = buftail.fp; in user_backtrace()
/Linux-v5.4/arch/nds32/kernel/
Dperf_event_cpu.c1303 struct frame_tail buftail; in user_backtrace() local
1306 (unsigned long *)(fp - (unsigned long)sizeof(buftail)); in user_backtrace()
1309 if (!access_ok(user_frame_tail, sizeof(buftail))) in user_backtrace()
1312 (&buftail, user_frame_tail, sizeof(buftail))) in user_backtrace()
1318 lp = buftail.stack_lp; /* ((unsigned long *)fp)[-1] */ in user_backtrace()
1319 fp = buftail.stack_fp; /* ((unsigned long *)fp)[FP_OFFSET] */ in user_backtrace()
1328 struct frame_tail_opt_size buftail; in user_backtrace_opt_size() local
1332 (unsigned long *)(fp - (unsigned long)sizeof(buftail)); in user_backtrace_opt_size()
1335 if (!access_ok(user_frame_tail, sizeof(buftail))) in user_backtrace_opt_size()
1338 (&buftail, user_frame_tail, sizeof(buftail))) in user_backtrace_opt_size()
[all …]
/Linux-v5.4/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()