drm_vma_offs...ookup_locked(9)
π drm_vma_offs...ookup_locked β Kernel API Manual
okay so bestie, welcome to the drm_vma_offs...ookup_locked(9) page β yes the name is a whole mouthful, the kernel devs really said "abbreviate nothing" and honestly? iconic of them. this one lives in the Kernel API Manual and it's about finding exactly one node by its address. no crumbs, no wiggle room. let's get into it π
β¨ NAME β¨
drm_vma_offset_exact_lookup_locked β look up a node by exact address. that's it, that's the vibe. precise queen behavior only π
π¦ SYNOPSIS π¦
struct drm_vma_offset_node * drm_vma_offset_exact_lookup_locked (struct
drm_vma_offset_manager *mgr , unsigned long start , unsigned long pages
);
literally just hand it the manager, a start address, and a page count, and it returns you a struct drm_vma_offset_node *. slay β¨
πΈ ARGUMENTS πΈ
mgrβ the manager object. your main character, the one holding all the nodes π«Άstartβ start address. and bestie listen: this is page-based, not byte-based. do not come in here with bytes, i'm warning you πpagesβ size of the object, also page-based. pages on pages on pages π
π DESCRIPTION π
so this is basically the same as drm_vma_offset_lookup_locked, except it's the strict version. it does not allow any offset into the node β zero flexibility, zero "close enough." it only returns the exact object with the given start address. if you're off by even a little? not it. it's giving exact-match-or-nothing, and honestly we respect the boundaries π
π RETURN π
the node at the exact start address start. that's the one. that's your girl π
π SEE ALSO π
the kernel file itself lives at ./include/drm/drm_vma_manager.h β go read it, iykyk π and here's the whole friend group:
drm_vma_offset_lock_lookup(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)
fr fr, go read them all, they're all connected π§
and that's the page!! sourced straight from ./include/drm, dated October 2026, filed under drm_vma_offs...ookup_locked(9) β mwah, love that for us πβ¨ no cap, you're now an expert on exact lookups. 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