Searched refs:BIT_PER_BYTE (Results 1 – 2 of 2) sorted by relevance
66 const int availableByte = ut::RoundUp( m_BlockCount, BIT_PER_BYTE ) / BIT_PER_BYTE; in Alloc()74 for( int bitIndex = 0 ; bitIndex < BIT_PER_BYTE ; bitIndex++, mask<<=1 ) in Alloc()81 const int totalIndex = byteIndex * BIT_PER_BYTE + bitIndex; in Alloc()96 const unsigned long byteIndex = ( totalIndex / BIT_PER_BYTE ); in Free()97 const unsigned long bitIndex = ( totalIndex % BIT_PER_BYTE ); in Free()
39 static const int BIT_PER_BYTE = 8; variable47 u8 m_AllocFlags[ BLOCK_MAX / BIT_PER_BYTE ];