Searched refs:chapters_per_volume (Results 1 – 8 of 8) sorted by relevance
/linux-6.12.1/drivers/md/dm-vdo/indexer/ |
D | geometry.c | 57 u32 chapters_per_volume, u32 sparse_chapters_per_volume, in uds_make_index_geometry() argument 70 geometry->chapters_per_volume = chapters_per_volume; in uds_make_index_geometry() 72 geometry->dense_chapters_per_volume = chapters_per_volume - sparse_chapters_per_volume; in uds_make_index_geometry() 78 geometry->records_per_volume = (u64) geometry->records_per_chapter * chapters_per_volume; in uds_make_index_geometry() 103 geometry->pages_per_volume = geometry->pages_per_chapter * chapters_per_volume; in uds_make_index_geometry() 116 source->chapters_per_volume, in uds_copy_index_geometry() 133 return virtual_chapter % geometry->chapters_per_volume; in uds_map_to_physical_chapter() 138 return delta % geometry->chapters_per_volume; in uds_map_to_physical_chapter() 147 if (delta < geometry->chapters_per_volume) in uds_map_to_physical_chapter() 148 return geometry->chapters_per_volume - delta; in uds_map_to_physical_chapter() [all …]
|
D | config.c | 42 if (saved_geometry->chapters_per_volume != geometry->chapters_per_volume) { in are_matching_configurations() 44 saved_geometry->chapters_per_volume, in are_matching_configurations() 45 geometry->chapters_per_volume); in are_matching_configurations() 127 decode_u32_le(buffer, &offset, &geometry.chapters_per_volume); in uds_validate_config_contents() 204 encode_u32_le(buffer, &offset, geometry->chapters_per_volume); in uds_write_config_contents() 229 u32 *chapters_per_volume, u32 *record_pages_per_chapter, in compute_memory_sizes() argument 278 *chapters_per_volume = base_chapters - reduced_chapters; in compute_memory_sizes() 317 u32 chapters_per_volume = 0; in uds_make_configuration() local 323 &chapters_per_volume, &record_pages_per_chapter, in uds_make_configuration() 333 chapters_per_volume, sparse_chapters_per_volume, in uds_make_configuration() [all …]
|
D | geometry.h | 23 u32 chapters_per_volume; member 99 u32 chapters_per_volume, 119 return !!(geometry->chapters_per_volume & 1); in uds_is_reduced_index_geometry()
|
D | config.h | 68 u32 chapters_per_volume; member 94 u32 chapters_per_volume; member
|
D | index-page-map.c | 32 return geometry->chapters_per_volume * (geometry->index_pages_per_chapter - 1); in get_entry_count()
|
D | index.c | 1078 u32 chapters_per_volume = index->volume->geometry->chapters_per_volume; in rebuild_index() local 1098 (index->oldest_virtual_chapter + chapters_per_volume)) { in rebuild_index()
|
D | volume-index.c | 213 params->chapter_count = geometry->chapters_per_volume; in compute_volume_sub_index_parameters() 334 dense_chapters = config->geometry->chapters_per_volume - sparse_chapters; in split_configuration() 344 split->non_hook_geometry.chapters_per_volume = dense_chapters; in split_configuration()
|
D | volume.c | 1318 (unsigned long long) vcn, geometry->chapters_per_volume); in probe_chapter() 1452 u32 chapter_limit = volume->geometry->chapters_per_volume; in uds_find_volume_chapter_boundaries()
|