Home
last modified time | relevance | path

Searched refs:volume_index_zone (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/md/dm-vdo/indexer/
H A Dvolume-index.c140 const struct volume_sub_index_zone *volume_index_zone = get_zone_for_record(record); in convert_index_to_virtual() local
141 u32 rolling_chapter = ((index_chapter - volume_index_zone->virtual_chapter_low) & in convert_index_to_virtual()
144 return volume_index_zone->virtual_chapter_low + rolling_chapter; in convert_index_to_virtual()
156 const struct volume_sub_index_zone *volume_index_zone = get_zone_for_record(record); in is_virtual_chapter_indexed() local
158 return ((virtual_chapter >= volume_index_zone->virtual_chapter_low) && in is_virtual_chapter_indexed()
159 (virtual_chapter <= volume_index_zone->virtual_chapter_high)); in is_virtual_chapter_indexed()
485 const struct volume_sub_index_zone *volume_index_zone; in get_volume_sub_index_record() local
494 volume_index_zone = get_zone_for_record(record); in get_volume_sub_index_record()
496 if (flush_chapter < volume_index_zone->virtual_chapter_low) { in get_volume_sub_index_record()
498 u64 flush_count = volume_index_zone->virtual_chapter_low - flush_chapter; in get_volume_sub_index_record()
[all …]
H A Dvolume-index.h88 struct volume_index_zone { struct
99 struct volume_index_zone *zones; argument