SmKmEtwLogStoreRundown
VOID __stdcall SmKmEtwLogStoreRundown(UINT64 *EtwRegHandle, _SMKM_STORE_LIST *StoreMgr){
unsigned int i;
VOID *v5;
__int64 v6;
_EX_RUNDOWN_REF *v7;
for( i = 0; i < 0x400; ++i )
{
v5 = SmKmStoreReferenceEx(StoreMgr, i);
v6 = (__int64)v5;
if( v5 )
{
SmKmEtwLogStoreStats(EtwRegHandle, v5);
SmKmEtwLogStoreChange(EtwRegHandle, v6, SmEventStoreRundown);
v7 = (_EX_RUNDOWN_REF *)SmKmStoreRefFromStoreIndex((__int64)StoreMgr, i & 0x3FF);
ExReleaseRundownProtection(v7 + 1);
}
}
}Referenced by:
SmEtwEnableCallback