drm_vma_offset_lock_lookup(9)
π drm_vma_offset_lock_lookup(9) β the Kernel API Manual tea β
okay so bestie, we're in the Kernel API Manual today and the function on the menu is drm_vma_offset_lock_lookup β say that five times fast, i dare you π«Ά
β¨ NAME β¨
drm_vma_offset_lock_lookup β lock lookup for extended private use π
β¨ SYNOPSIS β¨
void drm_vma_offset_lock_lookup (struct drm_vma_offset_manager *mgr );
β¨ ARGUMENTS β¨
mgrβ the manager object, aka the main character of this whole operation π
β¨ DESCRIPTION β¨
So what does it do? It locks the VMA manager for extended lookups. That's it, that's the vibe. π
While you're holding this lock, only locked VMA function calls are allowed. Literally everyone else? Blocked from VMA until you release it via drm_vma_offset_unlock_lookup. no cap, the door stays shut π€
Use this if you need to take a reference to the objects returned by drm_vma_offset_lookup_locked before releasing this lock again. grab your reference while the lock is still yours, bestie π
β οΈ This lock must not be used for anything else than extended lookups. Periodt. You must not call any other VMA helpers while holding this lock. none. zero. don't even think about it π
β¨ NOTE β¨
You're in atomic-context while holding this lock! π like, for real, act accordingly.
β¨ SEE ALSO β¨
Kernel file ./include/drm/drm_vma_manager.h
Also go check out these icons π:
drm_vma_offset_exact_lookup_locked(9)drm_vma_offset_unlock_lookup(9)drm_vma_node_reset(9)drm_vma_node_start(9)drm_vma_node_size(9)drm_vma_node_offset_addr(9)drm_vma_node_unmap(9)drm_vma_node_verify_access(9)
and that's the whole page, bestie π this came to you from ./include/drm, dated October 2026, and it's drm_vma_offset_lock_lookup(9) forever and always π mwah, go lock something responsibly π§ββοΈ
π¦ 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