STRUCT VB2_VMAREA_HANDLER(9)
π struct vb2_vmarea_handler(9) π
okay so bestie, welcome to the Kernel API Manual, section 9 β this page is literally all about struct vb2_vmarea_handler, and no cap it's the common vma refcount tracking handler. it's giving βsmall struct, big refcount energyβ β¨
β¨ NAME β¨
struct vb2_vmarea_handler β common vma refcount tracking handler. periodt π
π¦ SYNOPSIS π¦
struct vb2_vmarea_handler {
refcount_t *refcount;
void (*put)(void *arg);
void *arg;
};
π Members π
refcountβ a pointer to therefcount_tentry in the buffer. that's the counter being tracked, iykyk πputβ callback to the function that decreases the buffer refcount. yes bestie, it's the βput it back downβ function π«Άargβ the argument for theputcallback. it gets passed along, fr fr π
π SEE ALSO π
- Kernel file
./include/media/videobuf2-memops.hβ that's the kernel file, go peek π
mwah π this page comes from ./include/media, dated October 2026, and it's for struct vb2_vmarea_handler(9) β slay, bye π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms