Lines Matching defs:compat
26 #include "input-compat.h"
636 unsigned int maxlen, void __user *p, int compat)
640 if (compat) {
664 unsigned int maxlen, const void __user *p, int compat)
668 if (compat) {
703 unsigned int maxlen, void __user *p, int compat)
705 int len = compat ?
716 unsigned int maxlen, const void __user *p, int compat)
718 size_t chunk_size = compat ? sizeof(compat_long_t) : sizeof(long);
724 len = compat ? BITS_TO_LONGS_COMPAT(maxbit) : BITS_TO_LONGS(maxbit);
737 unsigned int maxlen, void __user *p, int compat)
748 unsigned int maxlen, const void __user *p, int compat)
890 int compat)
910 ret = bits_to_user(mem, maxbit, maxlen, p, compat);
959 int compat)
965 /* we allow unknown types and 'codes_size > size' for forward-compat */
974 error = bits_from_user(mask, cnt - 1, codes_size, codes, compat);
995 int compat)
1002 /* we allow unknown types and 'codes_size > size' for forward-compat */
1011 xfer_size, codes, compat);