Lines Matching refs:from
144 * This macro copies a single simple value from kernel space to user
157 * get_user: - Get a simple variable from user space.
164 * This macro copies a single simple variable from user space to kernel
185 * This macro copies a single simple value from kernel space to user
201 * __get_user: - Get a simple variable from user space, with less checking.
208 * This macro copies a single simple variable from user space to kernel
236 * to read data from kernel when operating in EVA mode. We use these macros to
372 * to read data from kernel when operating in EVA mode. We use these macros to
519 #define __invoke_copy_from(func, to, from, n) \
526 __cu_from_r = (from); \
542 #define __invoke_copy_to(func, to, from, n) \
549 __cu_from_r = (from); \
560 #define __invoke_copy_from_kernel(to, from, n) \
561 __invoke_copy_from(__copy_user, to, from, n)
563 #define __invoke_copy_to_kernel(to, from, n) \
564 __invoke_copy_to(__copy_user, to, from, n)
566 #define ___invoke_copy_in_kernel(to, from, n) \
567 __invoke_copy_from(__copy_user, to, from, n)
570 #define __invoke_copy_from_user(to, from, n) \
571 __invoke_copy_from(__copy_user, to, from, n)
573 #define __invoke_copy_to_user(to, from, n) \
574 __invoke_copy_to(__copy_user, to, from, n)
576 #define ___invoke_copy_in_user(to, from, n) \
577 __invoke_copy_from(__copy_user, to, from, n)
593 #define __invoke_copy_from_user(to, from, n) \
594 __invoke_copy_from(__copy_from_user_eva, to, from, n)
596 #define __invoke_copy_to_user(to, from, n) \
597 __invoke_copy_to(__copy_to_user_eva, to, from, n)
599 #define ___invoke_copy_in_user(to, from, n) \
600 __invoke_copy_from(__copy_in_user_eva, to, from, n)
605 raw_copy_to_user(void __user *to, const void *from, unsigned long n)
608 return __invoke_copy_to_kernel(to, from, n);
610 return __invoke_copy_to_user(to, from, n);
614 raw_copy_from_user(void *to, const void __user *from, unsigned long n)
617 return __invoke_copy_from_kernel(to, from, n);
619 return __invoke_copy_from_user(to, from, n);
626 raw_copy_in_user(void __user*to, const void __user *from, unsigned long n)
629 return ___invoke_copy_in_kernel(to, from, n);
631 return ___invoke_copy_in_user(to, from, n);
699 * strncpy_from_user: - Copy a NUL terminated string from userspace.
705 * Copies a NUL-terminated string from userspace to kernel space.