RtlpInterlockedPopEntrySList

PSLIST_ENTRY __stdcall RtlpInterlockedPopEntrySList(PSLIST_HEADER ListHead){
  struct _SLIST_ENTRY *v1; 
  signed __int64 v2; 
  __int128 v3; 
  _m_prefetchw(ListHead);
  while( 1 )
  {
    v1 = (struct _SLIST_ENTRY *)(*((_QWORD *)ListHead + 1) & 0xFFFFFFFFFFFFFFF0ui64);
    if( !v1 )
      break;
    v2 = *(_QWORD *)ListHead;
    v3 = *(_OWORD *)ListHead;
    LOWORD(v2) = *(_QWORD *)ListHead - 1;
    if( _InterlockedCompareExchange128(
           (volatile signed __int64 *)ListHead,
           (signed __int64)v1->Next,
           v2,
           (signed __int64 *)&v3) )
    {
      return v1;
    }
  }
  _InterlockedOr64((volatile signed __int64 *)ListHead, 0i64);
  return v1;
}

Referenced by:

AlpcpSendMessage
Argument1
CcAllocateWorkQueueEntry
CcSetDirtyInMask
CmpAllocateKeyControlBlock
CmpBounceContextStart
CmpCallCallBacksEx
CmpCreateKeyBody
CmpExpandPathInfo
EtwpAdjustTraceBuffers
EtwpCovSampLookasidePop
EtwpEventWriteFull
EtwpGetStackLookasideListEntry
EtwpQueueStackWalkApc
EtwpTraceLastBranchRecord
EtwpTraceStackKey
ExAllocateFromNPagedLookasideList
ExAllocateHeapPool
FsRtlAllocateExtraCreateParameterFromLookasideList
FsRtlAllocateExtraCreateParameterList
HalpDmaAcquireBufferMappings
HalpMemoryErrorDeferredRecovery
HalpPmemErrorDeferredRecovery
HvlpAcquireHypercallPage
IoAllocateMdl
IoMakeAssociatedIrpPriv
IopAllocRealFileObject
IopAllocateIrpPrivate
IopAllocateMiniCompletionPacket
IopCreateFile
KeAllocateInterrupt
MiAdjustCachedStacks
MiCreateDecayPfn
MiEmptyKernelStackCache
MiFreeClonePool
MiGetInPageSupportBlock
MiGetPage
MiGetTransitionPageHeatList
MiGetUltraMdlContext
MiInsertPteTracker
MiReclaimUnusedUltraMdlMaps
MiSlistGetFreePage
MiStoreWriteModifiedPages
MmCreateKernelStack
NtQueryValueKey
ObCreateObjectEx
ObOpenObjectByNameEx
ObReferenceObjectByNameEx
ObpCaptureObjectName
ObpDeferPushRefDerefInfo
PfFbBufferListCleanup
PfFbLogEntryReserve
PfFileInfoNotify
PfTFullEventListAdd
RtlpGetRegistryHandle
RtlpStdGetSpaceForTrace
SMKM_STORE_MGR::SmPageRead
SMKM_STORE_MGR::SmPageWrite
ST_STORE::StAcquireReadContext
VeAllocatePoolWithTagPriority
VfPoolCheckForLeaks
ViGrowPoolAllocation
VmAccessFault
WdipSemFastAllocate