SmKmStoreReference

VOID *__stdcall SmKmStoreReference(_SMKM_STORE_LIST *StoreMgr, UINT64 StoreId){
  unsigned int v2; 
  _EX_RUNDOWN_REF *v3; 
  _EX_RUNDOWN_REF *v4; 

  v2 = StoreId;
  v3 = (_EX_RUNDOWN_REF *)SmKmStoreRefFromStoreIndex((__int64)StoreMgr, StoreId & 0x3FF);
  v4 = v3;
  if( v3 && ExAcquireRundownProtection(v3 + 1) )
  {
    if( (v4[4].Count & 0x3F) == v2 >> 10 )
      return(VOID *)v4->Count;
    ExReleaseRundownProtection(v4 + 1);
  }
  return 0i64;
}

Referenced by:

SMKM_STORE_MGR::SmStoreRequest
SMKM_STORE_MGR::SmStoreTerminate
ST_STORE::StWorkItemProcess
SmIssueIo
SmKmStoreReferenceEx
SmProcessListRequestExtended
SmpKeyedStoreReference