/reactos/ntoskrnl/cc/ |
H A D | cacheman.c | 166 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 D | copy.c | 140 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 D | fs.c | 164 PPRIVATE_CACHE_MAP PrivateCacheMap; in CcPurgeCacheSection() local 200 …PrivateCacheMap = CONTAINING_RECORD(SharedCacheMap->PrivateList.Flink, PRIVATE_CACHE_MAP, PrivateL… in CcPurgeCacheSection() 203 CcUninitializeCacheMap(PrivateCacheMap->FileObject, NULL, NULL); in CcPurgeCacheSection()
|
H A D | view.c | 1252 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 D | fssup.c | 202 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 D | copysup.c | 99 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 D | fastio.c | 127 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 D | fileobsup.c | 87 FileObject->PrivateCacheMap = (PVOID)1; in NpSetFileObject()
|
/reactos/sdk/include/ndk/ |
H A D | cctypes.h | 159 PRIVATE_CACHE_MAP PrivateCacheMap; member
|
/reactos/drivers/base/null/ |
H A D | null.c | 106 FileObject->PrivateCacheMap = (PVOID)1; in NullDispatch()
|
/reactos/modules/rostests/kmtests/ntos_mm/ |
H A D | NtCreateSection_drv.c | 298 if (IoStack->FileObject->PrivateCacheMap == NULL) in TestIrpHandler() 363 if (IoStack->FileObject->PrivateCacheMap == NULL) in TestIrpHandler()
|
/reactos/drivers/filesystems/cdfs/ |
H A D | read.c | 466 if (IrpSp->FileObject->PrivateCacheMap == NULL) { in _Requires_lock_held_()
|
H A D | cachesup.c | 392 if (FileObject->PrivateCacheMap != NULL) { in CdDeleteInternalStream()
|
/reactos/ntoskrnl/include/internal/ |
H A D | cc.h | 190 PRIVATE_CACHE_MAP PrivateCacheMap; member
|
/reactos/drivers/filesystems/vfatfs/ |
H A D | rw.c | 593 if (IrpContext->FileObject->PrivateCacheMap == NULL) in VfatCommonRead() 1097 if (IrpContext->FileObject->PrivateCacheMap == NULL) in VfatWrite()
|
H A D | fsctl.c | 700 DeviceExt->FATFileObject->PrivateCacheMap = NULL; in VfatMount()
|
/reactos/drivers/filesystems/udfs/ |
H A D | read.cpp | 635 if (!(FileObject->PrivateCacheMap)) { in UDFCommonRead()
|
H A D | write.cpp | 743 if (!FileObject->PrivateCacheMap) { in UDFCommonWrite()
|
/reactos/drivers/filesystems/ext2/src/ |
H A D | read.c | 667 if (FileObject->PrivateCacheMap == NULL) { in Ext2ReadFile()
|
H A D | create.c | 1639 IrpSp->FileObject->PrivateCacheMap = NULL; in Ext2CreateFile() 1785 IrpSp->FileObject->PrivateCacheMap = NULL; in Ext2CreateFile()
|
H A D | write.c | 1102 if (FileObject->PrivateCacheMap == NULL) { in Ext2WriteFile()
|
/reactos/drivers/filesystems/fastfat/ |
H A D | read.c | 1355 if (FileObject->PrivateCacheMap == NULL) {
|
H A D | cachesup.c | 958 if ( Dcb->Specific.Dcb.DirectoryFile->PrivateCacheMap == NULL ) { in _Requires_lock_held_()
|
H A D | write.c | 2358 if ( FileObject->PrivateCacheMap == NULL ) {
|
/reactos/drivers/filesystems/ntfs/ |
H A D | fsctl.c | 507 Vcb->StreamFileObject->PrivateCacheMap = NULL; in NtfsMountVolume()
|