vb2_request_buffer_cnt(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… vb2_request_buffer_cnt(9)

okay bestie, we're in the Kernel API Manual, and this page is serving one very specific function: vb2_request_buffer_cnt. It tells you the number of buffers in the request. That's the whole plot, and honestly? iconic. ✨

🌸 NAME 🌸

vb2_request_buffer_cnt β€” return the number of buffers in the request. fr fr, it's a buffer counter for requests. πŸ’–

✨ SYNOPSIS ✨

unsigned int vb2_request_buffer_cnt (struct media_request *req );

πŸŽ€ ARGUMENTS πŸŽ€

  • req β€” the request. That's the request, bestie. You hand it over, and the function's unsigned int return value is the number of buffers in it. 🫢

πŸ”— SEE ALSO πŸ”—

Kernel file: ./include/media/videobuf2-core.h. The whole reference squad is:


mwah πŸ’‹ byeee β€” that's the vb2_request_buffer_cnt(9) tea 🍡, source path: ./include/media Β· date: October 2026 πŸŽ€

πŸ“¦ where this page comes from