for_each_zo...ist_nodemask(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

for_each_zone_zonelist_nodemask(9) πŸ’…

okay bestie, this is the for_each_zone_zonelist_nodemask(9) page from the Kernel API Manual ✨ it's a helper macro with serious main character energy, and no cap, it does exactly one job.


πŸ’– NAME πŸ’–

for_each_zone_zonelist_nodemask β€” helper macro to iterate over valid zones in a zonelist at or below a given zone index and within a nodemask πŸ¦‹

✨ SYNOPSIS ✨

for_each_zone_zonelist_nodemask (zone , z , zlist , highidx , nodemask );

πŸŽ€ ARGUMENTS πŸŽ€

  • zone β€” the current zone in the iterator πŸ’–
  • z β€” the current pointer within zonelist->_zonerefs being iterated 🌸
  • zlist β€” the zonelist being iterated πŸ¦‹
  • highidx β€” the zone index of the highest zone to return ⭐
  • nodemask β€” Nodemask allowed by the allocator πŸ‘‘

πŸ’… DESCRIPTION πŸ’…

this iterator loops through all zones at or below a given zone index and within a given nodemask. periodt. that's the whole plot, bestie β€” no extra lore, fr fr 😌

🌈 SEE ALSO 🌈

kernel file ./include/linux/mmzone.h β€” see also this whole friend group:


that's the vibe check, bestie β€” from ./include/linux, October 2026, for_each_zo...ist_nodemask(9) πŸ’–πŸŽ€

πŸ“¦ where this page comes from