Home
last modified time | relevance | path

Searched refs:zero_bytemask (Results 1 – 13 of 13) sorted by relevance

/linux/include/asm-generic/
H A Dword-at-a-time.h49 #ifndef zero_bytemask
50 #define zero_bytemask(mask) (~1ul << __fls(mask)) macro
113 #define zero_bytemask(mask) (mask) macro
/linux/tools/testing/selftests/powerpc/primitives/
H A Dword-at-a-time.h44 static inline unsigned long zero_bytemask(unsigned long mask) in zero_bytemask() function
97 static inline unsigned long zero_bytemask(unsigned long mask) in zero_bytemask() function
152 #define zero_bytemask(mask) (mask) macro
/linux/arch/powerpc/include/asm/
H A Dword-at-a-time.h44 static inline unsigned long zero_bytemask(unsigned long mask) in zero_bytemask() function
97 static inline unsigned long zero_bytemask(unsigned long mask) in zero_bytemask() function
152 #define zero_bytemask(mask) (mask) macro
/linux/arch/x86/include/asm/
H A Dword-at-a-time.h32 static inline unsigned long zero_bytemask(unsigned long bits) in zero_bytemask() function
50 #define zero_bytemask(mask) (mask) macro
/linux/arch/sh/include/asm/
H A Dword-at-a-time.h48 #define zero_bytemask(mask) (mask) macro
/linux/arch/alpha/include/asm/
H A Dword-at-a-time.h56 #define zero_bytemask(mask) ((2ul << (find_zero(mask) * 8)) - 1) macro
/linux/arch/riscv/include/asm/
H A Dword-at-a-time.h48 #define zero_bytemask(mask) (mask) macro
/linux/arch/arm64/include/asm/
H A Dword-at-a-time.h33 static inline unsigned long zero_bytemask(unsigned long bits) in zero_bytemask() function
/linux/arch/s390/include/asm/
H A Dword-at-a-time.h39 static inline unsigned long zero_bytemask(unsigned long data) in zero_bytemask() function
/linux/arch/arm/include/asm/
H A Dword-at-a-time.h53 #define zero_bytemask(mask) (mask) macro
/linux/lib/
H A Dstrncpy_from_user.c57 mask = zero_bytemask(data); in do_strncpy_from_user()
H A Dstring.c153 *(unsigned long *)(dest+res) = c & zero_bytemask(data); in sized_strscpy()
/linux/fs/
H A Dnamei.c2266 x ^= a & zero_bytemask(mask); in hashlen_string()
2294 a &= zero_bytemask(mask); in hash_name()
2314 a &= zero_bytemask(mask); in hash_name()