Home
last modified time | relevance | path

Searched refs:PrivateCacheMap (Results 1 – 25 of 32) sorted by relevance

12

/reactos/ntoskrnl/cc/
H A Dcacheman.c166 PPRIVATE_CACHE_MAP PrivateCacheMap; in CcScheduleReadAhead() local
169 PrivateCacheMap = FileObject->PrivateCacheMap; in CcScheduleReadAhead()
172 if (SharedCacheMap == NULL || PrivateCacheMap == NULL || in CcScheduleReadAhead()
179 Length = ROUND_UP(Length, PrivateCacheMap->ReadAheadMask + 1); in CcScheduleReadAhead()
184 KeAcquireSpinLock(&PrivateCacheMap->ReadAheadSpinLock, &OldIrql); in CcScheduleReadAhead()
197 PrivateCacheMap->ReadAheadLength[1] = Length; in CcScheduleReadAhead()
205 if (PrivateCacheMap->FileOffset2.QuadPart >= PrivateCacheMap->FileOffset1.QuadPart && in CcScheduleReadAhead()
210 PrivateCacheMap->ReadAheadLength[1] = Length; in CcScheduleReadAhead()
222 if (!PrivateCacheMap->Flags.ReadAheadActive) in CcScheduleReadAhead()
255 KeReleaseSpinLock(&PrivateCacheMap->ReadAheadSpinLock, OldIrql); in CcScheduleReadAhead()
[all …]
H A Dcopy.c140 PPRIVATE_CACHE_MAP PrivateCacheMap; in CcPerformReadAhead() local
153 PrivateCacheMap = FileObject->PrivateCacheMap; in CcPerformReadAhead()
155 if (PrivateCacheMap == NULL) in CcPerformReadAhead()
165 CurrentOffset = PrivateCacheMap->ReadAheadOffset[1].QuadPart; in CcPerformReadAhead()
166 Length = PrivateCacheMap->ReadAheadLength[1]; in CcPerformReadAhead()
273 PrivateCacheMap = FileObject->PrivateCacheMap; in CcPerformReadAhead()
274 if (PrivateCacheMap != NULL) in CcPerformReadAhead()
566 PPRIVATE_CACHE_MAP PrivateCacheMap = FileObject->PrivateCacheMap; in CcCopyRead()
578 PrivateCacheMap->FileOffset1.QuadPart = PrivateCacheMap->FileOffset2.QuadPart; in CcCopyRead()
579 PrivateCacheMap->BeyondLastByte1.QuadPart = PrivateCacheMap->BeyondLastByte2.QuadPart; in CcCopyRead()
[all …]
H A Dfs.c164 PPRIVATE_CACHE_MAP PrivateCacheMap; in CcPurgeCacheSection() local
200PrivateCacheMap = CONTAINING_RECORD(SharedCacheMap->PrivateList.Flink, PRIVATE_CACHE_MAP, PrivateL… in CcPurgeCacheSection()
203 CcUninitializeCacheMap(PrivateCacheMap->FileObject, NULL, NULL); in CcPurgeCacheSection()
H A Dview.c1252 PrivateMap = FileObject->PrivateCacheMap; in CcRosReleaseFileCache()
1253 FileObject->PrivateCacheMap = NULL; in CcRosReleaseFileCache()
1263 if (PrivateMap != &SharedCacheMap->PrivateCacheMap) in CcRosReleaseFileCache()
1362 if (FileObject->PrivateCacheMap == NULL) in CcRosInitializeFileCache()
1367 if (SharedCacheMap->PrivateCacheMap.NodeTypeCode != 0) in CcRosInitializeFileCache()
1373 PrivateMap = &SharedCacheMap->PrivateCacheMap; in CcRosInitializeFileCache()
1404 FileObject->PrivateCacheMap = PrivateMap; in CcRosInitializeFileCache()
/reactos/ntoskrnl/cache/
H A Dfssup.c202 PNOCC_PRIVATE_CACHE_MAP PrivateCacheMap = FileObject->PrivateCacheMap; in CcInitializeCacheMap() local
246 if (!PrivateCacheMap) in CcInitializeCacheMap()
251 FileObject->PrivateCacheMap = PrivateCacheMap; in CcInitializeCacheMap()
252 PrivateCacheMap->FileObject = FileObject; in CcInitializeCacheMap()
256 PrivateCacheMap->Map = Map; in CcInitializeCacheMap()
292 PNOCC_PRIVATE_CACHE_MAP PrivateCacheMap = FileObject->PrivateCacheMap; in CcUninitializeCacheMap() local
308 if (PrivateCacheMap) in CcUninitializeCacheMap()
310 ASSERT(!Map || Map == PrivateCacheMap->Map); in CcUninitializeCacheMap()
330 ExFreePool(PrivateCacheMap->Map); in CcUninitializeCacheMap()
335 FileObject->PrivateCacheMap = NULL; in CcUninitializeCacheMap()
[all …]
/reactos/sdk/lib/drivers/copysup/
H A Dcopysup.c99 if (FileObject->PrivateCacheMap == NULL || Fcb->IsFastIoPossible == FastIoIsNotPossible) in FsRtlCopyRead2()
283 if (FileObject->PrivateCacheMap == NULL || in FsRtlCopyWrite2()
324 if (FileObject->PrivateCacheMap == NULL || in FsRtlCopyWrite2()
514 if (FileObject->PrivateCacheMap == NULL || in FsRtlCopyWrite2()
555 if (FileObject->PrivateCacheMap == NULL || in FsRtlCopyWrite2()
/reactos/ntoskrnl/fsrtl/
H A Dfastio.c127 if (!(FileObject->PrivateCacheMap) || in FsRtlCopyRead()
370 if ((FileObject->PrivateCacheMap != NULL) && in FsRtlCopyWrite()
396 if ((FileObject->PrivateCacheMap != NULL) && in FsRtlCopyWrite()
590 if ((FileObject->PrivateCacheMap != NULL) && in FsRtlCopyWrite()
614 if ((FileObject->PrivateCacheMap != NULL) && in FsRtlCopyWrite()
1064 if (!(FileObject->PrivateCacheMap) || in FsRtlMdlReadDev()
1354 if ((FileObject->PrivateCacheMap) && in FsRtlPrepareMdlWriteDev()
1374 if ((FileObject->PrivateCacheMap != NULL) && in FsRtlPrepareMdlWriteDev()
/reactos/drivers/filesystems/npfs/
H A Dfileobsup.c87 FileObject->PrivateCacheMap = (PVOID)1; in NpSetFileObject()
/reactos/sdk/include/ndk/
H A Dcctypes.h159 PRIVATE_CACHE_MAP PrivateCacheMap; member
/reactos/drivers/base/null/
H A Dnull.c106 FileObject->PrivateCacheMap = (PVOID)1; in NullDispatch()
/reactos/modules/rostests/kmtests/ntos_mm/
H A DNtCreateSection_drv.c298 if (IoStack->FileObject->PrivateCacheMap == NULL) in TestIrpHandler()
363 if (IoStack->FileObject->PrivateCacheMap == NULL) in TestIrpHandler()
/reactos/drivers/filesystems/cdfs/
H A Dread.c466 if (IrpSp->FileObject->PrivateCacheMap == NULL) { in _Requires_lock_held_()
H A Dcachesup.c392 if (FileObject->PrivateCacheMap != NULL) { in CdDeleteInternalStream()
/reactos/ntoskrnl/include/internal/
H A Dcc.h190 PRIVATE_CACHE_MAP PrivateCacheMap; member
/reactos/drivers/filesystems/vfatfs/
H A Drw.c593 if (IrpContext->FileObject->PrivateCacheMap == NULL) in VfatCommonRead()
1097 if (IrpContext->FileObject->PrivateCacheMap == NULL) in VfatWrite()
H A Dfsctl.c700 DeviceExt->FATFileObject->PrivateCacheMap = NULL; in VfatMount()
/reactos/drivers/filesystems/udfs/
H A Dread.cpp635 if (!(FileObject->PrivateCacheMap)) { in UDFCommonRead()
H A Dwrite.cpp743 if (!FileObject->PrivateCacheMap) { in UDFCommonWrite()
/reactos/drivers/filesystems/ext2/src/
H A Dread.c667 if (FileObject->PrivateCacheMap == NULL) { in Ext2ReadFile()
H A Dcreate.c1639 IrpSp->FileObject->PrivateCacheMap = NULL; in Ext2CreateFile()
1785 IrpSp->FileObject->PrivateCacheMap = NULL; in Ext2CreateFile()
H A Dwrite.c1102 if (FileObject->PrivateCacheMap == NULL) { in Ext2WriteFile()
/reactos/drivers/filesystems/fastfat/
H A Dread.c1355 if (FileObject->PrivateCacheMap == NULL) {
H A Dcachesup.c958 if ( Dcb->Specific.Dcb.DirectoryFile->PrivateCacheMap == NULL ) { in _Requires_lock_held_()
H A Dwrite.c2358 if ( FileObject->PrivateCacheMap == NULL ) {
/reactos/drivers/filesystems/ntfs/
H A Dfsctl.c507 Vcb->StreamFileObject->PrivateCacheMap = NULL; in NtfsMountVolume()

12