Home
last modified time | relevance | path

Searched refs:metadata_file (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Virtualization/authfs/src/fsverity/metadata/
Dmetadata.rs47 metadata_file: File, field
56 let file_size = self.metadata_file.metadata()?.size(); in read_merkle_tree()
64 self.metadata_file.read_exact_at(&mut buf[..read_size], start)?; in read_merkle_tree()
82 pub fn parse_fsverity_metadata(mut metadata_file: File) -> io::Result<Box<FSVerityMetadata>> { in parse_fsverity_metadata()
95 metadata_file.read_exact(back_buffer)?; in parse_fsverity_metadata()
127 metadata_file.read_exact(&mut buf)?; in parse_fsverity_metadata()
135 (metadata_file.stream_position()? + CHUNK_SIZE - 1) / CHUNK_SIZE * CHUNK_SIZE; in parse_fsverity_metadata()
137 Ok(Box::new(FSVerityMetadata { header, digest, signature, metadata_file, merkle_tree_offset })) in parse_fsverity_metadata()
/packages/modules/Virtualization/virtualizationmanager/src/
Dpayload.rs233 let mut metadata_file = OpenOptions::new() in make_metadata_file() localVariable
239 microdroid_metadata::write_metadata(&metadata, &mut metadata_file)?; in make_metadata_file()
286 let metadata_file = make_metadata_file(app_config, &apex_infos, temporary_directory)?; in make_payload_disk() localVariable
290 image: Some(metadata_file), in make_payload_disk()