vdo_parse_geometry_block(9)
π NAME π
okay so bestie, welcome to the Kernel API Manual, section 9 β this one's vdo_parse_geometry_block, and it's giving decoder girlie β¨
vdo_parse_geometry_block β decode and validate an encoded geometry block. that's it, that's the whole job, and she does it flawlessly π
β¨ SYNOPSIS β¨
int vdo_parse_geometry_block (u8 *block , struct volume_geometry *geometry );
like yes, two arguments, one int coming back at you, no cap π«Ά
π ARGUMENTS π
blockβ the encoded geometry block. this is the raw little guy you're handing over to get read πgeometryβ the structure that receives the decoded fields. she's the empty container, and she is about to be filled with truth π¦
π SEE ALSO π
bestie, the friend group is huge, lowkey iconic. also worth noting the kernel file this all lives in: ./drivers/md/dm-vdo/encodings.c π
validate_version(9)vdo_validate_header(9)decode_volume_geometry(9)vdo_encode_volume_geometry(9)vdo_compute_new_forest_pages(9)encode_recovery_journal_state_7_0(9)decode_recovery_journal_state_7_0(9)vdo_get_journal_operation_name(9)encode_slab_depot_state_2_0(9)decode_slab_depot_state_2_0(9)vdo_configure_slab_depot(9)vdo_configure_slab(9)vdo_decode_slab_journal_entry(9)allocate_partition(9)make_partition(9)vdo_initialize_layout(9)vdo_uninitialize_layout(9)vdo_get_partition(9)vdo_get_known_partition(9)pack_vdo_config(9)pack_vdo_component(9)unpack_vdo_config(9)unpack_vdo_component_41_0(9)decode_vdo_component(9)vdo_validate_config(9)vdo_destroy_component_states(9)decode_components(9)vdo_decode_component_states(9)vdo_validate_component_states(9)vdo_encode_component_states(9)vdo_encode_super_block(9)vdo_decode_super_block(9)vdo_initialize_component_states(9)vdo_compute_index_blocks(9)vdo_initialize_volume_geometry(9)
ngl the whole squad showed up for this one π read them all, iykyk πΈ
okay that's the page!! mwah π this little beauty lives in ./drivers/md/dm-vdo, stamped October 2026, and yes she's still called vdo_parse_geometry_block(9) β periodt πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms