Lines Matching refs:volume

80 	return uds_is_chapter_sparse(zone->index->volume->geometry,  in is_zone_chapter_sparse()
157 !uds_is_sparse_index_geometry(zone->index->volume->geometry)) in simulate_index_zone_barrier_message()
281 expire_chapters = uds_chapters_to_expire(zone->index->volume->geometry, in open_next_chapter()
289 uds_forget_chapter(zone->index->volume, expiring++); in open_next_chapter()
345 struct volume *volume; in search_sparse_cache_in_zone() local
355 volume = zone->index->volume; in search_sparse_cache_in_zone()
356 chapter = uds_map_to_physical_chapter(volume->geometry, virtual_chapter); in search_sparse_cache_in_zone()
357 return uds_search_cached_record_page(volume, request, chapter, in search_sparse_cache_in_zone()
364 struct volume *volume; in get_record_from_zone() local
388 volume = zone->index->volume; in get_record_from_zone()
390 uds_sparse_cache_contains(volume->sparse_cache, request->virtual_chapter, in get_record_from_zone()
395 return uds_search_volume_page_cache(volume, request, found); in get_record_from_zone()
473 } else if (uds_is_sparse_index_geometry(zone->index->volume->geometry) && in search_index_zone()
715 index->volume, in close_chapters()
723 uds_chapters_to_expire(index->volume->geometry, in close_chapters()
765 (sizeof(struct uds_volume_record) * index->volume->geometry->records_per_chapter); in make_chapter_writer()
785 index->volume->geometry, in make_chapter_writer()
786 index->volume->nonce); in make_chapter_writer()
829 struct index_geometry *geometry = index->volume->geometry; in rebuild_index_page_map()
839 result = uds_get_volume_index_page(index->volume, chapter, in rebuild_index_page_map()
856 uds_update_index_page_map(index->volume->index_page_map, vcn, chapter, in rebuild_index_page_map()
910 result = uds_search_volume_page_cache_for_rebuild(index->volume, in replay_record()
985 geometry = index->volume->geometry; in replay_chapter()
987 uds_prefetch_volume_chapter(index->volume, physical_chapter); in replay_chapter()
1002 result = uds_get_volume_record_page(index->volume, physical_chapter, in replay_chapter()
1049 old_map_update = index->volume->index_page_map->last_update; in replay_volume()
1051 will_be_sparse = uds_is_chapter_sparse(index->volume->geometry, in replay_volume()
1062 new_map_update = index->volume->index_page_map->last_update; in replay_volume()
1078 u32 chapters_per_volume = index->volume->geometry->chapters_per_volume; in rebuild_index()
1080 index->volume->lookup_mode = LOOKUP_FOR_REBUILD; in rebuild_index()
1081 result = uds_find_volume_chapter_boundaries(index->volume, &lowest, &highest, in rebuild_index()
1091 index->volume->lookup_mode = LOOKUP_NORMAL; in rebuild_index()
1107 index->volume->lookup_mode = LOOKUP_NORMAL; in rebuild_index()
1130 result = uds_make_open_chapter(index->volume->geometry, index->zone_count, in make_index_zone()
1137 result = uds_make_open_chapter(index->volume->geometry, index->zone_count, in make_index_zone()
1183 result = uds_make_volume(config, index->layout, &index->volume); in uds_make_index()
1189 index->volume->lookup_mode = LOOKUP_NORMAL; in uds_make_index()
1292 uds_free_volume(index->volume); in uds_free_index()
1338 return uds_replace_volume_storage(index->volume, index->layout, bdev); in uds_replace_index_storage()
1352 index->volume->cache_size + in uds_get_index_stats()