Searched refs:BITS_PER_MAP (Results 1 – 2 of 2) sorted by relevance
149 #define BITS_PER_MAP 32 macro152 #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)))
1063 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)