Searched refs:VACB_MAPPING_GRANULARITY (Results 1 – 11 of 11) sorted by relevance
/reactos/modules/rostests/kmtests/ntos_cc/ |
H A D | CcSetFileSizes_drv.c | 108 RTL_CONSTANT_LARGE_INTEGER((LONGLONG)VACB_MAPPING_GRANULARITY), // .AllocationSize 109 RTL_CONSTANT_LARGE_INTEGER((LONGLONG)VACB_MAPPING_GRANULARITY), // .FileSize 177 Fcb->Header.AllocationSize.QuadPart = VACB_MAPPING_GRANULARITY; in PerformTest() 178 Fcb->Header.FileSize.QuadPart = VACB_MAPPING_GRANULARITY - PAGE_SIZE; in PerformTest() 211 Fcb->Header.AllocationSize.QuadPart = VACB_MAPPING_GRANULARITY; in PerformTest() 212 Fcb->Header.FileSize.QuadPart = VACB_MAPPING_GRANULARITY; in PerformTest() 232 Offset.QuadPart = VACB_MAPPING_GRANULARITY - 2 * PAGE_SIZE; in PerformTest() 245 Fcb->Header.FileSize.QuadPart = VACB_MAPPING_GRANULARITY; in PerformTest() 248 Offset.QuadPart = VACB_MAPPING_GRANULARITY - PAGE_SIZE; in PerformTest() 291 Fcb->Header.FileSize.QuadPart = VACB_MAPPING_GRANULARITY; in PerformTest() [all …]
|
H A D | CcMapData_drv.c | 374 FileSizes.AllocationSize.QuadPart += VACB_MAPPING_GRANULARITY; in PerformTest() 393 … Offset.QuadPart = FileSizes.FileSize.QuadPart + 0x1000 + VACB_MAPPING_GRANULARITY; in PerformTest() 420 … Offset.QuadPart = FileSizes.AllocationSize.QuadPart + 0x1000 + VACB_MAPPING_GRANULARITY; in PerformTest() 437 …Ret = CcMapData(TestFileObject, &Offset, 0x1000 + VACB_MAPPING_GRANULARITY, MAP_WAIT, &Bcb, (PVOID… in PerformTest()
|
H A D | CcPinRead_drv.c | 564 FileSizes.AllocationSize.QuadPart += VACB_MAPPING_GRANULARITY; in PerformTest() 582 … Offset.QuadPart = FileSizes.FileSize.QuadPart + 0x1000 + VACB_MAPPING_GRANULARITY; in PerformTest() 619 … Offset.QuadPart = FileSizes.AllocationSize.QuadPart + 0x1000 + VACB_MAPPING_GRANULARITY; in PerformTest() 646 …Ret = CcPinRead(TestFileObject, &Offset, 0x1000 + VACB_MAPPING_GRANULARITY, PIN_WAIT, &Bcb, (PVOID… in PerformTest() 659 …CcFlushCache(TestFileObject->SectionObjectPointer, &Offset, VACB_MAPPING_GRANULARITY + 0x1000, NUL… in PerformTest() 662 ok_eq_ulong(WriteLength, VACB_MAPPING_GRANULARITY + 0x1000); in PerformTest()
|
/reactos/ntoskrnl/cc/ |
H A D | view.c | 183 VACB_MAPPING_GRANULARITY, in CcRosFlushVacb() 646 VACB_MAPPING_GRANULARITY, in CcRosLookupVacb() 681 CcTotalDirtyPages += VACB_MAPPING_GRANULARITY / PAGE_SIZE; in CcRosMarkDirtyVacb() 808 SIZE_T ViewSize = VACB_MAPPING_GRANULARITY; in CcRosCreateVacb() 877 VACB_MAPPING_GRANULARITY, in CcRosCreateVacb() 941 ASSERT((Offset + Length) <= VACB_MAPPING_GRANULARITY); in CcRosEnsureVacbResident() 1039 if (FileOffset % VACB_MAPPING_GRANULARITY != 0) in CcRosRequestVacb() 1042 FileOffset, VACB_MAPPING_GRANULARITY); in CcRosRequestVacb() 1194 ULONG MmLength = VACB_MAPPING_GRANULARITY - (FlushStart % VACB_MAPPING_GRANULARITY); in CcFlushCache() 1216 FlushStart -= FlushStart % VACB_MAPPING_GRANULARITY; in CcFlushCache() [all …]
|
H A D | copy.c | 197 PartialLength = CurrentOffset % VACB_MAPPING_GRANULARITY; in CcPerformReadAhead() 200 PartialLength = min(Length, VACB_MAPPING_GRANULARITY - PartialLength); in CcPerformReadAhead() 213 CurrentOffset % VACB_MAPPING_GRANULARITY, PartialLength); in CcPerformReadAhead() 236 ASSERT(CurrentOffset % VACB_MAPPING_GRANULARITY == 0); in CcPerformReadAhead() 237 PartialLength = min(VACB_MAPPING_GRANULARITY, Length); in CcPerformReadAhead() 529 ULONG VacbOffset = CurrentOffset % VACB_MAPPING_GRANULARITY; in CcCopyRead() 530 ULONG VacbLength = min(Length, VACB_MAPPING_GRANULARITY - VacbOffset); in CcCopyRead() 572 …(CurrentOffset - 1) / VACB_MAPPING_GRANULARITY != (CurrentOffset + ReadLength - 1) / VACB_MAPPING_… in CcCopyRead() 625 ULONG VacbOffset = CurrentOffset % VACB_MAPPING_GRANULARITY; in CcCopyWrite() 895 ULONG VacbOffset = WriteOffset.QuadPart % VACB_MAPPING_GRANULARITY; in CcZeroData() [all …]
|
H A D | pin.c | 226 VacbOffset = (ULONG)(FileOffset->QuadPart % VACB_MAPPING_GRANULARITY); in CcpPinData() 228 if ((VacbOffset + Length) > VACB_MAPPING_GRANULARITY) in CcpPinData() 231 … DPRINT1("TRUNCATING DATA PIN FROM %lu to %lu!\n", Length, VACB_MAPPING_GRANULARITY - VacbOffset); in CcpPinData() 232 Length = VACB_MAPPING_GRANULARITY - VacbOffset; in CcpPinData() 271 ROffset = ROUND_DOWN(FileOffset->QuadPart, VACB_MAPPING_GRANULARITY); in CcpPinData() 361 VacbOffset = (ULONG)(FileOffset->QuadPart % VACB_MAPPING_GRANULARITY); in CcMapData() 363 if ((VacbOffset + Length) > VACB_MAPPING_GRANULARITY) in CcMapData() 365 … DPRINT1("TRUNCATING DATA MAP FROM %lu to %lu!\n", Length, VACB_MAPPING_GRANULARITY - VacbOffset); in CcMapData() 366 Length = VACB_MAPPING_GRANULARITY - VacbOffset; in CcMapData()
|
H A D | fs.c | 238 ViewEnd = min(Vacb->FileOffset.QuadPart + VACB_MAPPING_GRANULARITY, in CcPurgeCacheSection()
|
/reactos/sdk/include/xdk/ |
H A D | cctypes.h | 4 #define VACB_MAPPING_GRANULARITY (0x40000) macro
|
/reactos/drivers/filesystems/cdfs/ |
H A D | cdstruc.h | 1452 #define VACB_MAPPING_MASK (VACB_MAPPING_GRANULARITY - 1) 1453 #define LAST_VACB_SECTOR_OFFSET (VACB_MAPPING_GRANULARITY - SECTOR_SIZE)
|
/reactos/ntoskrnl/cache/ |
H A D | newcc.h | 123 #define CACHE_STRIPE VACB_MAPPING_GRANULARITY
|
/reactos/drivers/filesystems/fastfat/ |
H A D | cachesup.c | 596 MappingGranularity = VACB_MAPPING_GRANULARITY; in _Requires_lock_held_()
|