Home
last modified time | relevance | path

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

/freebsd/lib/libkvm/
H A Dkvm_private.c344 pc_bins = 1 + (res * NBBY + POPCOUNT_BITS / 2) / POPCOUNT_BITS; in _kvm_pt_init()
471 uint64_t popcount_id = pte_bit_id / POPCOUNT_BITS; in _kvm_pt_find()
488 if ((pte_bit_id % POPCOUNT_BITS) < (POPCOUNT_BITS / 2)) { in _kvm_pt_find()
491 0, pte_bit_id - popcount_id * POPCOUNT_BITS); in _kvm_pt_find()
500 bitN = MIN(popcount_id * POPCOUNT_BITS, in _kvm_pt_find()
H A Dkvm_private.h126 #define POPCOUNT_BITS 1024 macro
128 #define POPCOUNTS_IN(v) (POPCOUNT_BITS / BITS_IN(v))