Lines Matching refs:PageAlignment
50 UINT8 PageAlignment; in FatFlushDataCacheRange() local
58 PageAlignment = DiskCache->PageAlignment; in FatFlushDataCacheRange()
59 PageSize = (UINTN)1 << PageAlignment; in FatFlushDataCacheRange()
73 Buffer + ((PageNo - StartPageNo) << PageAlignment), in FatFlushDataCacheRange()
74 BaseAddress + (GroupNo << PageAlignment), in FatFlushDataCacheRange()
121 UINT8 PageAlignment; in FatExchangeCachePage() local
126 PageAlignment = DiskCache->PageAlignment; in FatExchangeCachePage()
127 PageAddress = DiskCache->CacheBase + (GroupNo << PageAlignment); in FatExchangeCachePage()
128 EntryPos = DiskCache->BaseAddress + LShiftU64 (PageNo, PageAlignment); in FatExchangeCachePage()
131 RealSize = (UINTN)1 << PageAlignment; in FatExchangeCachePage()
253 Source = DiskCache->CacheBase + (GroupNo << DiskCache->PageAlignment) + Offset; in FatAccessUnalignedCachePage()
319 UINT8 PageAlignment; in FatAccessCache() local
326 PageAlignment = DiskCache->PageAlignment; in FatAccessCache()
327 PageSize = (UINTN)1 << PageAlignment; in FatAccessCache()
328 PageNo = (UINTN) RShiftU64 (EntryPos, PageAlignment); in FatAccessCache()
347 AlignedPageCount = BufferSize >> PageAlignment; in FatAccessCache()
358 EntryPos = Volume->RootPos + LShiftU64 (PageNo, PageAlignment); in FatAccessCache()
359 AlignedSize = AlignedPageCount << PageAlignment; in FatAccessCache()
467 DiskCache[CacheFat].PageAlignment = FAT_FATCACHE_PAGE_MIN_ALIGNMENT; in FatInitializeDiskCache()
468 DiskCache[CacheData].PageAlignment = FAT_DATACACHE_PAGE_MIN_ALIGNMENT; in FatInitializeDiskCache()
471 DiskCache[CacheFat].PageAlignment = FAT_FATCACHE_PAGE_MAX_ALIGNMENT; in FatInitializeDiskCache()
472 DiskCache[CacheData].PageAlignment = FAT_DATACACHE_PAGE_MAX_ALIGNMENT; in FatInitializeDiskCache()
481 FatCacheSize = FatCacheGroupCount << DiskCache[CacheFat].PageAlignment; in FatInitializeDiskCache()
482 …aCacheSize = FAT_DATACACHE_GROUP_COUNT << DiskCache[CacheData].PageAlignment; in FatInitializeDiskCache()