for_each_online_pgdat(9)
β¨ 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 apg_data_tvariable. That's the one and only thing you pass in, bestie π«Ά
π SEE ALSO π
Kernel file ./include/linux/mmzone.h, plus these manual pages:
is_highmem(9)for_each_zone(9)next_zones_zonelist(9)first_zones_zonelist(9)for_each_zone_zonelist_nodemask(9)for_each_zone_zonelist(9)pfn_valid(9)
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
- 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