• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/i386/lib/

Lines Matching refs:from

29  * Copy a null terminated string from userspace.
62 * __strncpy_from_user: - Copy a NUL terminated string from userspace, with less checking.
68 * Copies a NUL-terminated string from userspace to kernel space.
91 * strncpy_from_user: - Copy a NUL terminated string from userspace.
97 * Copies a NUL-terminated string from userspace to kernel space.
229 __copy_user_intel(void __user *to, const void *from, unsigned long size)
330 : "1"(to), "2"(from), "0"(size)
336 __copy_user_zeroing_intel(void *to, const void __user *from, unsigned long size)
425 : "1"(to), "2"(from), "0"(size)
436 const void __user *from, unsigned long size)
527 : "1"(to), "2"(from), "0"(size)
533 const void __user *from, unsigned long size)
618 : "1"(to), "2"(from), "0"(size)
629 unsigned long __copy_user_zeroing_intel(void *to, const void __user *from,
631 unsigned long __copy_user_intel(void __user *to, const void *from,
634 const void __user *from, unsigned long size);
638 #define __copy_user(to,from,size) \
670 : "3"(size), "0"(size), "1"(to), "2"(from) \
674 #define __copy_user_zeroing(to,from,size) \
712 : "3"(size), "0"(size), "1"(to), "2"(from) \
716 unsigned long __copy_to_user_ll(void __user *to, const void *from,
732 * from supervisory mode, and due to preemption or SMP,
763 memcpy(maddr + offset, from, len);
769 from += len;
776 if (movsl_is_ok(to, from, n))
777 __copy_user(to, from, n);
779 n = __copy_user_intel(to, from, n);
784 unsigned long __copy_from_user_ll(void *to, const void __user *from,
787 if (movsl_is_ok(to, from, n))
788 __copy_user_zeroing(to, from, n);
790 n = __copy_user_zeroing_intel(to, from, n);
795 unsigned long __copy_from_user_ll_nozero(void *to, const void __user *from,
798 if (movsl_is_ok(to, from, n))
799 __copy_user(to, from, n);
802 (const void *)from, n);
807 unsigned long __copy_from_user_ll_nocache(void *to, const void __user *from,
812 n = __copy_user_zeroing_intel_nocache(to, from, n);
814 __copy_user_zeroing(to, from, n);
816 __copy_user_zeroing(to, from, n);
821 unsigned long __copy_from_user_ll_nocache_nozero(void *to, const void __user *from,
826 n = __copy_user_intel_nocache(to, from, n);
828 __copy_user(to, from, n);
830 __copy_user(to, from, n);
838 * @from: Source address, in kernel space.
843 * Copy data from kernel space to user space.
849 copy_to_user(void __user *to, const void *from, unsigned long n)
852 n = __copy_to_user(to, from, n);
858 * copy_from_user: - Copy a block of data from user space.
860 * @from: Source address, in user space.
865 * Copy data from user space to kernel space.
874 copy_from_user(void *to, const void __user *from, unsigned long n)
876 if (access_ok(VERIFY_READ, from, n))
877 n = __copy_from_user(to, from, n);