HvpAdjustHiveFreeDisplay
NTSTATUS __stdcall HvpAdjustHiveFreeDisplay(_HHIVE *Hive, UINT64 HiveLength, _HSTORAGE_TYPE Type){
unsigned int v3;
__int64 v5;
__int64 v6;
NTSTATUS result;
v3 = HiveLength;
if( (unsigned int)HiveLength > 0x7FFFE000 )
return -1073741492;
v5 = 0i64;
v6 = 632i64 * Type;
while( 1 )
{
result = HvpAdjustBitmap(Hive, v3, (_FREE_DISPLAY *)((char *)&Hive->Storage[0].FreeDisplay[v5] + v6));
if( result < 0 )
break;
v5 = (unsigned int)(v5 + 1);
if( (unsigned int)v5 >= 0x18 )
return 0;
}
return result;
}Referenced by:
HvFreeHivePartial
HvHiveStartMemoryBacked
HvpAddBin
HvpPerformLogFileRecovery