Searched refs:ATOMIC_BITSET_NUM_WORDS (Results 1 – 2 of 2) sorted by relevance
26 memset(set->words, 0, sizeof(uint32_t) * ATOMIC_BITSET_NUM_WORDS(numBits)); in atomicBitsetInit()86 uint32_t idx, numWords = ATOMIC_BITSET_NUM_WORDS(set->numBits); in atomicBitsetFindClearAndSet()119 uint32_t idx, numWords = ATOMIC_BITSET_NUM_WORDS(atomicallyAccessedSet->numBits); in atomicBitsetXchg()132 uint32_t idx, numWords = ATOMIC_BITSET_NUM_WORDS(set->numBits); in atomicBitsetBulkRead()
29 #define ATOMIC_BITSET_NUM_WORDS(numbits) (((numbits) + 31) / 32) macro30 …SET_SZ(numbits) (sizeof(struct AtomicBitset) + sizeof(uint32_t) * ATOMIC_BITSET_NUM_WORDS(numbits))