Lines Matching refs:index_layout

190 struct index_layout {
321 static int __must_check open_layout_reader(struct index_layout *layout,
329 static int open_region_reader(struct index_layout *layout, struct layout_region *region,
336 static int __must_check open_layout_writer(struct index_layout *layout,
344 static int open_region_writer(struct index_layout *layout, struct layout_region *region,
370 static void define_sub_index_nonce(struct index_layout *layout)
390 static void setup_sub_index(struct index_layout *layout, u64 start_block,
427 static void initialize_layout(struct index_layout *layout, struct save_layout_sizes *sls)
574 static int write_index_save_layout(struct index_layout *layout,
631 static int __must_check invalidate_old_save(struct index_layout *layout,
638 static int discard_index_state_data(struct index_layout *layout)
659 static int __must_check make_layout_region_table(struct index_layout *layout,
710 static int __must_check write_layout_header(struct index_layout *layout,
749 static int __must_check write_uds_index_config(struct index_layout *layout,
776 static int __must_check save_layout(struct index_layout *layout, off_t offset)
799 static int create_index_layout(struct index_layout *layout, struct uds_configuration *config)
857 static int find_latest_uds_index_save_slot(struct index_layout *layout,
884 int uds_discard_open_chapter(struct index_layout *layout)
909 int uds_load_index_state(struct index_layout *layout, struct uds_index *index)
960 static struct index_save_layout *select_oldest_index_save_layout(struct index_layout *layout)
1044 static int setup_uds_index_save_slot(struct index_layout *layout,
1070 int uds_save_index_state(struct index_layout *layout, struct uds_index *index)
1197 struct index_layout *layout,
1291 static int __must_check verify_sub_index(struct index_layout *layout, u64 start_block,
1333 static int __must_check reconstitute_layout(struct index_layout *layout,
1378 static int __must_check load_super_block(struct index_layout *layout, size_t block_size,
1589 static int __must_check load_sub_index_regions(struct index_layout *layout)
1619 static int __must_check verify_uds_index_config(struct index_layout *layout,
1641 static int load_index_layout(struct index_layout *layout, struct uds_configuration *config)
1664 static int create_layout_factory(struct index_layout *layout,
1690 struct index_layout **layout_ptr)
1693 struct index_layout *layout = NULL;
1700 result = vdo_allocate(1, struct index_layout, __func__, &layout);
1731 void uds_free_index_layout(struct index_layout *layout)
1743 int uds_replace_index_layout_storage(struct index_layout *layout,
1750 int uds_open_volume_bufio(struct index_layout *layout, size_t block_size,
1762 u64 uds_get_volume_nonce(struct index_layout *layout)