drm_mm_for_each_node(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 β€” a struct drm_mm_node to assign to in each iteration step. Every loop pass, this is the node bestie you're currently on πŸ’…
  • mm β€” the drm_mm allocator 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


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