Lines Matching refs:compat
634 unsigned int maxlen, void __user *p, int compat) in bits_to_user() argument
638 if (compat) { in bits_to_user()
662 unsigned int maxlen, const void __user *p, int compat) in bits_from_user() argument
666 if (compat) { in bits_from_user()
701 unsigned int maxlen, void __user *p, int compat) in bits_to_user() argument
703 int len = compat ? in bits_to_user()
714 unsigned int maxlen, const void __user *p, int compat) in bits_from_user() argument
716 size_t chunk_size = compat ? sizeof(compat_long_t) : sizeof(long); in bits_from_user()
722 len = compat ? BITS_TO_LONGS_COMPAT(maxbit) : BITS_TO_LONGS(maxbit); in bits_from_user()
735 unsigned int maxlen, void __user *p, int compat) in bits_to_user() argument
746 unsigned int maxlen, const void __user *p, int compat) in bits_from_user() argument
888 int compat) in evdev_handle_get_val() argument
908 ret = bits_to_user(mem, maxbit, maxlen, p, compat); in evdev_handle_get_val()
957 int compat) in evdev_set_mask() argument
972 error = bits_from_user(mask, cnt - 1, codes_size, codes, compat); in evdev_set_mask()
993 int compat) in evdev_get_mask() argument
1009 xfer_size, codes, compat); in evdev_get_mask()