vdo_pack_version_number(9)
πΈ NAME πΈ
vdo_pack_version_number β okay so this one is literally just "convert a version_number to its packed on-disk representation" π
that's the whole vibe, no notes.
Oh and hey, welcome to the Kernel API Manual, section 9 β kernel internals, iykyk π«Ά
β¨ SYNOPSIS β¨
struct packed_version_number vdo_pack_version_number (struct
version_number version );
π ARGUMENTS π
versionβ the version number you want converted. that's it. that's the one. hand it over and let her cook π
π RETURN π
She gives you back the platform-independent representation of the version β¨ same info, packaged for the disk, no cap.
π SEE ALSO π
Bestie there are so many cousins at this family reunion, buckle up π β starting with the file she lives in:
- Kernel file
./drivers/md/dm-vdo/encodings.hBlock map entries(9) vdo_are_same_version(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_get_index_region_size(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)
fr fr go read vdo_unpack_version_number(9) next, she's the reverse operation and they're giving matched-set main character energy π¦
Anyway bestie that's the whole page, mwah π this lil guy ships out of ./drivers/md/dm-vdo and the version stamp says October 2026 β go forth and pack those version numbers, 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