Searched refs:record_pages_per_chapter (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/drivers/md/dm-vdo/indexer/ |
D | config.c | 35 if (saved_geometry->record_pages_per_chapter != geometry->record_pages_per_chapter) { in are_matching_configurations() 37 saved_geometry->record_pages_per_chapter, in are_matching_configurations() 38 geometry->record_pages_per_chapter); in are_matching_configurations() 126 decode_u32_le(buffer, &offset, &geometry.record_pages_per_chapter); in uds_validate_config_contents() 203 encode_u32_le(buffer, &offset, geometry->record_pages_per_chapter); in uds_write_config_contents() 229 u32 *chapters_per_volume, u32 *record_pages_per_chapter, in compute_memory_sizes() argument 237 *record_pages_per_chapter = SMALL_RECORD_PAGES_PER_CHAPTER; in compute_memory_sizes() 240 *record_pages_per_chapter = 2 * SMALL_RECORD_PAGES_PER_CHAPTER; in compute_memory_sizes() 243 *record_pages_per_chapter = 3 * SMALL_RECORD_PAGES_PER_CHAPTER; in compute_memory_sizes() 246 *record_pages_per_chapter = DEFAULT_RECORD_PAGES_PER_CHAPTER; in compute_memory_sizes() [all …]
|
D | geometry.c | 56 int uds_make_index_geometry(size_t bytes_per_page, u32 record_pages_per_chapter, in uds_make_index_geometry() argument 69 geometry->record_pages_per_chapter = record_pages_per_chapter; in uds_make_index_geometry() 77 geometry->records_per_chapter = geometry->records_per_page * record_pages_per_chapter; in uds_make_index_geometry() 81 geometry->chapter_payload_bits = bits_per(record_pages_per_chapter - 1); in uds_make_index_geometry() 102 geometry->pages_per_chapter = geometry->index_pages_per_chapter + record_pages_per_chapter; in uds_make_index_geometry() 115 source->record_pages_per_chapter, in uds_copy_index_geometry()
|
D | config.h | 66 u32 record_pages_per_chapter; member 92 u32 record_pages_per_chapter; member
|
D | geometry.h | 21 u32 record_pages_per_chapter; member 98 int __must_check uds_make_index_geometry(size_t bytes_per_page, u32 record_pages_per_chapter,
|
D | chapter-index.c | 84 u32 record_pages = geometry->record_pages_per_chapter; in uds_put_open_chapter_index_record() 253 geometry->record_pages_per_chapter) { in uds_validate_chapter_index_page()
|
D | volume.c | 892 result = VDO_ASSERT(record_page_number < geometry->record_pages_per_chapter, in uds_search_cached_record_page() 894 geometry->record_pages_per_chapter); in uds_search_cached_record_page() 1216 record_page_number < geometry->record_pages_per_chapter; in write_record_pages() 1500 cache->cache_slots = chapters_in_cache * geometry->record_pages_per_chapter; in initialize_page_cache() 1567 reserved_buffers = config->cache_chapters * geometry->record_pages_per_chapter; in uds_make_volume()
|
D | index.c | 997 for (i = 0; i < geometry->record_pages_per_chapter; i++) { in replay_chapter()
|