drm_mm_node_allocated(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– drm_mm_node_allocated β€” Kernel API Manual πŸ’–

okay so bestie, welcome to the drm_mm_node_allocated page from the Kernel API Manual β€” it’s giving β€œtiny function, very important vibe check” ✨


πŸ’… NAME πŸ’…

drm_mm_node_allocated β€” checks whether a node is allocated πŸ’–

✨ SYNOPSIS ✨

bool drm_mm_node_allocated (const struct drm_mm_node *node );

πŸŽ€ ARGUMENTS πŸŽ€

  • node β€” the drm_mm_node to check, bestie 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so drivers are required to clear a node before using it with the drm_mm range manager β€” no cap, that’s literally the rule πŸ™ˆ

Drivers should use this helper for proper encapsulation of drm_mm internals. like, don’t go rummaging around in the internals yourself, bestie β€” use the helper, it’s the main character move πŸ’…

🌸 RETURN 🌸

true if the node is allocated. that’s it, that’s the vibe check 🌈

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./include/drm/drm_mm.h, plus this whole friend group:


mwah πŸ’‹ β€” that’s the whole page, bestie! source/version: ./include/drm, dated October 2026 β€” now go check those nodes 🫢✨

πŸ“¦ where this page comes from