Home
last modified time | relevance | path

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

/tools/testing/selftests/kvm/lib/
Dsparsebit.c166 #define MASK_BITS (sizeof(mask_t) * CHAR_BIT) macro
318 idx <= nodep->idx + MASK_BITS + nodep->num_after - 1) in node_find()
344 nodep->idx = idx & -MASK_BITS; in node_add()
366 assert(idx > parentp->idx + MASK_BITS + parentp->num_after - 1); in node_add()
382 while (prev && prev->idx + MASK_BITS + prev->num_after - 1 >= nodep->idx) { in node_add()
383 unsigned int n1 = (prev->idx + MASK_BITS + prev->num_after - 1) in node_add()
386 assert(n1 < MASK_BITS); in node_add()
504 assert(!(idx % MASK_BITS)); in node_split()
530 offset = idx - (nodep1->idx + MASK_BITS); in node_split()
542 if (nodep2->num_after >= MASK_BITS) { in node_split()
[all …]