vmw_stream_claim_ioctl(9)
π vmw_stream_claim_ioctl β the kernel API manual, bestie edition β¨
Okay so real talk, this page is about vmw_stream_claim_ioctl(9) in the kernel API manual, and it's genuinely such a neat little function. Buckle up π
πΈ NAME πΈ
vmw_stream_claim_ioctl β the ioctl that claims a struct vmw_stream overlay. That's it, that's the whole vibe. It goes and claims one (1) overlay for you and honestly? iconic. π
β¨ SYNOPSIS β¨
int vmw_stream_claim_ioctl (struct drm_device *dev , void *data , struct
drm_file *file_priv );
Note the line break in the middle of the signature β that's the original formatting, not me being chaotic (for once π). Copy it exactly if you're typing it out.
π¦ ARGUMENTS π¦
Here's the whole squad of parameters, no cap:
devβ a pointer to the drm device. Like, the device itself, the main character of this whole operation πdataβ the ioctl argument. Yes, it's avoid *. Yes, that's just how it is. Go with it π«Άfile_privβ a pointer to astruct drm_filethat identifies the caller. Like a little name tag for whoever's asking π
π₯ RETURN π₯
0if it's successful. slay π- A negative error value if it fails. not slay π (note that it's a negative error value, so keep an eye on that sign, bestie)
π SEE ALSO π
All the related lore, fr fr:
- Kernel file
./drivers/gpu/drm/vmwgfx/vmwgfx_va.cβ plusstruct vmw_stream(9)(yep, the entry really does run those two together on the same line, that's just how it's listed) vmw_stream(9)vmw_stream_unref_ioctl(9)vmw_user_stream_lookup(9)
Go read those next, iykyk π§
Lowkey the whole page is just those five sections. No hidden OPTIONS, no sneaky BUGS section, no environment variables hiding in the walls. What you see is what you get, and what you get is a very tidy little ioctl doc β¨
Okay that's a wrap bestie π this little gem lives under ./drivers/gpu/drm/vmwgfx and the page is dated October 2026 β go forth and claim those streams ππ
π¦ 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