vb2_plane_size(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

welcome to the Kernel API Manual, bestie β€” the page is vb2_plane_size(9) and she is literally here to do one thing: vb2_plane_size β€” return plane size in bytes. That's the whole main-character moment, no cap πŸ’…βœ¨. The way it just returns plane size in bytes? iconic.


πŸ¦‹ SYNOPSIS πŸ¦‹

the signature is exactly this, character for character, don't @ me:

unsigned long vb2_plane_size (struct vb2_buffer *vb , unsigned int
plane_no );

lowkey just a vibe check of the signature, but make no mistake: vb is the buffer, plane_no is which plane, and the return type is unsigned long β€” the plane size in bytes, periodt 🫢.


πŸ’… ARGUMENTS πŸ’…

  • vb β€” pointer to struct vb2_buffer to which the plane in question belongs to. Like, the buffer that owns the plane, iykyk 🫢.
  • plane_no β€” plane number for which size should be returned. You're asking about that specific plane, and she's giving you the size ✨.

🌈 SEE ALSO 🌈

the whole guest list is right here, and yes we're listing every single one because we don't gatekeep, bestie:


source/version: ./include/media Β· date: October 2026 Β· page: vb2_plane_size(9) β€” mwah, bye bestie πŸ’‹πŸŒΈ

πŸ“¦ where this page comes from