KiReleaseThreadStateLock

VOID __stdcall KiReleaseThreadStateLock(_KPRCB *ControlPrcb, _KSHARED_READY_QUEUE *SharedReadyQueue){
  volatile signed __int64 *v2; 

  if( SharedReadyQueue )
    _InterlockedAnd64((volatile signed __int64 *)&SharedReadyQueue->ReadyListHead[2], 0i64);
  if( v2 )
    _InterlockedAnd64(v2, 0i64);
}

Referenced by:

KeAbCrossThreadDelete
KeQueryTotalCycleTimeThread
KeSetActualBasePriorityThread
KeSetIdealProcessorThreadEx
KeSetThreadSchedulerAssist
KeTryToFreezeThreadStack
KeUpdateThreadTag
KiApplyForegroundBoostThread
KiRemoveThreadFromSchedulingGroup
KiSendHeteroRescheduleIntRequestHelper
KiSetAffinityThread
KiSetHeteroPolicyThread
KiSetPriorityThread
KiSetThreadSchedulingGroup
KiUpdateThreadCpuSets
MiSwapStackPage