MCPcopy Create free account
hub / github.com/Andy-Python-Programmer/aero / new

Method new

src/aero_kernel/src/fs/ext2/group_desc.rs:46–62  ·  view source on GitHub ↗

Reads the block group descriptors from the disk. ## Arguments `ext2` - Weak pointer to the EXT2 filesystem. This function does not call `upgrade` on the pointer so, it is valid to pass a semi-constructed `Arc ` pointer (e.g through `Arc::new_cyclic`) though invoking other functions on the group descriptors require the pointer to be fully constructed). `superblock` - Reference to the EXT2 supe

(
        ext2: Weak<Ext2>,
        device: &BlockDevice,
        superblock: &disk::SuperBlock,
    )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 6

bgdt_lenMethod · 0.80
bgdt_blockMethod · 0.80
as_bytes_mutMethod · 0.80
assume_initMethod · 0.80
readMethod · 0.45
block_sizeMethod · 0.45

Tested by

no test coverage detected