Home
last modified time | relevance | path

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

/freebsd-13.1/sys/compat/linuxkpi/common/include/linux/
H A Dbitops.h53 #define BIT_MASK(nr) (1UL << ((nr) & (BITS_PER_LONG - 1))) macro
275 atomic_set_long(&((volatile unsigned long *)(a))[BIT_WORD(i)], BIT_MASK(i))
278 atomic_set_long(&((volatile unsigned long *)(a))[BIT_WORD(i)], BIT_MASK(i))
281 atomic_clear_long(&((volatile unsigned long *)(a))[BIT_WORD(i)], BIT_MASK(i))
284 atomic_clear_long(&((volatile unsigned long *)(a))[BIT_WORD(i)], BIT_MASK(i))
287 atomic_clear_rel_long(&((volatile unsigned long *)(a))[BIT_WORD(i)], BIT_MASK(i))
290 !!(READ_ONCE(((volatile const unsigned long *)(a))[BIT_WORD(i)]) & BIT_MASK(i))
/freebsd-13.1/usr.bin/gzip/
H A Dzuncompress.c51 #define BIT_MASK 0x1f /* Defines for third byte of header. */ macro
249 zs->zs_maxbits &= BIT_MASK; in zread()
/freebsd-13.1/usr.bin/compress/
H A Dzopen.c88 #define BIT_MASK 0x1f /* Defines for third byte of header. */ macro
489 maxbits &= BIT_MASK; in zread()