Lines Matching refs:virtual_chapter
99 u64 virtual_chapter; in __aligned() local
222 chapter->virtual_chapter = NO_CHAPTER; in initialize_cached_chapter_index()
335 chapter->virtual_chapter = NO_CHAPTER; in release_cached_chapter_index()
389 bool uds_sparse_cache_contains(struct sparse_cache *cache, u64 virtual_chapter, in uds_sparse_cache_contains() argument
407 if (virtual_chapter == chapter->virtual_chapter) { in uds_sparse_cache_contains()
442 if ((chapter->virtual_chapter < oldest_virtual_chapter) || in purge_search_list()
443 (chapter->virtual_chapter == NO_CHAPTER)) in purge_search_list()
459 u64 virtual_chapter, in cache_chapter_index() argument
466 result = uds_read_chapter_index_from_volume(volume, virtual_chapter, in cache_chapter_index()
473 chapter->virtual_chapter = virtual_chapter; in cache_chapter_index()
492 int uds_update_sparse_cache(struct index_zone *zone, u64 virtual_chapter) in uds_update_sparse_cache() argument
498 if (uds_sparse_cache_contains(cache, virtual_chapter, zone->id)) in uds_update_sparse_cache()
520 if (virtual_chapter >= index->oldest_virtual_chapter) { in uds_update_sparse_cache()
522 result = cache_chapter_index(list->entries[0], virtual_chapter, in uds_update_sparse_cache()
548 if ((chapter->virtual_chapter == NO_CHAPTER) || in should_skip_chapter()
549 (chapter->virtual_chapter < oldest_chapter)) in should_skip_chapter()
553 return requested_chapter != chapter->virtual_chapter; in should_skip_chapter()
565 uds_map_to_physical_chapter(geometry, chapter->virtual_chapter); in search_cached_chapter_index()
612 *virtual_chapter_ptr = chapter->virtual_chapter; in uds_search_sparse_cache()