PopAcquirePowerRequestPushLock

void __fastcall PopAcquirePowerRequestPushLock(char a1){
  _ETHREAD *CurrentThread; 
  if( a1 )
  {
    PopAcquireRwLockExclusive((_POP_RW_LOCK *)&PopPowerRequestLock);
  }
  else
  {
    CurrentThread = (_ETHREAD *)KeGetCurrentThread();
    --*((_WORD *)CurrentThread + 242);
    ExAcquirePushLockSharedEx((UINT64)&PopPowerRequestLock, 0i64);
  }
}

Referenced by:

PoClearPowerRequestInternal
PoSetPowerRequestInternal
PopCreateKernelPowerRequest
PopCreatePowerRequestObject
PopCreateUserPowerRequest
PopDiagTraceControlCallback
PopExecutionRequiredSettingCallback
PopExecutionRequiredTimeoutWorkerRoutine
PopGetPowerRequestListInfo
PopHandleConvergedPowerRequestUpdate
PopNotifySessionUserPowerRequestAttributed
PopNotifySessionUserPowerRequestCreated
PopNotifySessionUserPowerRequestsPresent
PopPowerRequestCleanUp
PopPowerRequestNotifyMobileHotspotChanged
PopPowerRequestOverrideInitialize
PopProcessPowerRequestOverrideQueryResponse
PopSetSpecialRequest
PopUmpoProcessPowerMessage
PopUpdatePdcSystemIdleState
PopWnfAudioCallback