Searched refs:bitIndex (Results 1 – 2 of 2) sorted by relevance
74 for( int bitIndex = 0 ; bitIndex < BIT_PER_BYTE ; bitIndex++, mask<<=1 ) in Alloc() local81 const int totalIndex = byteIndex * BIT_PER_BYTE + bitIndex; in Alloc()97 const unsigned long bitIndex = ( totalIndex % BIT_PER_BYTE ); in Free() local99 const int mask = ( 1 << bitIndex ); in Free()
493 u32 bitIndex = index % 32; in GetBit() local494 return ((bits[wordIndex] << bitIndex) & (1u << 31)) != 0; in GetBit()