ExAllocatePoolWithTagPriority

VOID *__stdcall ExAllocatePoolWithTagPriority(
        POOL_TYPE PoolType,
        UINT64 NumberOfBytes,
        UINT64 Tag,
        _EX_POOL_PRIORITY Priority){
  char v4; 
  unsigned int v5; 
  UINT64 v8; 
  INT64 arg20; 

  v4 = Priority;
  v5 = Tag;
  if( Priority != HighPoolPriority
    && (PoolType & 2) == 0
    && !MmResourcesAvailable(PoolType, NumberOfBytes, Priority)
    && NumberOfBytes > 0xFE0 )
  {
    return 0i64;
  }
  LODWORD(arg20) = (v4 & 8) != 0;
  v8 = KeGetCurrentPrcb()->ParentNode->Affinity.Reserved[0];
  LODWORD(v8) = v8 | 0x80000000;
  return ExpAllocatePoolWithTagFromNode((unsigned int)PoolType, NumberOfBytes, v5, v8, arg20);
}

Referenced by:

ExAllocatePool3
IoVerifierCheckForSettingsChange
IopAllocateMiniCompletionPacket
IopQueryNameInternal
IopVerifierExAllocatePool
IopVerifierExAllocatePoolWithQuota
IopVerifierExAllocatePoolWithQuota_0
IopVerifierExAllocatePoolWithQuota_1
IopVerifierExAllocatePoolWithQuota_2
IopVerifierExAllocatePoolWithQuota_3
IopVerifierExAllocatePoolWithQuota_4
IopVerifierExAllocatePoolWithQuota_5
IopVerifierExAllocatePool_0
IopVerifierExAllocatePool_1
IopVerifierExAllocatePool_2
IopVerifierExAllocatePool_3
IopVerifierExAllocatePool_4
IopVerifierExAllocatePool_5
VeAllocatePoolWithTagPriority
VerifierExAllocatePoolWithTagPriority
VerifierPortExAllocatePoolWithTagPriority
VfInitVerifierComponents
VfKeCheckForChanges
VfPendingCheckForChanges
VfPoolInitPhase0
ViGrowPoolAllocation