Searched refs:BITS_PER_SLOT (Results 1 – 2 of 2) sorted by relevance
39 #define BITS_PER_SLOT (sizeof(number_slot_t) * 8) macro50 vec[i / BITS_PER_SLOT] |= (number_slot_t) 1 << (i % BITS_PER_SLOT); in number_setbit()56 return vec[i / BITS_PER_SLOT] & ((number_slot_t) 1 << (i % BITS_PER_SLOT)); in number_isset()80 return set && ((number / BITS_PER_SLOT < set->nslots) in is_number_in_set()88 return set && ((number / BITS_PER_SLOT < set[idx].nslots) in is_number_in_set_array()95 reallocate_number_set(set, number / BITS_PER_SLOT + 1); in add_number_to_set()
12264 (BITS_PER_SLOT, number_setbit, number_isset, reallocate_number_set,