Lines Matching defs:volume

355 static void enqueue_page_read(struct volume *volume, struct uds_request *request,  in enqueue_page_read()
402 static inline struct queued_read *wait_to_reserve_read_queue_entry(struct volume *volume) in wait_to_reserve_read_queue_entry()
417 static int init_chapter_index_page(const struct volume *volume, u8 *index_page, in init_chapter_index_page()
459 static int initialize_index_page(const struct volume *volume, u32 physical_page, in initialize_index_page()
506 static int search_page(struct cached_page *page, const struct volume *volume, in search_page()
541 static int process_entry(struct volume *volume, struct queued_read *entry) in process_entry()
599 static void release_queued_requests(struct volume *volume, struct queued_read *entry, in release_queued_requests()
625 struct volume *volume = arg; in read_thread_function() local
693 static int read_page_locked(struct volume *volume, u32 physical_page, in read_page_locked()
733 static int get_volume_page_locked(struct volume *volume, u32 physical_page, in get_volume_page_locked()
753 static int get_volume_page_protected(struct volume *volume, struct uds_request *request, in get_volume_page_protected()
806 static int get_volume_page(struct volume *volume, u32 chapter, u32 page_number, in get_volume_page()
818 int uds_get_volume_record_page(struct volume *volume, u32 chapter, u32 page_number, in uds_get_volume_record_page()
830 int uds_get_volume_index_page(struct volume *volume, u32 chapter, u32 page_number, in uds_get_volume_index_page()
846 static int search_cached_index_page(struct volume *volume, struct uds_request *request, in search_cached_index_page()
880 int uds_search_cached_record_page(struct volume *volume, struct uds_request *request, in uds_search_cached_record_page()
924 void uds_prefetch_volume_chapter(const struct volume *volume, u32 chapter) in uds_prefetch_volume_chapter()
932 int uds_read_chapter_index_from_volume(const struct volume *volume, u64 virtual_chapter, in uds_read_chapter_index_from_volume()
965 int uds_search_volume_page_cache(struct volume *volume, struct uds_request *request, in uds_search_volume_page_cache()
992 int uds_search_volume_page_cache_for_rebuild(struct volume *volume, in uds_search_volume_page_cache_for_rebuild()
1047 void uds_forget_chapter(struct volume *volume, u64 virtual_chapter) in uds_forget_chapter()
1065 static int donate_index_page_locked(struct volume *volume, u32 physical_chapter, in donate_index_page_locked()
1095 static int write_index_pages(struct volume *volume, u32 physical_chapter_number, in write_index_pages()
1180 static int encode_record_page(const struct volume *volume, in encode_record_page()
1205 static int write_record_pages(struct volume *volume, u32 physical_chapter_number, in write_record_pages()
1244 int uds_write_chapter(struct volume *volume, struct open_chapter_index *chapter_index, in uds_write_chapter()
1267 static void probe_chapter(struct volume *volume, u32 chapter_number, in probe_chapter()
1326 static void find_real_end_of_volume(struct volume *volume, u32 limit, u32 *limit_ptr) in find_real_end_of_volume()
1351 static int find_chapter_limits(struct volume *volume, u32 chapter_limit, u64 *lowest_vcn, in find_chapter_limits()
1449 int uds_find_volume_chapter_boundaries(struct volume *volume, u64 *lowest_vcn, in uds_find_volume_chapter_boundaries()
1466 int __must_check uds_replace_volume_storage(struct volume *volume, in uds_replace_volume_storage()
1544 struct volume *volume = NULL; in uds_make_volume() local
1663 void uds_free_volume(struct volume *volume) in uds_free_volume()