|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
One non-reentrant downloader filesystem dependency bundle. More...
#include <mdl_storage.h>
Data Fields | |
| const fw_fs_t * | fs |
| Injected portable filesystem. | |
| void * | file_workspace |
| Open-file backend state. | |
| void * | transaction_workspace |
| Transaction backend state. | |
| uint8_t * | io_buffer |
| Caller-owned stream scratch. | |
| uint32_t | file_workspace_bytes |
| File workspace extent. | |
| uint32_t | transaction_workspace_bytes |
| Transaction workspace extent. | |
| uint32_t | io_buffer_bytes |
| Stream scratch extent. | |
One non-reentrant downloader filesystem dependency bundle.
File and transaction storage remains owned by the composition root. The capacities and alignments are checked once by mdl_storage_init. One instance supports one operation at a time; independent workers require independent workspaces and bindings.
Definition at line 40 of file mdl_storage.h.
| void* mdl_storage_t::file_workspace |
Open-file backend state.
Definition at line 42 of file mdl_storage.h.
Referenced by internal_begin_copy(), internal_cache_decode(), internal_cache_read_body_exact(), internal_io_open(), internal_mdl_state_load_slot(), internal_mdl_state_paths(), internal_mdl_state_scan_slot(), mdl_config_load(), mdl_hash_file(), mdl_urlname_sniff_file(), mdl_verify_file(), priv_mdl_export_source_open(), and priv_mdl_rabook_epub_open().
| uint32_t mdl_storage_t::file_workspace_bytes |
File workspace extent.
Definition at line 45 of file mdl_storage.h.
Referenced by internal_begin_copy(), internal_cache_decode(), internal_cache_read_body_exact(), internal_io_open(), internal_mdl_state_load_slot(), internal_mdl_state_scan_slot(), mdl_config_load(), mdl_hash_file(), mdl_urlname_sniff_file(), mdl_verify_file(), priv_mdl_export_source_open(), and priv_mdl_rabook_epub_open().
| const fw_fs_t* mdl_storage_t::fs |
Injected portable filesystem.
Definition at line 41 of file mdl_storage.h.
Referenced by internal_begin_copy(), internal_cache_decode(), internal_cache_discard_index(), internal_cache_ensure_directory(), internal_cache_read_body_exact(), internal_io_open(), internal_jof_load_source(), internal_library_act_on_node(), internal_library_first_child(), internal_library_leaf(), internal_library_remove_child(), internal_library_remove_root(), internal_library_remove_walk(), internal_library_root(), internal_list_pages_open_dir(), internal_mdl_fetch_discard_stale_page(), internal_mdl_state_build_stage(), internal_mdl_state_load_slot(), internal_mdl_state_paths(), internal_mdl_state_prepare_target(), internal_mdl_state_scan_slot(), internal_meta_load_candidate(), internal_metadata_set_page_timestamp(), internal_policy(), internal_source_size(), internal_txn_begin(), mdl_config_load(), mdl_hash_file(), mdl_join_dir_under(), mdl_library_for_each(), mdl_library_remove_tree(), mdl_meta_load_dir(), mdl_state_probe(), mdl_storage_copy_atomic(), mdl_storage_txn_begin(), mdl_urlname_sniff_file(), mdl_verify_file(), priv_mdl_app_storage_ensure_directory(), priv_mdl_app_storage_publish_site(), priv_mdl_app_storage_unlink_regular(), priv_mdl_cache_load(), priv_mdl_cache_read_body(), priv_mdl_export_prepare_cover(), priv_mdl_export_rabook(), priv_mdl_export_source_open(), and priv_mdl_rabook_epub_open().
| uint8_t* mdl_storage_t::io_buffer |
Caller-owned stream scratch.
Definition at line 44 of file mdl_storage.h.
Referenced by internal_config_next(), internal_copy_payload(), internal_gzip_consume(), internal_mdl_state_hash_payload(), internal_mdl_state_paths(), internal_mdl_state_reader_byte(), internal_mdl_state_reader_refill(), mdl_config_load(), mdl_hash_file(), mdl_storage_copy_atomic(), mdl_storage_txn_commit(), mdl_verify_file(), mdl_verify_open_file(), priv_mdl_app_storage_publish_site(), priv_mdl_export_source_copy(), priv_mdl_export_source_verify_close(), priv_mdl_state_parse_file(), and priv_mdl_verify_tar().
| uint32_t mdl_storage_t::io_buffer_bytes |
Stream scratch extent.
Definition at line 47 of file mdl_storage.h.
Referenced by internal_config_next(), internal_copy_payload(), internal_gzip_consume(), internal_mdl_state_hash_payload(), internal_mdl_state_paths(), internal_mdl_state_reader_refill(), mdl_config_load(), mdl_hash_file(), mdl_storage_copy_atomic(), mdl_storage_txn_commit(), mdl_verify_file(), mdl_verify_open_file(), priv_mdl_app_storage_publish_site(), priv_mdl_export_source_copy(), priv_mdl_export_source_verify_close(), priv_mdl_state_parse_file(), and priv_mdl_verify_tar().
| void* mdl_storage_t::transaction_workspace |
Transaction backend state.
Definition at line 43 of file mdl_storage.h.
Referenced by internal_begin_copy(), internal_mdl_state_build_stage(), internal_mdl_state_paths(), and internal_txn_begin().
| uint32_t mdl_storage_t::transaction_workspace_bytes |
Transaction workspace extent.
Definition at line 46 of file mdl_storage.h.
Referenced by internal_begin_copy(), internal_mdl_state_build_stage(), and internal_txn_begin().