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
39 #define bitsperlong (8 * sizeof(unsigned long)) macro45 #define longsperbits(n) howmany(n, bitsperlong)62 return (bmp->maskp[n / bitsperlong] >> (n % bitsperlong)) & 1; in _getbit()72 bmp->maskp[n / bitsperlong] |= 1UL << (n % bitsperlong); in _setbit()74 bmp->maskp[n / bitsperlong] &= in _setbit()75 ~(1UL << (n % bitsperlong)); in _setbit()