Searched refs:BITS_IN (Results 1 – 2 of 2) sorted by relevance
227 if (bit0 == 0 && bitN == BITS_IN(v)) in bitmask_range()246 if ((bit0 % BITS_IN(*addr)) != 0) { in popcount_bytes()247 bound = MIN(bitN, roundup2(bit0, BITS_IN(*addr))); in popcount_bytes()254 bound = MIN(res, BITS_IN(*addr)); in popcount_bytes()354 MIN(res * NBBY, BITS_IN(*addr))); in _kvm_pt_init()470 uint64_t pte_u64 = pte_bit_id / BITS_IN(*bitmap); in _kvm_pt_find()472 uint64_t pte_mask = 1ULL << (pte_bit_id % BITS_IN(*bitmap)); in _kvm_pt_find()497 uint64_t pte_u64_bit_off = pte_u64 * BITS_IN(*bitmap); in _kvm_pt_find()501 kd->pt_map_size * BITS_IN(uint8_t)); in _kvm_pt_find()
127 #define BITS_IN(v) (sizeof(v) * NBBY) macro128 #define POPCOUNTS_IN(v) (POPCOUNT_BITS / BITS_IN(v))