vb2_verify_memory_type(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’…βœ¨ vb2_verify_memory_type in the Kernel API Manual βœ¨πŸ’…

okay so bestie, welcome to this lil page from the Kernel API Manual β€” today’s main character is vb2_verify_memory_type, and she is literally here to do a compatibility vibe check. 🫢

🌸 NAME 🌸

vb2_verify_memory_type β€” checks whether the memory type and buffer type passed to a buffer operation are compatible with the queue. no cap. πŸ’–

πŸ¦‹ SYNOPSIS πŸ¦‹

int vb2_verify_memory_type (struct vb2_queue *q , enum vb2_memory memory
       , unsigned int type );

πŸŽ€ ARGUMENTS πŸŽ€

  • q β€” pointer to struct vb2_queue with videobuf2 queue. this is the queue bestie in question, periodt. πŸ‘‘
  • memory β€” the memory model, as defined by enum vb2_memory. literally the memory vibe check. 🧚
  • type β€” private buffer type whose content is defined by the vb2-core caller. For example, for V4L2, it should match the types defined on enum v4l2_buf_type. iykyk. πŸ’…

🌈 SEE ALSO 🌈

Kernel file: ./include/media/videobuf2-core.h β€” and here’s the whole iconic linked squad, no skips, fr fr: πŸŽ€


okay that’s the whole page, bestie β€” source/version is ./include/media, and the date is October 2026. vb2_verify_memory_type(9) is out, slay πŸ’…βœ¨

πŸ“¦ where this page comes from