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

/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/
H A Dhash.h149 #define BITS_PER_MAP 32 macro
152 #define CLRBIT(A, N) ((A)[(N)/BITS_PER_MAP] &= ~(1<<((N)%BITS_PER_MAP)))
153 #define SETBIT(A, N) ((A)[(N)/BITS_PER_MAP] |= (1<<((N)%BITS_PER_MAP)))
154 #define ISSET(A, N) ((A)[(N)/BITS_PER_MAP] & (1<<((N)%BITS_PER_MAP)))
H A Dhash_page.c1063 for (mask = 0x1, i = 0; i < BITS_PER_MAP; i++) {
1110 j = bit / BITS_PER_MAP;
1111 bit = bit & ~(BITS_PER_MAP - 1);
1116 for (; bit <= in_use_bits; j++, bit += BITS_PER_MAP)

Completed in 58 milliseconds