drm_mm_nodes(9)
π drm_mm_nodes(9) β like, the Kernel API Manual page you've been waiting for
okay so bestie, welcome to the glow-up of drm_mm_nodes, straight out of the Kernel API Manual β¨ this one is short and sweet but it's lowkey important, so let's get into it π«Ά
β¨ NAME β¨
drm_mm_nodes β the list of nodes hanging out under the drm_mm range manager π
π SYNOPSIS π
drm_mm_nodes (mm );
π¦ ARGUMENTS π¦
mmβ thestruct drm_mmrange manager, aka the main character of this whole operation π
πΈ DESCRIPTION πΈ
so here's the tea β β the drm_mm range manager keeps its node_list hidden deep inside its structure, like it's got main character energy and refuses to be perceived π and digging that list back out is genuinely painful and repetitive, no cap π
that's exactly what this function is for: it hands you that node list so you don't have to do the awkward little extraction dance yourself π
bestie, listen β this is not expected to be used outside of the drm_mm_for_each_node macros and similar internal functions. it's giving "internal use only", fr fr π§
β RETURN β
the node list π β and yes, it may be empty, that's totally valid, we don't judge π
π SEE ALSO π
- Kernel file
./include/drm/drm_mm.hβ go read it, it's iconic enum drm_mm_insert_mode(9)struct drm_mm_node(9)struct drm_mm(9)struct drm_mm_scan(9)drm_mm_node_allocated(9)drm_mm_initialized(9)drm_mm_hole_follows(9)drm_mm_hole_node_start(9)drm_mm_hole_node_end(9)drm_mm_for_each_node(9)drm_mm_for_each_node_safe(9)drm_mm_for_each_hole(9)drm_mm_insert_node_generic(9)drm_mm_insert_node(9)drm_mm_clean(9)drm_mm_for_each_node_in_range(9)drm_mm_scan_init(9)
and that's the whole page, you ate that π this little gem lives in ./include/drm and this particular drop is dated October 2026 β screenshot it, cite it, slay it ππ§ββοΈ
π¦ 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