for_each_online_pgdat(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ for_each_online_pgdat(9) ✨

okay bestie, welcome to the Kernel API Manual page for for_each_online_pgdat πŸ’– This is the helper macro that lets you iterate over all online nodes β€” and that's literally the whole NAME vibe, no cap.

🌸 NAME 🌸

for_each_online_pgdat β€” helper macro to iterate over all online nodes.

πŸ“œ SYNOPSIS πŸ“œ

for_each_online_pgdat (pgdat );

πŸŽ€ ARGUMENTS πŸŽ€

  • pgdat β€” pointer to a pg_data_t variable. That's the one and only thing you pass in, bestie 🫢

πŸ‘€ SEE ALSO πŸ‘€

Kernel file ./include/linux/mmzone.h, plus these manual pages:


Signing off from ./include/linux β€” source/version ./include/linux, dated October 2026, on the for_each_online_pgdat(9) manual page πŸ’œβœ¨

πŸ“¦ where this page comes from