MiPfnZeroingNeeded

NTSTATUS __stdcall MiPfnZeroingNeeded(_MMPFN *Pfn1, _MI_PFN_CACHE_ATTRIBUTE FinalCacheAttribute){
  int v2; 
  NTSTATUS result; 

  result = 1;
  if( (*(_DWORD *)(&Pfn1->3 + 1) & 0x3E0i64) == 0 )
  {
    v2 = *((unsigned __int8 *)&Pfn1->u3 + 2) >> 6;
    if( v2 == FinalCacheAttribute
      || ((unsigned __int8)((1 << v2) | (1 << FinalCacheAttribute)) & *(&stru_140C4DB30 + 488)) == 0 )
    {
      return 0;
    }
  }
  return result;
}

Referenced by:

MiAddMdlPageToTradeBlock
MiAllocateMdlPagesByLists
MiChangePageAttributeContiguous
MiCoalesceFreePages
MiConvertContiguousPages
MiGetPage
MiInitializeMdlOneNodeBatchPages
MiMakePageAvoidRead
MiPfPutPagesInTransition
MiTradePage
MiUpdateLargePagePfns
MmCheckCachedPageStates