Searched refs:BITS_PER_LONG (Results 1 – 2 of 2) sorted by relevance
12 #define BITS_PER_LONG __WORDSIZE macro32 addr[nr / BITS_PER_LONG] |= 1UL << (nr % BITS_PER_LONG); in set_bit()37 addr[nr / BITS_PER_LONG] &= ~(1UL << (nr % BITS_PER_LONG)); in clear_bit()42 return ((1UL << (nr % BITS_PER_LONG)) & in test_bit()43 (((unsigned long *)addr)[nr / BITS_PER_LONG])) != 0; in test_bit()51 #define BITOP_WORD(nr) ((nr) / BITS_PER_LONG)63 #if BITS_PER_LONG == 64 in __ffs()100 while (size & ~(BITS_PER_LONG-1)) { in find_first_bit()103 result += BITS_PER_LONG; in find_first_bit()104 size -= BITS_PER_LONG; in find_first_bit()[all …]
26 #define BITS_PER_LONG __WORDSIZE macro36 #define BITOP_WORD(nr) ((nr) / BITS_PER_LONG)37 #if BITS_PER_LONG == 64