Searched refs:BIT_PER_BYTE (Results 1 – 2 of 2) sorted by relevance
55 const int availableByte = ut::RoundUp( m_BlockCount, BIT_PER_BYTE ) / BIT_PER_BYTE; in Alloc()63 for( int bitIndex = 0 ; bitIndex < BIT_PER_BYTE ; bitIndex++, mask<<=1 ) in Alloc()70 const int totalIndex = byteIndex * BIT_PER_BYTE + bitIndex; in Alloc()85 const unsigned long byteIndex = ( totalIndex / BIT_PER_BYTE ); in Free()86 const unsigned long bitIndex = ( totalIndex % BIT_PER_BYTE ); in Free()
37 static const int BIT_PER_BYTE = 8; variable45 u8 m_AllocFlags[ BLOCK_MAX / BIT_PER_BYTE ];