MiGetPfnPageSizeIndex

NTSTATUS __stdcall MiGetPfnPageSizeIndex(INT64 a1){
  NTSTATUS result; 

  if( (*(_QWORD *)(a1 + 40) & 0x1000000000i64) == 0 )
    return -1;
  result = 3 - (*(_BYTE *)(a1 + 39) & 3);
  if( result == 3 )
    return -1;
  return result;
}

Referenced by:

MiActivePageClaimCandidate
MiAllocateLargeZeroPages
MiAssembleLargePagePfnList
MiFindLargeNodePage
MiFreeLargePages
MiGetFastLargePages
MiGetPagesRemainingInResidentPage
MiGetPfnPageSizeIndexUnsynchronized
MiIdentifyPfn
MiInitializeLargeMdlLeafPfns
MiInsertLargePageInNodeList
MiMirrorRemoveInactivePages
MiTradePage
MiTransferPartitionPageRun
MiTryUnlinkNodeLargePage
MiUpdateLargePageSectionPfns
MiZeroInParallelWorker
MiZeroWithSystemPtes
MiZeroWithUltraSpace