vmw_user_stream_lookup(9)
π NAME π
Okay bestie, this is vmw_user_stream_lookup(9) from the Kernel API Manual, and its whole personality is: look up a struct vmw_user_stream from a handle. That's the name, that's the mission, slay π
.
β¨ SYNOPSIS β¨
int vmw_user_stream_lookup (struct vmw_private *dev_priv , struct ttm_object_file *tfile , uint32_t *inout_id , struct vmw_resource **out );
Here's the signature in all its iconic glory β¨.
π ARGUMENTS π
dev_privβ Pointer to astruct vmw_private. That's it, that's the pointer π«Ά.tfileβ Thestruct ttm_object_fileidentifying the caller. It's literally the caller's little ID situation π³.inout_idβ In: The user-space handle. Out: The stream id. Yes, it does both β main character energy π.outβ On output contains a refcounted pointer to the embeddedstruct vmw_resource. Refcounted, bestie, don't forget that part π .
π¦ RETURN π¦
0 if successful. Negative error value on failure. No cap, that's the whole return sitch π.
π₯ SEE ALSO π₯
- Kernel file
./drivers/gpu/drm/vmwgfx/vmwgfx_va.cβ the kernel file in question ποΈ struct vmw_stream(9)β struct fam said hi πΈvmw_stream(9)β the stream page itself πvmw_stream_unref_ioctl(9)β unref ioctl bestie πvmw_stream_claim_ioctl(9)β claim ioctl bestie π
Signed off from ./drivers/gpu/drm/vmwgfx on October 2026 β title on the page: vmw_user_stream_lookup(9) πβ¨
π¦ 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