Searched refs:bitIndex (Results 1 – 2 of 2) sorted by relevance
72 for( int bitIndex = 0 ; bitIndex < BIT_PER_BYTE ; bitIndex++, mask<<=1 ) in Alloc() local79 const int totalIndex = byteIndex * BIT_PER_BYTE + bitIndex; in Alloc()95 const unsigned long bitIndex = ( totalIndex % BIT_PER_BYTE ); in Free() local97 const int mask = ( 1 << bitIndex ); in Free()
491 u32 bitIndex = index % 32; in GetBit() local492 return ((bits[wordIndex] << bitIndex) & (1u << 31)) != 0; in GetBit()