Home
last modified time | relevance | path

Searched refs:BITS_PER_COMPAT_LONG (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.15/kernel/
Dcompat.c199 bitmap_size = ALIGN(bitmap_size, BITS_PER_COMPAT_LONG); in compat_get_bitmap()
209 *mask++ = ((unsigned long)l2 << BITS_PER_COMPAT_LONG) | l1; in compat_get_bitmap()
228 bitmap_size = ALIGN(bitmap_size, BITS_PER_COMPAT_LONG); in compat_put_bitmap()
237 unsafe_put_user(m >> BITS_PER_COMPAT_LONG, umask++, Efault); in compat_put_bitmap()
/Linux-v5.15/include/linux/
Dcompat.h949 #define BITS_PER_COMPAT_LONG (8*sizeof(compat_long_t)) macro
951 #define BITS_TO_COMPAT_LONGS(bits) DIV_ROUND_UP(bits, BITS_PER_COMPAT_LONG)