vmw_simple_resource_lookup(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 β€” the struct ttm_object_file that identifies the caller. ✨
  • handle β€” the user-space handle. πŸŽ€
  • func β€” the struct vmw_simple_resource_func that 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. πŸ”₯

Source/version check: ./drivers/gpu/drm/vmwgfx, October 2026 β€” vmw_simple_resource_lookup(9), periodt. πŸ’œ

πŸ“¦ where this page comes from