drm_vma_node_verify_access(9)
β¨ drm_vma_node_verify_access β¨
okay bestie, so this one is a lil helper from the Kernel API Manual β it's drm_vma_node_verify_access(9) and honestly? she's a small icon doing a very specific job. let's get into it π
πΈ SYNOPSIS πΈ
int drm_vma_node_verify_access (struct drm_vma_offset_node *node ,
struct drm_file *tag );
like, two args, one int back. no cap, that's the whole vibe check.
π ARGUMENTS π
nodeβ the offset node. that's the thing being protected, the main character of this story πtagβ the tag of the file we're checking. yes, the name is literallytag, we don't make the rules π«Ά
π¦ DESCRIPTION π¦
so what she does is check whether tag is actually granted access to node. that's it. that's the whole thing. π
and the tea is: it's literally the same as drm_vma_node_is_allowed, but it's built to be a drop-in helper for TTM verify_access callbacks. so if you've got one of those callbacks and you need something that slots right in β she's your girl, no rewriting required β¨
β RETURN β
0β access granted, we love to see it, slay π-EACCESβ access denied, not today, blocked, do not pass go π
π SEE ALSO π
- Kernel file:
./include/drm/drm_vma_manager.h drm_vma_offset_exact_lookup_locked(9)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)
like, go read the whole friend group, they're all iconic in their own way π§
fr fr bestie, if this returns -EACCES just know it's not personal, the node is simply not letting you in π
okay that's the page!! huge love to the ./include/drm girlies for hosting this one, and this cutie is dated October 2026 β drm_vma_node_verify_access(9) out, mwah ππ
π¦ 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