Searched refs:BIT_MASK (Results 1 - 4 of 4) sorted by relevance

/freebsd-current/sys/compat/linuxkpi/common/include/linux/
H A Dbitops.h51 #define BIT_MASK(nr) (1UL << ((nr) & (BITS_PER_LONG - 1))) macro
274 atomic_set_long(&((volatile unsigned long *)(a))[BIT_WORD(i)], BIT_MASK(i))
277 atomic_set_long(&((volatile unsigned long *)(a))[BIT_WORD(i)], BIT_MASK(i))
280 atomic_clear_long(&((volatile unsigned long *)(a))[BIT_WORD(i)], BIT_MASK(i))
283 atomic_clear_long(&((volatile unsigned long *)(a))[BIT_WORD(i)], BIT_MASK(i))
286 atomic_clear_rel_long(&((volatile unsigned long *)(a))[BIT_WORD(i)], BIT_MASK(i))
289 !!(READ_ONCE(((volatile const unsigned long *)(a))[BIT_WORD(i)]) & BIT_MASK(i))
/freebsd-current/sys/dev/mana/
H A Dgdma_util.h77 #define BIT_MASK(nr) (1UL << ((nr) & (BITS_PER_LONG - 1))) macro
93 ((((volatile const unsigned long *)(a))[BIT_WORD(i)]) & BIT_MASK(i))
/freebsd-current/usr.bin/gzip/
H A Dzuncompress.c50 #define BIT_MASK 0x1f /* Defines for third byte of header. */ macro
248 zs->zs_maxbits &= BIT_MASK;
/freebsd-current/usr.bin/compress/
H A Dzopen.c83 #define BIT_MASK 0x1f /* Defines for third byte of header. */ macro
484 maxbits &= BIT_MASK;

Completed in 74 milliseconds