vdo_entry_callback_fn(9)
π NAME π
okay so bestie, meet vdo_entry_callback_fn β it's the callback function that gets called for each allocated PBN when you're traversing the forest π²β¨ (yes, the forest, we love a nature metaphor). This page lives in the Kernel API Manual, and it's giving very niche-but-iconic, iykyk π
β¨ SYNOPSIS β¨
int vdo_entry_callback_fn (physical_block_number_t pbn , struct
vdo_completion *completion );
like, that's the whole signature, no notes π
πΈ ARGUMENTS πΈ
pbnβ a PBN of a tree node π¦ (a physical block number, bestie β the address of one lil node in the tree, no cap)completionβ the parent completion of the traversal π
β RETURN β
it hands you back VDO_SUCCESSβ¦ or an error π that's it, that's the deal. literally no in-between vibe fr fr.
π¦ SEE ALSO π¦
- the kernel file
./drivers/md/dm-vdo/block-map.hπ β go read it, it's right there vdo_convert_maximum_age(9)
and that's the page, bestie π«Ά the whole thing ships from ./drivers/md/dm-vdo and it's dated October 2026 β so mark your calendar, screenshot it, send it to the group chat ππ 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