rb_page_capacity(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie πŸ’– you're on rb_page_capacity(9) from the Kernel API Manual, and this page is literally the β€œhow much room does this buffer page have for events” check. it’s giving tiny-but-important, no cap.

✨ NAME ✨

rb_page_capacity β€” get the capacity of a buffer page πŸŽ€

🌸 SYNOPSIS 🌸

the signature is exactly:

unsigned int rb_page_capacity (struct buffer_page *bpage );

πŸ’… ARGUMENTS πŸ’…

  • bpage β€” the buffer page. yes bestie, that's the page you're asking about. that's the whole argument, periodt.

πŸ¦‹ RETURN πŸ¦‹

the maximum size available for events in the given buffer page. basically: β€œhow much event room ya got?” πŸ’–

πŸ‘‘ SEE ALSO πŸ‘‘

the kernel file is ./kernel/trace/ring_buffer.c, and there are so many related functions here β€” go snoop on all of these, iykyk:

kay bye bestie 🫢 this was rb_page_capacity(9) from the Kernel API Manual, with source/version ./kernel/trace and October 2026 energy. periodt πŸ’…βœ¨

πŸ“¦ where this page comes from