Searched refs:BIT_PER_BYTE (Results 1 – 2 of 2) sorted by relevance
64 const int availableByte = ut::RoundUp( m_BlockCount, BIT_PER_BYTE ) / BIT_PER_BYTE; in Alloc()72 for( int bitIndex = 0 ; bitIndex < BIT_PER_BYTE ; bitIndex++, mask<<=1 ) in Alloc()79 const int totalIndex = byteIndex * BIT_PER_BYTE + bitIndex; in Alloc()94 const unsigned long byteIndex = ( totalIndex / BIT_PER_BYTE ); in Free()95 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 ];