vdo_get_index_region_size(9)
π vdo_get_index_region_size β the Kernel API Manual bestie drop π
okay so real talk, this one lives in the Kernel API Manual (yes, the whole manual, she's fancy) and it's giving "one tiny function, huge friend group" energy π
β¨ NAME β¨
vdo_get_index_region_size β bestie, this literally just gets the size of the index region from a geometry. that's it. that's the whole job. and she does it flawlessly π«Ά
πΈ SYNOPSIS πΈ
physical_block_number_t vdo_get_index_region_size (struct
volume_geometry geometry );
the way it takes a struct volume_geometry and hands you back a physical_block_number_tβ¦ iconic behavior, no notes π
π¦ ARGUMENTS π¦
geometryβ the geometry. like, the geometry. you give her the geometry, she gives you the size. a whole transaction, a whole vibe check, and yes she passes π
β RETURN β
it returns the size of the index region. that's the answer, that's the plot twist, that's the whole main character arc π₯
π SEE ALSO π
okay this is the part where I have to list the entire friend group because every single one of them matters, no cap. gather round π§
- Kernel file
./drivers/md/dm-vdo/encodings.h Block map entries(9)vdo_are_same_version(9)vdo_pack_version_number(9)vdo_unpack_version_number(9)vdo_pack_header(9)vdo_unpack_header(9)vdo_get_index_region_start(9)vdo_get_data_region_start(9)vdo_pack_recovery_journal_entry(9)vdo_unpack_recovery_journal_entry(9)vdo_is_valid_recovery_journal_sector(9)vdo_compute_recovery_journal_block_number(9)vdo_get_journal_block_sector(9)vdo_pack_recovery_block_header(9)vdo_unpack_recovery_block_header(9)vdo_compute_slab_count(9)vdo_get_saved_reference_count_size(9)vdo_get_slab_journal_start_block(9)vdo_advance_journal_point(9)vdo_before_journal_point(9)vdo_pack_journal_point(9)vdo_unpack_journal_point(9)vdo_pack_slab_journal_block_header(9)vdo_unpack_slab_journal_block_header(9)vdo_pack_slab_journal_entry(9)vdo_unpack_slab_journal_entry(9)vdo_get_slab_summary_hint_shift(9)
like, the roster is long but every name is on the list for a reason, iykyk πΈ
and that's the page, bestie π shoutout to ./drivers/md/dm-vdo for hosting this whole situation, dated October 2026 β future vibes only, we love to see it πβ¨ π¦
π¦ 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