vmw_user_bo_lookup(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– vmw_user_bo_lookup(9) πŸ’–

okay so this is a page from the Kernel API Manual β€” yes bestie, we're in the kernel docs now, put your hair up, it's giving main character energy πŸŽ€


✨ NAME ✨

vmw_user_bo_lookup β€” look up a vmw user buffer object from a handle πŸ”

🌸 SYNOPSIS 🌸

int vmw_user_bo_lookup (struct drm_file *filp , u32 handle , struct
vmw_bo **out );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • filp β€” the file that the handle is registered with πŸ—‚οΈ
  • handle β€” the user buffer object handle, iykyk
  • out β€” pointer to a where a pointer to the embedded struct vmw_bo should be placed πŸ’« (yes, pointer-to-a-pointer, she's fancy like that)

⭐ RETURN ⭐

Zero on success πŸŽ‰ Negative error code on error 😭

πŸ’… DESCRIPTION πŸ’…

The vmw buffer object pointer will be refcounted β€” both ttm and gem, no cap, double the refcount, double the responsibility 🫢

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_bo.c plus the whole friend group:


✨ and that's the whole page, periodt ✨

drop from ./drivers/gpu/drm/vmwgfx, dated October 2026 β€” this queen lives in the vmw_user_bo_lookup(9) section of the manual, mwah πŸ’‹ πŸŽ€

πŸ“¦ where this page comes from