Searched refs:bitsperlong (Results 1 – 3 of 3) sorted by relevance
31 b[n / bitsperlong] |= 1UL << (n % bitsperlong); in set_bit()33 b[n / bitsperlong] &= ~(1UL << (n % bitsperlong)); in set_bit()
28 #define bitsperlong (8 * sizeof(unsigned long)) macro
38 #define bitsperlong (8 * sizeof(unsigned long)) macro44 #define longsperbits(n) howmany(n, bitsperlong)61 return (bmp->maskp[n / bitsperlong] >> (n % bitsperlong)) & 1; in _getbit()71 bmp->maskp[n / bitsperlong] |= 1UL << (n % bitsperlong); in _setbit()73 bmp->maskp[n / bitsperlong] &= in _setbit()74 ~(1UL << (n % bitsperlong)); in _setbit()