drm_mm_hole_node_end(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… drm_mm_hole_node_end(9) β€” like, the Kernel API Manual era πŸŽ€

okay so bestie, we're deep in the kernel API manual rn and this one is a little helper function that tells you where a hole ends β€” yes, a hole, keep reading, it's about memory not vibes πŸ’€


✨ NAME ✨

drm_mm_hole_node_end β€” literally computes the end of the hole that follows @node. that's it, that's the whole job 🫢


🌸 SYNOPSIS 🌸

u64 drm_mm_hole_node_end (const struct drm_mm_node *hole_node );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • hole_node β€” a drm_mm_node that implicitly tracks the hole right after it. like it's not officially a "hole tracker" on paper but bestie it knows things πŸ‘€

πŸ’– DESCRIPTION πŸ’–

so this one is useful for driver-specific debug dumpers β€” that's its whole moment to shine ✨ otherwise? drivers should not be out here inspecting holes themselves, no cap. that's not your lane, stay in your lane 🚧

and before you even think about calling this, drivers must check first whether a hole indeed follows β€” how? by looking at drm_mm_hole_follows. vibe check your holes before you compute them, periodt πŸ’…

fr fr do the drm_mm_hole_follows check first or you're just yolo-ing through memory πŸ™ˆ

⭐ RETURN ⭐

the end of the subsequent hole. iconic. that's the answer, that's what you came for πŸ‘‘


🌈 SEE ALSO 🌈

kernel file ./include/drm/drm_mm.h plus this whole cute little friend group πŸ’œ


and that's the page, bestie πŸŽ€ sourced straight from ./include/drm and dated October 2026 β€” go forth and get that hole end, you absolute main character πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from