drm_vma_offs...ookup_locked(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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:

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