Lines Matching refs:compat
664 unsigned int maxlen, void __user *p, int compat) in bits_to_user() argument
668 if (compat) { in bits_to_user()
692 unsigned int maxlen, const void __user *p, int compat) in bits_from_user() argument
696 if (compat) { in bits_from_user()
731 unsigned int maxlen, void __user *p, int compat) in bits_to_user() argument
733 int len = compat ? in bits_to_user()
744 unsigned int maxlen, const void __user *p, int compat) in bits_from_user() argument
746 size_t chunk_size = compat ? sizeof(compat_long_t) : sizeof(long); in bits_from_user()
752 len = compat ? BITS_TO_LONGS_COMPAT(maxbit) : BITS_TO_LONGS(maxbit); in bits_from_user()
765 unsigned int maxlen, void __user *p, int compat) in bits_to_user() argument
776 unsigned int maxlen, const void __user *p, int compat) in bits_from_user() argument
918 int compat) in evdev_handle_get_val() argument
940 ret = bits_to_user(mem, maxbit, maxlen, p, compat); in evdev_handle_get_val()
989 int compat) in evdev_set_mask() argument
1004 error = bits_from_user(mask, cnt - 1, codes_size, codes, compat); in evdev_set_mask()
1025 int compat) in evdev_get_mask() argument
1041 xfer_size, codes, compat); in evdev_get_mask()