MAX_NR_ZONES 242 arch/alpha/mm/init.c unsigned long zones_size[MAX_NR_ZONES] = {0, }; MAX_NR_ZONES 206 arch/alpha/mm/numa.c unsigned long zones_size[MAX_NR_ZONES] = {0, }; MAX_NR_ZONES 86 arch/arc/mm/init.c unsigned long zones_size[MAX_NR_ZONES]; MAX_NR_ZONES 87 arch/arc/mm/init.c unsigned long zones_holes[MAX_NR_ZONES]; MAX_NR_ZONES 123 arch/arm/mm/init.c unsigned long zone_size[MAX_NR_ZONES], zhole_size[MAX_NR_ZONES]; MAX_NR_ZONES 187 arch/arm64/mm/init.c unsigned long max_zone_pfns[MAX_NR_ZONES] = {0}; MAX_NR_ZONES 202 arch/arm64/mm/init.c unsigned long zone_size[MAX_NR_ZONES], zhole_size[MAX_NR_ZONES]; MAX_NR_ZONES 36 arch/c6x/mm/init.c unsigned long zones_size[MAX_NR_ZONES] = {0, }; MAX_NR_ZONES 29 arch/csky/kernel/setup.c unsigned long zone_size[MAX_NR_ZONES]; MAX_NR_ZONES 86 arch/h8300/mm/init.c unsigned long zones_size[MAX_NR_ZONES] = {0, }; MAX_NR_ZONES 94 arch/hexagon/mm/init.c unsigned long zones_sizes[MAX_NR_ZONES] = {0, }; MAX_NR_ZONES 179 arch/ia64/mm/contig.c unsigned long max_zone_pfns[MAX_NR_ZONES]; MAX_NR_ZONES 600 arch/ia64/mm/discontig.c unsigned long max_zone_pfns[MAX_NR_ZONES]; MAX_NR_ZONES 92 arch/m68k/mm/init.c unsigned long zones_size[MAX_NR_ZONES] = { 0, }; MAX_NR_ZONES 42 arch/m68k/mm/mcfmmu.c unsigned long zones_size[MAX_NR_ZONES]; MAX_NR_ZONES 84 arch/m68k/mm/mcfmmu.c for (zone = 0; zone < MAX_NR_ZONES; zone++) MAX_NR_ZONES 216 arch/m68k/mm/motorola.c unsigned long zones_size[MAX_NR_ZONES] = { 0, }; MAX_NR_ZONES 45 arch/m68k/mm/sun3mmu.c unsigned long zones_size[MAX_NR_ZONES] = { 0, }; MAX_NR_ZONES 89 arch/microblaze/mm/init.c unsigned long zones_size[MAX_NR_ZONES]; MAX_NR_ZONES 240 arch/mips/loongson64/loongson-3/numa.c unsigned long zones_size[MAX_NR_ZONES] = {0, }; MAX_NR_ZONES 396 arch/mips/mm/init.c unsigned long max_zone_pfns[MAX_NR_ZONES]; MAX_NR_ZONES 454 arch/mips/sgi-ip27/ip27-memory.c unsigned long zones_size[MAX_NR_ZONES] = {0, }; MAX_NR_ZONES 34 arch/nds32/mm/init.c unsigned long zones_size[MAX_NR_ZONES]; MAX_NR_ZONES 49 arch/nios2/mm/init.c unsigned long zones_size[MAX_NR_ZONES]; MAX_NR_ZONES 48 arch/openrisc/mm/init.c unsigned long zones_size[MAX_NR_ZONES]; MAX_NR_ZONES 704 arch/parisc/mm/init.c unsigned long zones_size[MAX_NR_ZONES] = { 0, }; MAX_NR_ZONES 705 arch/parisc/mm/init.c unsigned long holes_size[MAX_NR_ZONES] = { 0, }; MAX_NR_ZONES 231 arch/powerpc/mm/mem.c static unsigned long max_zone_pfns[MAX_NR_ZONES]; MAX_NR_ZONES 32 arch/riscv/mm/init.c unsigned long max_zone_pfns[MAX_NR_ZONES] = { 0, }; MAX_NR_ZONES 90 arch/s390/mm/init.c unsigned long max_zone_pfns[MAX_NR_ZONES]; MAX_NR_ZONES 280 arch/sh/mm/init.c unsigned long max_zone_pfns[MAX_NR_ZONES]; MAX_NR_ZONES 2465 arch/sparc/mm/init_64.c unsigned long max_zone_pfns[MAX_NR_ZONES]; MAX_NR_ZONES 982 arch/sparc/mm/srmmu.c unsigned long zones_size[MAX_NR_ZONES]; MAX_NR_ZONES 983 arch/sparc/mm/srmmu.c unsigned long zholes_size[MAX_NR_ZONES]; MAX_NR_ZONES 987 arch/sparc/mm/srmmu.c for (znum = 0; znum < MAX_NR_ZONES; znum++) MAX_NR_ZONES 157 arch/um/kernel/mem.c unsigned long zones_size[MAX_NR_ZONES], vaddr; MAX_NR_ZONES 67 arch/unicore32/mm/init.c unsigned long zone_size[MAX_NR_ZONES], zhole_size[MAX_NR_ZONES]; MAX_NR_ZONES 936 arch/x86/mm/init.c unsigned long max_zone_pfns[MAX_NR_ZONES]; MAX_NR_ZONES 723 arch/x86/mm/numa.c unsigned long zones_size[MAX_NR_ZONES] = {0}; MAX_NR_ZONES 724 arch/x86/mm/numa.c unsigned long zholes_size[MAX_NR_ZONES] = {0}; MAX_NR_ZONES 73 arch/xtensa/mm/init.c unsigned long zones_size[MAX_NR_ZONES] = { MAX_NR_ZONES 867 drivers/gpu/drm/amd/amdkfd/kfd_crat.c for (zone_type = 0; zone_type < MAX_NR_ZONES; zone_type++) MAX_NR_ZONES 402 include/linux/gfp.h #if defined(CONFIG_ZONE_DEVICE) && (MAX_NR_ZONES-1) <= 4 MAX_NR_ZONES 127 include/linux/memcontrol.h unsigned long lru_zone_size[MAX_NR_ZONES][NR_LRU_LISTS]; MAX_NR_ZONES 435 include/linux/mmzone.h long lowmem_reserve[MAX_NR_ZONES]; MAX_NR_ZONES 635 include/linux/mmzone.h #define MAX_ZONES_PER_ZONELIST (MAX_NUMNODES * MAX_NR_ZONES) MAX_NR_ZONES 699 include/linux/mmzone.h struct zone node_zones[MAX_NR_ZONES]; MAX_NR_ZONES 948 include/linux/mmzone.h extern int sysctl_lowmem_reserve_ratio[MAX_NR_ZONES]; MAX_NR_ZONES 15 include/linux/page-flags-layout.h #if MAX_NR_ZONES < 2 MAX_NR_ZONES 17 include/linux/page-flags-layout.h #elif MAX_NR_ZONES <= 2 MAX_NR_ZONES 19 include/linux/page-flags-layout.h #elif MAX_NR_ZONES <= 4 MAX_NR_ZONES 21 include/linux/page-flags-layout.h #elif MAX_NR_ZONES <= 8 MAX_NR_ZONES 20 kernel/bounds.c DEFINE(MAX_NR_ZONES, __MAX_NR_ZONES); MAX_NR_ZONES 22 lib/show_mem.c for (zoneid = 0; zoneid < MAX_NR_ZONES; zoneid++) { MAX_NR_ZONES 373 mm/compaction.c for (zoneid = 0; zoneid < MAX_NR_ZONES; zoneid++) { MAX_NR_ZONES 2423 mm/compaction.c for (zoneid = 0; zoneid < MAX_NR_ZONES; zoneid++) { MAX_NR_ZONES 1952 mm/memblock.c for (z = pgdat->node_zones; z < pgdat->node_zones + MAX_NR_ZONES; z++) MAX_NR_ZONES 445 mm/memory_hotplug.c zone < pgdat->node_zones + MAX_NR_ZONES; zone++) { MAX_NR_ZONES 885 mm/memory_hotplug.c for (z = pgdat->node_zones; z < pgdat->node_zones + MAX_NR_ZONES; z++) MAX_NR_ZONES 41 mm/mm_init.c for (i = 0; i < MAX_ZONELISTS * MAX_NR_ZONES; i++) { MAX_NR_ZONES 44 mm/mm_init.c zoneid = i % MAX_NR_ZONES; MAX_NR_ZONES 45 mm/mm_init.c listid = i / MAX_NR_ZONES; MAX_NR_ZONES 34 mm/mmzone.c if (zone < pgdat->node_zones + MAX_NR_ZONES - 1) MAX_NR_ZONES 282 mm/page-writeback.c for (z = 0; z < MAX_NR_ZONES; z++) { MAX_NR_ZONES 312 mm/page-writeback.c for (i = ZONE_NORMAL + 1; i < MAX_NR_ZONES; i++) { MAX_NR_ZONES 261 mm/page_alloc.c int sysctl_lowmem_reserve_ratio[MAX_NR_ZONES] = { MAX_NR_ZONES 275 mm/page_alloc.c static char * const zone_names[MAX_NR_ZONES] = { MAX_NR_ZONES 339 mm/page_alloc.c static unsigned long arch_zone_lowest_possible_pfn[MAX_NR_ZONES] __initdata; MAX_NR_ZONES 340 mm/page_alloc.c static unsigned long arch_zone_highest_possible_pfn[MAX_NR_ZONES] __initdata; MAX_NR_ZONES 1370 mm/page_alloc.c for (zid = 0; zid < MAX_NR_ZONES; zid++) { MAX_NR_ZONES 1797 mm/page_alloc.c for (zid = 0; zid < MAX_NR_ZONES; zid++) { MAX_NR_ZONES 1819 mm/page_alloc.c WARN_ON(++zid < MAX_NR_ZONES && populated_zone(++zone)); MAX_NR_ZONES 5166 mm/page_alloc.c for (zone_type = 0; zone_type < MAX_NR_ZONES; zone_type++) MAX_NR_ZONES 5172 mm/page_alloc.c for (zone_type = 0; zone_type < MAX_NR_ZONES; zone_type++) { MAX_NR_ZONES 5392 mm/page_alloc.c for (i = 0; i < MAX_NR_ZONES; i++) MAX_NR_ZONES 5452 mm/page_alloc.c enum zone_type zone_type = MAX_NR_ZONES; MAX_NR_ZONES 6333 mm/page_alloc.c for (zone_index = MAX_NR_ZONES - 1; zone_index >= 0; zone_index--) { MAX_NR_ZONES 6548 mm/page_alloc.c for (i = 0; i < MAX_NR_ZONES; i++) { MAX_NR_ZONES 6741 mm/page_alloc.c for (z = 0; z < MAX_NR_ZONES; z++) MAX_NR_ZONES 6763 mm/page_alloc.c for (j = 0; j < MAX_NR_ZONES; j++) { MAX_NR_ZONES 7355 mm/page_alloc.c for (i = 0; i < MAX_NR_ZONES; i++) { MAX_NR_ZONES 7372 mm/page_alloc.c for (i = 0; i < MAX_NR_ZONES; i++) { MAX_NR_ZONES 7678 mm/page_alloc.c for (i = 0; i < MAX_NR_ZONES; i++) { MAX_NR_ZONES 7684 mm/page_alloc.c for (j = i; j < MAX_NR_ZONES; j++) { MAX_NR_ZONES 7715 mm/page_alloc.c for (j = 0; j < MAX_NR_ZONES; j++) { MAX_NR_ZONES 623 mm/page_owner.c for (zone = node_zones; zone - node_zones < MAX_NR_ZONES; ++zone) { MAX_NR_ZONES 182 mm/shuffle.c for (z = pgdat->node_zones; z < pgdat->node_zones + MAX_NR_ZONES; z++) MAX_NR_ZONES 358 mm/vmscan.c for (zid = 0; zid < MAX_NR_ZONES; zid++) MAX_NR_ZONES 363 mm/vmscan.c for (zid = zone_idx + 1; zid < MAX_NR_ZONES; zid++) { MAX_NR_ZONES 1651 mm/vmscan.c for (zid = 0; zid < MAX_NR_ZONES; zid++) { MAX_NR_ZONES 1690 mm/vmscan.c unsigned long nr_zone_taken[MAX_NR_ZONES] = { 0 }; MAX_NR_ZONES 1691 mm/vmscan.c unsigned long nr_skipped[MAX_NR_ZONES] = { 0, }; MAX_NR_ZONES 1755 mm/vmscan.c for (zid = 0; zid < MAX_NR_ZONES; zid++) { MAX_NR_ZONES 2269 mm/vmscan.c lruvec_lru_size(lruvec, inactive_lru, MAX_NR_ZONES), inactive, MAX_NR_ZONES 2270 mm/vmscan.c lruvec_lru_size(lruvec, active_lru, MAX_NR_ZONES), active, MAX_NR_ZONES 2366 mm/vmscan.c for (z = 0; z < MAX_NR_ZONES; z++) { MAX_NR_ZONES 2425 mm/vmscan.c anon = lruvec_lru_size(lruvec, LRU_ACTIVE_ANON, MAX_NR_ZONES) + MAX_NR_ZONES 2426 mm/vmscan.c lruvec_lru_size(lruvec, LRU_INACTIVE_ANON, MAX_NR_ZONES); MAX_NR_ZONES 2427 mm/vmscan.c file = lruvec_lru_size(lruvec, LRU_ACTIVE_FILE, MAX_NR_ZONES) + MAX_NR_ZONES 2428 mm/vmscan.c lruvec_lru_size(lruvec, LRU_INACTIVE_FILE, MAX_NR_ZONES); MAX_NR_ZONES 3286 mm/vmscan.c BUILD_BUG_ON(MAX_NR_ZONES > S8_MAX); MAX_NR_ZONES 3320 mm/vmscan.c .reclaim_idx = MAX_NR_ZONES - 1, MAX_NR_ZONES 3363 mm/vmscan.c .reclaim_idx = MAX_NR_ZONES - 1, MAX_NR_ZONES 3585 mm/vmscan.c unsigned long zone_boosts[MAX_NR_ZONES] = { 0, }; MAX_NR_ZONES 3637 mm/vmscan.c for (i = MAX_NR_ZONES - 1; i >= 0; i--) { MAX_NR_ZONES 3796 mm/vmscan.c if (pgdat->kswapd_classzone_idx == MAX_NR_ZONES) MAX_NR_ZONES 3897 mm/vmscan.c unsigned int classzone_idx = MAX_NR_ZONES - 1; MAX_NR_ZONES 3921 mm/vmscan.c pgdat->kswapd_classzone_idx = MAX_NR_ZONES; MAX_NR_ZONES 3936 mm/vmscan.c pgdat->kswapd_classzone_idx = MAX_NR_ZONES; MAX_NR_ZONES 3988 mm/vmscan.c if (pgdat->kswapd_classzone_idx == MAX_NR_ZONES) MAX_NR_ZONES 4032 mm/vmscan.c .reclaim_idx = MAX_NR_ZONES - 1, MAX_NR_ZONES 966 mm/vmstat.c for (i = 0; i < MAX_NR_ZONES; i++) MAX_NR_ZONES 983 mm/vmstat.c for (i = 0; i < MAX_NR_ZONES; i++) MAX_NR_ZONES 1337 mm/vmstat.c for (zone = node_zones; zone - node_zones < MAX_NR_ZONES; ++zone) { MAX_NR_ZONES 1549 mm/vmstat.c for (zid = 0; zid < MAX_NR_ZONES; zid++) { MAX_NR_ZONES 285 mm/workingset.c active_file = lruvec_lru_size(lruvec, LRU_ACTIVE_FILE, MAX_NR_ZONES);