Searched refs:LONG_BITS (Results 1 – 2 of 2) sorted by relevance
36 #define LONG_BITS (sizeof(long) * 8) macro37 #define NLONGS(x) (((x) + LONG_BITS - 1) / LONG_BITS)66 return !!(array[bit / LONG_BITS] & (1ULL << (bit % LONG_BITS))); in long_bit_is_set()72 array[bit / LONG_BITS] |= (1ULL << (bit % LONG_BITS)); in long_set_bit()78 array[bit / LONG_BITS] &= ~(1ULL << (bit % LONG_BITS)); in long_clear_bit()
13 #define LONG_BITS (sizeof(long) * 8) macro14 #define NLONGS(x) (((x) + LONG_BITS - 1) / LONG_BITS)45 return !!(array[bit / LONG_BITS] & (1LL << (bit % LONG_BITS))); in bit_is_set()51 array[bit / LONG_BITS] |= (1LL << (bit % LONG_BITS)); in set_bit()57 array[bit / LONG_BITS] &= ~(1LL << (bit % LONG_BITS)); in clear_bit()