Home
last modified time | relevance | path

Searched refs:index_geometry (Results 1 – 18 of 18) sorted by relevance

/linux-6.12.1/drivers/md/dm-vdo/indexer/
Dgeometry.h17 struct index_geometry { struct
102 struct index_geometry **geometry_ptr);
104 int __must_check uds_copy_index_geometry(struct index_geometry *source,
105 struct index_geometry **geometry_ptr);
107 void uds_free_index_geometry(struct index_geometry *geometry);
109 u32 __must_check uds_map_to_physical_chapter(const struct index_geometry *geometry,
117 uds_is_reduced_index_geometry(const struct index_geometry *geometry) in uds_is_reduced_index_geometry()
123 uds_is_sparse_index_geometry(const struct index_geometry *geometry) in uds_is_sparse_index_geometry()
128 bool __must_check uds_has_sparse_chapters(const struct index_geometry *geometry,
132 bool __must_check uds_is_chapter_sparse(const struct index_geometry *geometry,
[all …]
Dgeometry.c59 struct index_geometry **geometry_ptr) in uds_make_index_geometry()
62 struct index_geometry *geometry; in uds_make_index_geometry()
64 result = vdo_allocate(1, struct index_geometry, "geometry", &geometry); in uds_make_index_geometry()
111 int uds_copy_index_geometry(struct index_geometry *source, in uds_copy_index_geometry()
112 struct index_geometry **geometry_ptr) in uds_copy_index_geometry()
122 void uds_free_index_geometry(struct index_geometry *geometry) in uds_free_index_geometry()
127 u32 __must_check uds_map_to_physical_chapter(const struct index_geometry *geometry, in uds_map_to_physical_chapter()
155 bool uds_has_sparse_chapters(const struct index_geometry *geometry, in uds_has_sparse_chapters()
163 bool uds_is_chapter_sparse(const struct index_geometry *geometry, in uds_is_chapter_sparse()
174 u32 uds_chapters_to_expire(const struct index_geometry *geometry, u64 newest_chapter) in uds_chapters_to_expire()
Dchapter-index.h25 const struct index_geometry *geometry;
33 const struct index_geometry *geometry,
50 const struct index_geometry *geometry,
54 const struct index_geometry *geometry);
57 const struct index_geometry *geometry,
Dindex-page-map.h19 const struct index_geometry *geometry;
25 int __must_check uds_make_index_page_map(const struct index_geometry *geometry,
48 u64 uds_compute_index_page_map_save_size(const struct index_geometry *geometry);
Dchapter-index.c17 const struct index_geometry *geometry, u64 volume_nonce) in uds_make_open_chapter_index()
82 const struct index_geometry *geometry = chapter_index->geometry; in uds_put_open_chapter_index_record()
131 const struct index_geometry *geometry = chapter_index->geometry; in uds_pack_open_chapter_index_page()
210 const struct index_geometry *geometry, in uds_initialize_chapter_index_page()
221 const struct index_geometry *geometry) in uds_validate_chapter_index_page()
271 const struct index_geometry *geometry, in uds_search_chapter_index_page()
Dhash-utils.h47 const struct index_geometry *geometry) in uds_hash_to_chapter_delta_list()
55 const struct index_geometry *geometry) in uds_hash_to_chapter_delta_address()
Dopen-chapter.h46 int __must_check uds_make_open_chapter(const struct index_geometry *geometry,
77 u64 uds_compute_saved_open_chapter_size(struct index_geometry *geometry);
Dconfig.c29 struct index_geometry *saved_geometry, in are_matching_configurations()
32 struct index_geometry *geometry = user->geometry; in are_matching_configurations()
98 struct index_geometry geometry; in uds_validate_config_contents()
178 struct index_geometry *geometry = config->geometry; in uds_write_config_contents()
365 struct index_geometry *geometry = config->geometry; in uds_log_configuration()
Dindex-page-map.c30 static inline u32 get_entry_count(const struct index_geometry *geometry) in get_entry_count()
35 int uds_make_index_page_map(const struct index_geometry *geometry, in uds_make_index_page_map()
108 u64 uds_compute_index_page_map_save_size(const struct index_geometry *geometry) in uds_compute_index_page_map_save_size()
Dvolume.c86 static inline u32 map_to_page_number(struct index_geometry *geometry, u32 physical_page) in map_to_page_number()
91 static inline u32 map_to_chapter_number(struct index_geometry *geometry, u32 physical_page) in map_to_chapter_number()
96 static inline bool is_record_page(struct index_geometry *geometry, u32 physical_page) in is_record_page()
101 static u32 map_to_physical_page(const struct index_geometry *geometry, u32 chapter, u32 page) in map_to_physical_page()
425 struct index_geometry *geometry = volume->geometry; in init_chapter_index_page()
471 const struct index_geometry *geometry, in search_record_page()
884 struct index_geometry *geometry = volume->geometry; in uds_search_cached_record_page()
926 const struct index_geometry *geometry = volume->geometry; in uds_prefetch_volume_chapter()
938 const struct index_geometry *geometry = volume->geometry; in uds_read_chapter_index_from_volume()
997 struct index_geometry *geometry = volume->geometry; in uds_search_volume_page_cache_for_rebuild()
[all …]
Dsparse-cache.c155 const struct index_geometry *geometry;
218 const struct index_geometry *geometry) in initialize_cached_chapter_index()
258 int uds_make_sparse_cache(const struct index_geometry *geometry, unsigned int capacity, in uds_make_sparse_cache()
559 const struct index_geometry *geometry, in search_cached_chapter_index()
Dsparse-cache.h29 int __must_check uds_make_sparse_cache(const struct index_geometry *geometry,
Dconfig.h40 struct index_geometry *geometry;
Dopen-chapter.c63 int uds_make_open_chapter(const struct index_geometry *geometry, unsigned int zone_count, in uds_make_open_chapter()
348 u64 uds_compute_saved_open_chapter_size(struct index_geometry *geometry) in uds_compute_saved_open_chapter_size()
Dvolume.h100 struct index_geometry *geometry;
Dindex.c648 const struct index_geometry *geometry) in initialize_index_queues()
829 struct index_geometry *geometry = index->volume->geometry; in rebuild_index_page_map()
976 const struct index_geometry *geometry; in replay_chapter()
Dvolume-index.c85 struct index_geometry hook_geometry;
89 struct index_geometry non_hook_geometry;
210 struct index_geometry *geometry = config->geometry; in compute_volume_sub_index_parameters()
Dindex-layout.c224 struct index_geometry *geometry = config->geometry; in compute_sizes()