Home
last modified time | relevance | path

Searched refs:buffered_reader (Results 1 – 13 of 13) sorted by relevance

/linux-6.12.1/drivers/md/dm-vdo/indexer/
Dio-factory.h17 struct buffered_reader;
43 struct buffered_reader **reader_ptr);
45 void uds_free_buffered_reader(struct buffered_reader *reader);
47 int __must_check uds_read_from_buffered_reader(struct buffered_reader *reader, u8 *data,
50 int __must_check uds_verify_buffered_data(struct buffered_reader *reader, const u8 *value,
Dio-factory.c30 struct buffered_reader { struct
112 static void read_ahead(struct buffered_reader *reader, sector_t block_number) in read_ahead()
122 void uds_free_buffered_reader(struct buffered_reader *reader) in uds_free_buffered_reader()
137 struct buffered_reader **reader_ptr) in uds_make_buffered_reader()
141 struct buffered_reader *reader = NULL; in uds_make_buffered_reader()
147 result = vdo_allocate(1, struct buffered_reader, "buffered reader", &reader); in uds_make_buffered_reader()
153 *reader = (struct buffered_reader) { in uds_make_buffered_reader()
169 static int position_reader(struct buffered_reader *reader, sector_t block_number, in position_reader()
197 static size_t bytes_remaining_in_read_buffer(struct buffered_reader *reader) in bytes_remaining_in_read_buffer()
202 static int reset_reader(struct buffered_reader *reader) in reset_reader()
[all …]
Ddelta-index.h222 struct buffered_reader **buffered_readers,
226 struct buffered_reader **buffered_readers,
229 int __must_check uds_check_guard_delta_lists(struct buffered_reader **buffered_readers,
Dindex-page-map.h31 struct buffered_reader *reader);
Dindex-layout.c323 struct buffered_reader **reader_ptr) in open_layout_reader()
330 struct buffered_reader **reader_ptr) in open_region_reader()
914 struct buffered_reader *readers[MAX_ZONES]; in uds_load_index_state()
1136 static int __must_check load_region_table(struct buffered_reader *reader, in load_region_table()
1196 static int __must_check read_super_block_data(struct buffered_reader *reader, in read_super_block_data()
1379 u64 first_block, struct buffered_reader *reader) in load_super_block()
1414 static int __must_check read_index_save_data(struct buffered_reader *reader, in read_index_save_data()
1534 struct buffered_reader *reader, in load_index_save()
1594 struct buffered_reader *reader; in load_sub_index_regions()
1623 struct buffered_reader *reader = NULL; in verify_uds_index_config()
[all …]
Dopen-chapter.h75 struct buffered_reader *reader);
Dconfig.h116 int __must_check uds_validate_config_contents(struct buffered_reader *reader,
Dopen-chapter.c356 static int load_version20(struct uds_index *index, struct buffered_reader *reader) in load_version20()
405 int uds_load_open_chapter(struct uds_index *index, struct buffered_reader *reader) in uds_load_open_chapter()
Dvolume-index.h183 struct buffered_reader **readers,
Dvolume-index.c806 struct buffered_reader **readers, in start_restoring_volume_sub_index()
900 struct buffered_reader **buffered_readers, in start_restoring_volume_index()
958 struct buffered_reader **buffered_readers, in finish_restoring_volume_sub_index()
966 struct buffered_reader **buffered_readers, in finish_restoring_volume_index()
983 struct buffered_reader **readers, unsigned int reader_count) in uds_load_volume_index()
Ddelta-index.c824 struct buffered_reader **buffered_readers, in uds_start_restoring_delta_index()
990 struct buffered_reader *buffered_reader, u8 *data) in restore_delta_list_data() argument
997 result = uds_read_from_buffered_reader(buffered_reader, buffer, sizeof(buffer)); in restore_delta_list_data()
1027 result = uds_read_from_buffered_reader(buffered_reader, data, in restore_delta_list_data()
1042 struct buffered_reader **buffered_readers, in uds_finish_restoring_delta_index()
1069 int uds_check_guard_delta_lists(struct buffered_reader **buffered_readers, in uds_check_guard_delta_lists()
Dindex-page-map.c139 int uds_read_index_page_map(struct index_page_map *map, struct buffered_reader *reader) in uds_read_index_page_map()
Dconfig.c93 int uds_validate_config_contents(struct buffered_reader *reader, in uds_validate_config_contents()