LOGICAL MiGetSystemPteAvailability( IN ULONG NumberOfPtes, IN MM_PAGE_PRIORITY Priority ); Routine Description: This routine checks how many SystemPteSpace PTEs are available for the requested size. If plenty are available then TRUE is returned. If we are reaching a low resource situation, then the request is evaluated based on the argument priority. Arguments: NumberOfPtes - Supplies the number of PTEs needed. Priority - Supplies the priority of the request. Return Value: TRUE if the caller should allocate the PTEs, FALSE if not. Environment: Kernel mode.