Home
last modified time | relevance | path

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

/linux-6.6.21/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-6.6.21/include/linux/
Dcompat.h952 #define BITS_PER_COMPAT_LONG (8*sizeof(compat_long_t)) macro
954 #define BITS_TO_COMPAT_LONGS(bits) DIV_ROUND_UP(bits, BITS_PER_COMPAT_LONG)