MiGetVadCacheAttribute

NTSTATUS __stdcall MiGetVadCacheAttribute(INT64 a1){
  NTSTATUS result; 
  unsigned int v2; 

  result = 1;
  v2 = (*(_DWORD *)(a1 + 48) >> 7) & 0x1F;
  if( v2 >> 3 == 3 )
  {
    if( (v2 & 7) != 0 )
      return 2;
  }
  else if( v2 >> 3 == 1 )
  {
    return 0;
  }
  return result;
}

Referenced by:

MiProcessVaContiguityInformation
MiProtectAweRegion
MiReferenceIncomingPhysicalPages