Home
last modified time | relevance | path

Searched refs:BITS_IN (Results 1 – 2 of 2) sorted by relevance

/freebsd-13-stable/lib/libkvm/
HDkvm_private.c228 if (bit0 == 0 && bitN == BITS_IN(v)) in bitmask_range()
247 if ((bit0 % BITS_IN(*addr)) != 0) { in popcount_bytes()
248 bound = MIN(bitN, roundup2(bit0, BITS_IN(*addr))); in popcount_bytes()
255 bound = MIN(res, BITS_IN(*addr)); in popcount_bytes()
355 MIN(res * NBBY, BITS_IN(*addr))); in _kvm_pt_init()
471 uint64_t pte_u64 = pte_bit_id / BITS_IN(*bitmap); in _kvm_pt_find()
473 uint64_t pte_mask = 1ULL << (pte_bit_id % BITS_IN(*bitmap)); in _kvm_pt_find()
498 uint64_t pte_u64_bit_off = pte_u64 * BITS_IN(*bitmap); in _kvm_pt_find()
502 kd->pt_map_size * BITS_IN(uint8_t)); in _kvm_pt_find()
HDkvm_private.h129 #define BITS_IN(v) (sizeof(v) * NBBY) macro
130 #define POPCOUNTS_IN(v) (POPCOUNT_BITS / BITS_IN(v))