drm_vma_node_offset_addr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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


xoxo, your Kernel API Manual bestie 🧚 source/version: ./include/drm Β· date: October 2026 πŸŽ€πŸ’œ

πŸ“¦ where this page comes from