Home
last modified time | relevance | path

Searched refs:aligned_byte_mask (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/lib/
H A Dusercopy.c78 val &= ~aligned_byte_mask(align); in check_zeroed_user()
91 val &= aligned_byte_mask(size); in check_zeroed_user()
H A Dstrnlen_user.c38 c |= aligned_byte_mask(align); in do_strnlen_user()
/openbmc/linux/include/linux/
H A Dbitops.h13 # define aligned_byte_mask(n) ((1UL << 8*(n))-1) macro
15 # define aligned_byte_mask(n) (~0xffUL << (BITS_PER_LONG - 8 - 8*(n))) macro