drm_mm_for_each_node(9)
π NAME π
Okay so welcome to drm_mm_for_each_node(9), fresh from the Kernel API Manual β and yes bestie, we are literally talking about an iterator to walk over all allocated nodes β¨
π¦ SYNOPSIS π¦
drm_mm_for_each_node (entry , mm );
π ARGUMENTS π
entryβ astruct drm_mm_nodeto assign to in each iteration step. Every loop pass, this is the node bestie you're currently on πmmβ thedrm_mmallocator to walk. We're strolling through the whole allocator, no cap πΆββοΈβ¨
πΈ DESCRIPTION πΈ
This iterator walks over all nodes in the range allocator. That's the whole vibe: all the nodes, one by one, main character energy π
It's implemented with list_for_each, so not save against removal of elements β yep, that's the exact wording on the page, and the warning is real: removal of elements is a problem here ππ
π«Ά SEE ALSO π«Ά
Kernel file: ./include/drm/drm_mm.h
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_nodes(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)
Mwah π this page comes from ./include/drm and is dated October 2026 β it's drm_mm_for_each_node(9) from the Kernel API Manual, and that's the sign-off, 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