Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/md/dm-vdo/indexer/
Dio-factory.h18 struct buffered_writer;
55 struct buffered_writer **writer_ptr);
57 void uds_free_buffered_writer(struct buffered_writer *buffer);
59 int __must_check uds_write_to_buffered_writer(struct buffered_writer *writer,
62 int __must_check uds_flush_buffered_writer(struct buffered_writer *writer);
Dio-factory.c46 struct buffered_writer { struct
275 struct buffered_writer **writer_ptr) in uds_make_buffered_writer()
279 struct buffered_writer *writer; in uds_make_buffered_writer()
285 result = vdo_allocate(1, struct buffered_writer, "buffered writer", &writer); in uds_make_buffered_writer()
291 *writer = (struct buffered_writer) { in uds_make_buffered_writer()
307 static size_t get_remaining_write_space(struct buffered_writer *writer) in get_remaining_write_space()
312 static int __must_check prepare_next_buffer(struct buffered_writer *writer) in prepare_next_buffer()
334 static int flush_previous_buffer(struct buffered_writer *writer) in flush_previous_buffer()
358 void uds_free_buffered_writer(struct buffered_writer *writer) in uds_free_buffered_writer()
379 int uds_write_to_buffered_writer(struct buffered_writer *writer, const u8 *data, in uds_write_to_buffered_writer()
[all …]
Ddelta-index.h49 struct buffered_writer *buffered_writer; member
234 struct buffered_writer *buffered_writer);
239 int __must_check uds_write_guard_delta_list(struct buffered_writer *buffered_writer);
Ddelta-index.c332 delta_zone->buffered_writer = NULL; in initialize_delta_zone()
546 delta_zone->buffered_writer = NULL; in uds_initialize_delta_index_page()
1102 result = uds_write_to_buffered_writer(zone->buffered_writer, buffer, in flush_delta_list()
1109 result = uds_write_to_buffered_writer(zone->buffered_writer, in flush_delta_list()
1121 struct buffered_writer *buffered_writer) in uds_start_saving_delta_index() argument
1145 result = uds_write_to_buffered_writer(buffered_writer, buffer, offset); in uds_start_saving_delta_index()
1156 result = uds_write_to_buffered_writer(buffered_writer, data, in uds_start_saving_delta_index()
1163 delta_zone->buffered_writer = buffered_writer; in uds_start_saving_delta_index()
1186 delta_zone->buffered_writer = NULL; in uds_finish_saving_delta_index()
1190 int uds_write_guard_delta_list(struct buffered_writer *buffered_writer) in uds_write_guard_delta_list() argument
[all …]
Dindex-page-map.h34 struct buffered_writer *writer);
Dopen-chapter.h72 struct buffered_writer *writer);
Dconfig.h119 int __must_check uds_write_config_contents(struct buffered_writer *writer,
Dvolume-index.c1008 struct buffered_writer *buffered_writer) in start_saving_volume_sub_index() argument
1032 result = uds_write_to_buffered_writer(buffered_writer, buffer, offset); in start_saving_volume_sub_index()
1041 result = uds_write_to_buffered_writer(buffered_writer, encoded, in start_saving_volume_sub_index()
1050 buffered_writer); in start_saving_volume_sub_index()
1055 struct buffered_writer *writer) in start_saving_volume_index()
1108 struct buffered_writer **writers, unsigned int writer_count) in uds_save_volume_index()
Dindex-layout.c338 struct buffered_writer **writer_ptr) in open_layout_writer()
345 struct buffered_writer **writer_ptr) in open_region_writer()
542 struct buffered_writer *writer) in write_index_save_header()
579 struct buffered_writer *writer; in write_index_save_layout()
712 struct buffered_writer *writer) in write_layout_header()
754 struct buffered_writer *writer = NULL; in write_uds_index_config()
779 struct buffered_writer *writer = NULL; in save_layout()
888 struct buffered_writer *writer; in uds_discard_open_chapter()
1075 struct buffered_writer *writers[MAX_ZONES]; in uds_save_index_state()
Dvolume-index.h187 struct buffered_writer **writers,
Dindex-page-map.c113 int uds_write_index_page_map(struct index_page_map *map, struct buffered_writer *writer) in uds_write_index_page_map()
Dopen-chapter.c292 int uds_save_open_chapter(struct uds_index *index, struct buffered_writer *writer) in uds_save_open_chapter()
Dconfig.c174 int uds_write_config_contents(struct buffered_writer *writer, in uds_write_config_contents()