• Home
  • Raw
  • Download

Lines Matching refs:maxlen

664 			unsigned int maxlen, void __user *p, int compat)  in bits_to_user()  argument
670 if (len > maxlen) in bits_to_user()
671 len = maxlen; in bits_to_user()
681 if (len > maxlen) in bits_to_user()
682 len = maxlen; in bits_to_user()
692 unsigned int maxlen, const void __user *p, int compat) in bits_from_user() argument
697 if (maxlen % sizeof(compat_long_t)) in bits_from_user()
701 if (len > maxlen) in bits_from_user()
702 len = maxlen; in bits_from_user()
714 if (maxlen % sizeof(long)) in bits_from_user()
718 if (len > maxlen) in bits_from_user()
719 len = maxlen; in bits_from_user()
731 unsigned int maxlen, void __user *p, int compat) in bits_to_user() argument
737 if (len > maxlen) in bits_to_user()
738 len = maxlen; in bits_to_user()
744 unsigned int maxlen, const void __user *p, int compat) in bits_from_user() argument
749 if (maxlen % chunk_size) in bits_from_user()
754 if (len > maxlen) in bits_from_user()
755 len = maxlen; in bits_from_user()
765 unsigned int maxlen, void __user *p, int compat) in bits_to_user() argument
769 if (len > maxlen) in bits_to_user()
770 len = maxlen; in bits_to_user()
776 unsigned int maxlen, const void __user *p, int compat) in bits_from_user() argument
780 if (maxlen % sizeof(long)) in bits_from_user()
784 if (len > maxlen) in bits_from_user()
785 len = maxlen; in bits_from_user()
792 static int str_to_user(const char *str, unsigned int maxlen, void __user *p) in str_to_user() argument
800 if (len > maxlen) in str_to_user()
801 len = maxlen; in str_to_user()
917 unsigned int maxlen, void __user *p, in evdev_handle_get_val() argument
940 ret = bits_to_user(mem, maxbit, maxlen, p, compat); in evdev_handle_get_val()