MiUseSlabAllocatorForDriverPage

__int64 __fastcall MiUseSlabAllocatorForDriverPage(__int64 a1, int a2, _DWORD *a3){
  if( (MiFlags & 0x10000) != 0 && (*(_BYTE *)(a1 + 4) & 8) != 0 && (a2 & 2) != 0 )
  {
    *a3 = 0;
    return 1i64;
  }
  if( (*(_DWORD *)(a1 + 4) & 0x10) != 0 && a2 )
  {
    *a3 = 1;
    return 1i64;
  }
  return 0i64;
}

Referenced by:

MiAllocateDriverPage
MiMakeDriverPagesPrivate