CcPerfLogFlushCache
VOID __stdcall CcPerfLogFlushCache(
_WORK_QUEUE_ENTRY *WorkEntry,
_SHARED_CACHE_MAP *SharedCacheMap,
_LARGE_INTEGER *Offset,
UINT64 Length,
UINT8 IsLazyWriter,
UINT8 FastLazyWrite,
UINT8 ForceFullFlush){
int v8;
_FILE_OBJECT *v11;
int v12;
__int64 v13[2];
LONGLONG QuadPart;
int v15;
int v16;
__int64 v17;
__int64 *v18;
int v19;
int v20;
if( SharedCacheMap )
{
v17 = 0i64;
v8 = Length;
v11 = CcReferenceSharedCacheMapFileObject(SharedCacheMap);
v13[1] = (__int64)v11->FsContext;
CcDereferenceSharedCacheMapFileObject(SharedCacheMap, v11);
if( Offset )
QuadPart = Offset->QuadPart;
else
QuadPart = 0i64;
v16 = *((_DWORD *)SharedCacheMap + 38);
v12 = 0;
v13[0] = (__int64)WorkEntry;
v15 = v8;
if( IsLazyWriter )
v12 = 1;
LODWORD(v17) = v12;
if( FastLazyWrite )
{
v12 |= 2u;
LODWORD(v17) = v12;
}
if( ForceFullFlush )
LODWORD(v17) = v12 | 4;
v20 = 0;
v18 = v13;
v19 = 40;
EtwTraceKernelEvent((__int64)&v18, 1u, 0x80020000, 0x1609u, 0x401902u);
}
}Referenced by:
CcFlushCachePriv