Home
last modified time | relevance | path

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

/freebsd/lib/libc/db/hash/
H A Dhash.h146 #define BITS_PER_MAP 32 macro
149 #define CLRBIT(A, N) ((A)[(N)/BITS_PER_MAP] &= ~(1<<((N)%BITS_PER_MAP)))
150 #define SETBIT(A, N) ((A)[(N)/BITS_PER_MAP] |= (1<<((N)%BITS_PER_MAP)))
151 #define ISSET(A, N) ((A)[(N)/BITS_PER_MAP] & (1<<((N)%BITS_PER_MAP)))
H A Dhash_page.c642 for (i = 0; i < BITS_PER_MAP; i++) { in first_free()
680 j = bit / BITS_PER_MAP; in overflow_page()
681 bit = rounddown2(bit, BITS_PER_MAP); in overflow_page()
686 for (; bit <= in_use_bits; j++, bit += BITS_PER_MAP) in overflow_page()