vdo_get_slab..._data_blocks(9)

๐Ÿ“ฆ version 7.3.1, in nixpkgs unstable

๐Ÿ’… vdo_get_slab_depot_data_blocks โ€” Kernel API Manual, section 9 ๐ŸŽ€

okay bestie, welcome to the vdo_get_slab_depot_data_blocks(9) page โ€” yes it's a "kernel API manual" page, yes it's section 9, and yes we're gonna make it cute. sit down, hydrate, let's go โœจ


โœจ NAME โœจ

vdo_get_slab_depot_data_blocks โ€” bestie, this one just counts. it gives you the total number of data blocks across all the slabs chilling in the depot. that's it. that's the whole vibe. ๐Ÿงฎ๐Ÿ’–


๐ŸŒธ SYNOPSIS ๐ŸŒธ

block_count_t vdo_get_slab_depot_data_blocks (const struct slab_depot
*depot );

literally just hand it the depot and it hands you back a block_count_t. no drama, no side quests. ๐Ÿซถ


๐Ÿฆ‹ ARGUMENTS ๐Ÿฆ‹

  • depot โ€” the slab depot. that's the whole argument. that's the entire ask. she just wants the depot. ๐Ÿ‘‘

๐ŸŽ€ CONTEXT ๐ŸŽ€

called from any thread, no cap. any thread at all. no special mood required, no locks to worry about, no "am i in the right context" anxiety spiral. come as you are. ๐Ÿ’…


โญ RETURN โญ

the total number of data blocks in all slabs. the grand total. the whole shebang. ๐ŸŒˆ


๐Ÿ‘‘ SEE ALSO ๐Ÿ‘‘

kernel file ./drivers/md/dm-vdo/slab-depot.c, plus the entire extended friend group of (9) pages โ€” and girl, it's a lot of them, so buckle up ๐Ÿ“:

like i said. the whole friend group. ๐Ÿ’€ but honestly? iconic. iykyk. ๐Ÿ”ฅ


and that's the page, bestie!! ๐ŸŽ‰ this one came out of <pink>./drivers/md/dm-vdo</pink> back in <purple>October 2026</purple>, and it's filed under <cyan>vdo_get_slab..._data_blocks(9)</cyan> โ€” go count some blocks, you absolute main character ๐Ÿ’œ๐Ÿฆ‹๐ŸŒธ

๐Ÿ“ฆ where this page comes from