Lines Matching refs:from
14 * copy_from_user_nmi - NMI safe copy from user
16 * @from: Pointer to a user space address of the current task
22 * from NMI context. Despite the name it is not restricted to be called
23 * from NMI context. It is safe to be called from any other context as
28 * atomic faults from the NMI path; the nested NMI paths are careful to
32 copy_from_user_nmi(void *to, const void __user *from, unsigned long n)
36 if (!__access_ok(from, n))
43 * Even though this function is typically called from NMI/IRQ context
45 * called from other contexts.
48 instrument_copy_from_user_before(to, from, n);
49 ret = raw_copy_from_user(to, from, n);
50 instrument_copy_from_user_after(to, from, n, ret);