drm_vma_node_size(9)
π NAME π
Okay bestie, this is drm_vma_node_size(9) from the Kernel API Manual β and it does exactly one iconic thing: Return size (page-based). Periodt. π
β¨ SYNOPSIS β¨
unsigned long drm_vma_node_size (struct drm_vma_offset_node *node );
π ARGUMENTS π
nodeβ the node you're inspecting, bestie. That's the whole vibe check right there. π«Ά
π¦ DESCRIPTION π¦
So this returns the size as a number of pages for the given node. It's literally the same size that was passed to drm_vma_offset_add. No cap.
And if no offset is allocated for the node? Then this is 0. Zero. Nothing. The void. π
πΈ RETURN πΈ
The size of the node as a number of pages. It's 0 if the node does not have an offset allocated. That's it β clean, simple, iconic. β¨
π 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_offset_addr(9)drm_vma_node_unmap(9)drm_vma_node_verify_access(9)
Cute little sign-off moment: source/version is ./include/drm, and the date on this one is October 2026 ππ mwah, go read the kernel docs bestie π
π¦ 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