Struct squashfs::inode::ExtendedFile [−][src]
#[repr(C)]pub struct ExtendedFile { pub block_idx: u64, pub size: u64, pub sparse: u64, pub nlink: u32, pub fragment_block_idx: u32, pub offset: u32, pub xattr_idx: u32, }
Fields
block_idx: u64
The offset from the start of the archive where the data blocks are stored
size: u64
The (uncompressed) size of this file
sparse: u64
The number of bytes saved by omitting blocks of zero bytes. Used in the kernel for sparse file accounting
nlink: u32
The number of hard links to this node
fragment_block_idx: u32
The index of a fragment entry in the fragment table which describes the data block the fragment of this file is stored in. If this file does not end with a fragment, this should be 0xFFFFFFFF
offset: u32
The (uncompressed) offset within the fragment data block where the fragment for this file. Information about the fragment can be found at fragment_block_index
. The size of the fragment can be found as file_size % superblock.block_size
If this file does not end with a fragment, the value of this field is undefined (probably zero)
xattr_idx: u32
An index into the xattr lookup table. Set to 0xFFFFFFFF if the inode has no extended attributes
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for ExtendedFile
impl Send for ExtendedFile
impl Sync for ExtendedFile
impl Unpin for ExtendedFile
impl UnwindSafe for ExtendedFile
Blanket Implementations
Mutably borrows from an owned value. Read more