8 #include <linux/stddef.h>
48 return node_isset(zonelist_node_idx(zref), *nodes);
65 while (zonelist_zone_idx(z) > highest_zoneidx)
68 while (zonelist_zone_idx(z) > highest_zoneidx ||
69 (z->
zone && !zref_in_nodemask(z, nodes)))
72 *zone = zonelist_zone(z);
76 #ifdef CONFIG_ARCH_HAS_HOLES_MEMORYMODEL
77 int memmap_valid_within(
unsigned long pfn,
83 if (page_zone(page) != zone)
94 memset(lruvec, 0,
sizeof(
struct lruvec));
97 INIT_LIST_HEAD(&lruvec->
lists[lru]);