drm_vma_node_offset_addr(9)
π NAME
okay so bestie, this is drm_vma_node_offset_addr(9) from the Kernel API Manual, and it does exactly one iconic thing:
drm_vma_node_offset_addrβ return sanitized offset for user-space mmaps β¨
π SYNOPSIS
__u64 drm_vma_node_offset_addr (struct drm_vma_offset_node *node );
πΈ ARGUMENTS
nodeβ the linked offset node. like, the node you're asking about, but it has to be linked, okay? π«Ά
π¦ DESCRIPTION
So it's the same as drm_vma_node_start, bestie, but it returns the address as a valid offset that can be used for user-space mappings during mmap. slay. π
π¨ Important vibe check: this must not be called on unlinked nodes. fr fr, don't do it.
β¨ RETURN
The offset of node for byte-based addressing. It's 0 if the node does not have an object allocated. no object, no offset, periodt. π
π 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_unmap(9)drm_vma_node_verify_access(9)
xoxo, your Kernel API Manual bestie π§ source/version: ./include/drm Β· date: October 2026 ππ
π¦ 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