MiResidentPagesForSpan
UINT64 __stdcall MiResidentPagesForSpan(PVOID StartingAddress, PVOID EndingAddress){
int v2;
UINT64 v3;
PVOID v4;
PVOID v5;
__int64 v6;
__int64 v7;
PVOID v8;
v3 = 0i64;
v4 = StartingAddress;
if( v2 >= 0 )
{
do
{
MiGetPteAddress(v4);
MiGetPteAddress(v5);
}
while( v6 != 1 );
}
if( v2 < 3 )
{
v7 = (unsigned int)(3 - v2);
do
{
MiGetPteAddress(v4);
MiGetPteAddress(v8);
--v7;
}
while( v7 );
}
return v3;
}Referenced by:
MiComputeAweCharges
MiDeletePartialVad
MiInsertVadCharges
MiRemoveVadCharges