PsGetPagePriorityThread

__int64 __fastcall PsGetPagePriorityThread(__int64 a1){
  __int64 result; 
  result = (*(_DWORD *)(a1 + 1296) >> 12) & 7;
  if( (*(_DWORD *)(*(_QWORD *)(a1 + 544) + 1124i64) & 0x100000) != 0 && (unsigned int)result >= 2 )
    return 2i64;
  return result;
}

Referenced by:

CcAsyncCopyRead
CcCompleteAsyncRead
CcInitializeCacheMapEx
CcPerformReadAhead
CcScheduleReadAheadEx
EtwTraceThread
EtwpTraceThreadRundown
ExpWorkerThread
MiAllocateKernelStackPages
MiCopyOnWrite
MiGetEffectivePagePriorityThread
MiInitializeInPageSupport
MiInitializePfn
PfLogFileDataAccess
PfSnAsyncContextInitialize
PfSnCheckActionsNeeded
SmSetThreadPagePriority