vmw_simple_resource_lookup(9)
π
vmw_simple_resource_lookup(9) π
Okay so, bestie, this page is from the Kernel API Manual, and it's literally about looking up a simple resource from its user-space handle. No cap. π«Ά
β¨ NAME β¨
vmw_simple_resource_lookup β look up a simple resource from its user-space handle. π
π SYNOPSIS π
struct vmw_resource * vmw_simple_resource_lookup (struct ttm_object_file
*tfile , uint32_t handle , const struct vmw_simple_resource_func *func
);
π ARGUMENTS π
tfileβ thestruct ttm_object_filethat identifies the caller. β¨handleβ the user-space handle. πfuncβ thestruct vmw_simple_resource_functhat identifies the simple resource type. π¦
π RETURN π
If it works, you get a refcounted pointer to the embedded struct vmw_resource. If not, you get an error pointer. That's the whole tea. βπ
π SEE ALSO π
Kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_simple_resource.c β yes, go look, iykyk. π₯
struct vmw_user_simple_resource(9)vmw_simple_resource_init(9)vmw_simple_resource_free(9)vmw_simple_resource_base_release(9)vmw_simple_resource_create_ioctl(9)
Source/version check: ./drivers/gpu/drm/vmwgfx, October 2026 β vmw_simple_resource_lookup(9), periodt. π
π¦ 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