Home
last modified time | relevance | path

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

/original-bsd/lib/libc/db/hash/
H A Dhash.h115 #define BITS_PER_MAP 32 macro
118 #define CLRBIT(A, N) ((A)[(N)/BITS_PER_MAP] &= ~(1<<((N)%BITS_PER_MAP)))
119 #define SETBIT(A, N) ((A)[(N)/BITS_PER_MAP] |= (1<<((N)%BITS_PER_MAP)))
120 #define ISSET(A, N) ((A)[(N)/BITS_PER_MAP] & (1<<((N)%BITS_PER_MAP)))
H A Dhash_page.c630 for (i = 0; i < BITS_PER_MAP; i++) {
669 j = bit / BITS_PER_MAP;
670 bit = bit & ~(BITS_PER_MAP - 1);
675 for (; bit <= in_use_bits; j++, bit += BITS_PER_MAP)