get_block_al...r_statistics(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– get_block_al...r_statistics(9) πŸ’–

okay so first things first: this page is from the Kernel API Manual, and it's about one tiny but important function, bestie. No cap, it's giving β€œone job, very specific stats.” πŸ’…


🌟 NAME 🌟

get_block_allocator_statistics β€” get the total of the statistics from all the block allocators in the depot. That's literally it, and it ate. ✨

✨ SYNOPSIS ✨

here's the exact signature, character for character, because we respect the code:

struct block_allocator_statistics get_block_allocator_statistics (const
       struct slab_depot *depot );

πŸŽ€ ARGUMENTS πŸŽ€

  • depot β€” the slab depot. That's the one and only argument, bestie. 🫢

πŸ¦‹ RETURN πŸ¦‹

The return value is the statistics from all block allocators in the depot. The synopsis says the return type is struct block_allocator_statistics, so that's the shape of the stats you're getting back. ✨

🌈 SEE ALSO 🌈

Kernel file: ./drivers/md/dm-vdo/slab-depot.c. The related-calls squad is huge and iconic, so here it is in original order, chunked for your scrolling convenience:


xoxo, your Kernel API Manual bestie πŸ’… β€” source/version ./drivers/md/dm-vdo, dated October 2026, for get_block_al...r_statistics(9). βœ¨πŸ’–

πŸ“¦ where this page comes from