gen_pool_size(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– gen_pool_size β€” Kernel API Manual ✨

okay so bestie, welcome to the gen_pool_size(9) page, straight out of the Kernel API Manual πŸŽ€ β€” it's short, it's sweet, and it's giving "one job and it does it slayfully."


🌸 NAME 🌸

gen_pool_size β€” get size in bytes of memory managed by the pool πŸ’…


✨ SYNOPSIS ✨

size_t gen_pool_size (struct gen_pool *pool );

like, that's it. that's the whole vibe. one function, one pointer, one size_t coming back at you 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • pool β€” the pool you wanna get the size of. that's the one. the main character of this function call πŸ‘‘

πŸ’œ DESCRIPTION πŸ’œ

Return size in bytes of memory managed by the pool.

fr fr that's the whole thing β€” it hands you back a size_t, and that number is the size, in bytes, of the memory your pool is managing. no cap, no side quests, no surprises πŸ’€βœ¨


🌈 SEE ALSO 🌈

the kernel file is ./lib/genalloc.c and honestly the whole genalloc friend group is here β€” go say hi πŸ’–


bestie note 🫢: this page lives in ./lib and it's dated October 2026 β€” so yes, it's basically from the future, iconic behavior honestly ⭐

and that's a wrap on gen_pool_size(9) πŸ’… go forth and measure your pools, you absolute legend πŸ§šβ€β™€οΈπŸ’–

πŸ“¦ where this page comes from