Home
last modified time | relevance | path

Searched refs:index_page_map (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/md/dm-vdo/indexer/
H A Dindex-page-map.h18 struct index_page_map { struct
26 struct index_page_map **map_ptr); argument
28 void uds_free_index_page_map(struct index_page_map *map);
30 int __must_check uds_read_index_page_map(struct index_page_map *map,
33 int __must_check uds_write_index_page_map(struct index_page_map *map,
36 void uds_update_index_page_map(struct index_page_map *map, u64 virtual_chapter_number,
40 u32 __must_check uds_find_index_page_number(const struct index_page_map *map,
44 void uds_get_list_number_bounds(const struct index_page_map *map, u32 chapter_number,
H A Dindex-page-map.c36 struct index_page_map **map_ptr) in uds_make_index_page_map()
39 struct index_page_map *map; in uds_make_index_page_map()
41 result = vdo_allocate(1, struct index_page_map, "page map", &map); in uds_make_index_page_map()
58 void uds_free_index_page_map(struct index_page_map *map) in uds_free_index_page_map()
66 void uds_update_index_page_map(struct index_page_map *map, u64 virtual_chapter_number, in uds_update_index_page_map()
80 u32 uds_find_index_page_number(const struct index_page_map *map, in uds_find_index_page_number()
95 void uds_get_list_number_bounds(const struct index_page_map *map, u32 chapter_number, in uds_get_list_number_bounds()
113 int uds_write_index_page_map(struct index_page_map *map, struct buffered_writer *writer) in uds_write_index_page_map()
139 int uds_read_index_page_map(struct index_page_map *map, struct buffered_reader *reader) in uds_read_index_page_map()
H A Dvolume.h112 struct index_page_map *index_page_map; member
H A Dsparse-cache.c560 const struct index_page_map *index_page_map, in search_cached_chapter_index() argument
567 uds_find_index_page_number(index_page_map, name, physical_chapter); in search_cached_chapter_index()
597 volume->index_page_map, name, in uds_search_sparse_cache()
H A Dindex-layout.c159 struct layout_region index_page_map; member
495 *lr++ = isl->index_page_map; in make_index_save_region_table()
613 isl->index_page_map = (struct layout_region) { in reset_index_save_layout()
950 result = open_region_reader(layout, &isl->index_page_map, &readers[0]); in uds_load_index_state()
954 result = uds_read_index_page_map(index->volume->index_page_map, readers[0]); in uds_load_index_state()
1003 isl->index_page_map = (struct layout_region) { in instantiate_index_save_layout()
1120 result = open_region_writer(layout, &isl->index_page_map, &writers[0]); in uds_save_index_state()
1126 result = uds_write_index_page_map(index->volume->index_page_map, writers[0]); in uds_save_index_state()
1493 isl->index_page_map = table->regions[1]; in reconstruct_index_save()
1494 result = verify_region(&isl->index_page_map, next_block, RL_KIND_INDEX_PAGE_MAP, in reconstruct_index_save()
[all …]
H A Dvolume.c439 uds_get_list_number_bounds(volume->index_page_map, chapter, index_page_number, in init_chapter_index_page()
449 (unsigned long long) volume->index_page_map->last_update); in init_chapter_index_page()
974 index_page_number = uds_find_index_page_number(volume->index_page_map, in uds_search_volume_page_cache()
1006 uds_find_index_page_number(volume->index_page_map, name, in uds_search_volume_page_cache_for_rebuild()
1138 uds_update_index_page_map(volume->index_page_map, in write_index_pages()
1617 result = uds_make_index_page_map(geometry, &volume->index_page_map); in uds_make_volume()
1688 uds_free_index_page_map(volume->index_page_map); in uds_free_volume()
H A Dindex.c856 uds_update_index_page_map(index->volume->index_page_map, vcn, chapter, in rebuild_index_page_map()
1049 old_map_update = index->volume->index_page_map->last_update; in replay_volume()
1062 new_map_update = index->volume->index_page_map->last_update; in replay_volume()