Home
last modified time | relevance | path

Searched defs:SparseHeader (Results 1 – 4 of 4) sorted by relevance

/aosp_15_r20/packages/modules/Virtualization/android/virtmgr/src/
Dcomposite.rs136 struct SparseHeader { in get_partition_size() struct
137 magic: u32, in get_partition_size()
138 major_version: u16, in get_partition_size()
139 minor_version: u16, in get_partition_size()
140 file_hdr_sz: u16, in get_partition_size()
141 chunk_hdr_size: u16, in get_partition_size()
142 blk_sz: u32, in get_partition_size()
143 total_blks: u32, in get_partition_size()
144 total_chunks: u32, in get_partition_size()
145 image_checksum: u32, in get_partition_size()
/aosp_15_r20/bootable/libbootloader/gbl/libgbl/src/fastboot/
H A Dsparse.rs37 pub struct SparseHeader { struct
49 impl SparseHeader { argument
69 pub fn is_sparse_image(sparse_img: &[u8]) -> Result<SparseHeader, Error> { in is_sparse_image()
/aosp_15_r20/external/cronet/net/disk_cache/blockfile/
H A Ddisk_format_base.h103 struct SparseHeader { struct
112 // The SparseHeader will be followed by a bitmap, as described by this argument
/aosp_15_r20/external/crosvm/disk/src/
H A Dandroid_sparse.rs60 struct SparseHeader { struct
61 magic: Le32, // SPARSE_HEADER_MAGIC
62 major_version: Le16, // (0x1) - reject images with higher major versions
63 minor_version: Le16, // (0x0) - allow images with higer minor versions
64 file_hdr_sz: Le16, // 28 bytes for first revision of the file format
65 chunk_hdr_size: Le16, // 12 bytes for first revision of the file format
66 blk_sz: Le32, // block size in bytes, must be a multiple of 4 (4096)
67 total_blks: Le32, // total blocks in the non-sparse output image
68 total_chunks: Le32, // total chunks in the sparse input image
71 image_checksum: Le32,