ExAcquireSpinLockSharedAtDpcLevel

VOID __stdcall ExAcquireSpinLockSharedAtDpcLevel(PEX_SPIN_LOCK SpinLock){
  int v1; 

  _m_prefetchw((const void *)SpinLock);
  v1 = *SpinLock & 0x7FFFFFFF;
  if( v1 != _InterlockedCompareExchange(SpinLock, v1 + 1, v1) )
    ExpWaitForSpinLockSharedAndAcquire((INT64 *)SpinLock, 0xFFu);
}

Referenced by:

DbgEnumerateCallback
DbgpRemoveDebugPrintCallback
InsertEventEntryInLookUpTable
KeQueryAffinityProcess
KeQueryBasePriorityThread
KeQueryCpuSetsProcess
KeSetLegacyAffinityThread
KeSetSelectedCpuSetsThread
KiAbEntryGetLockedHeadEntry
KiAbEntryRemoveFromTree
KiActivateWaiterQueueWithNoLocks
KiRundownMutants
KiSelectCandidateProcessor
MiAbortCombineScan
MiFreeSlabEntries
MiGetSharedProtosAtDpcLevel
MiLockPageTableInternal
MmLockLoadedModuleListShared
ViAvlAcquireTableLockAtDpcLevelSafe
ViDeadlockDetectionLock
VmpInvalidateOutstandingFaults
VmpProcessContextLockShared
vDbgPrintExWithPrefixInternal