vdo_get_slab..._start_block(9)
π vdo_get_slab..._start_block(9) β from the Kernel API Manual, bestie π
okay so picture this: you're deep in the kernel, dm-vdo edition, and this lil function page just wants to tell you where the slab journal starts. that's it. that's the whole vibe. no cap. β¨
πΈ NAME πΈ
vdo_get_slab_journal_start_block β literally just gets you the physical block number of the start of the slab journal, measured relative to the start block allocator partition. she's giving "where does this thing begin," and honestly? iconic. π
β¨ SYNOPSIS β¨
physical_block_number_t vdo_get_slab_journal_start_block (const struct
slab_config *slab_config , physical_block_number_t origin );
so she takes two things and hands you back a physical_block_number_t. slay. π«Ά
π¦ ARGUMENTS π¦
slab_configβ the slab configuration of the VDO. yes, the whole configuration. she needs the context, okay?? main character energy only. πoriginβ the first block of the slab. the starting point. the beginning of the era. π«
π SEE ALSO π
okay these are the friends she keeps in her notes app, the whole encodings.h group chat fr fr β kernel file ./drivers/md/dm-vdo/encodings.h and the entire Block map entries(9) crew:
- 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_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_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β¦ that's a lot of mutuals but we respect every single one of them. π«‘π
ngl bestie, every name above is copied exactly as-is β no paraphrasing, no merging, no invented options. type them carefully or the vibe check will NOT pass. π
and that's the page!! mwah π this one lives in ./drivers/md/dm-vdo, dated October 2026, brought to you by the Kernel API Manual and by me, your local Unix girlie who wants you to thrive. go get that block number, queen. ππ§ββοΈβ
π¦ 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