Lines Matching refs:zone_idx

1978 	int zid = zone_idx(zone);  in deferred_init_pages()
3860 wakeup_kswapd(zone, 0, 0, zone_idx(zone)); in rmqueue()
4141 if (zone_idx(zone) != ZONE_NORMAL) in alloc_flags_nofragment()
5496 __count_zid_vm_events(PGALLOC, zone_idx(zone), nr_account); in __alloc_pages_bulk()
6076 int zone_idx; in node_has_managed_zones() local
6077 for (zone_idx = 0; zone_idx <= max_zone_idx; zone_idx++) in node_has_managed_zones()
6078 if (zone_managed_pages(pgdat->node_zones + zone_idx)) in node_has_managed_zones()
6100 if (zone_idx(zone) > max_zone_idx) in __show_free_areas()
6201 if (zone_idx(zone) > max_zone_idx) in __show_free_areas()
6264 if (zone_idx(zone) > max_zone_idx) in __show_free_areas()
6309 zoneref->zone_idx = zone_idx(zone); in zoneref_set_zone()
6450 zonerefs->zone_idx = 0; in build_zonelists_in_node_order()
6465 zonerefs->zone_idx = 0; in build_thisnode_zonelists()
6565 zonerefs->zone_idx = 0; in build_zonelists()
6797 unsigned long zone_idx, int nid, in __init_zone_device_page() argument
6801 __init_single_page(page, pfn, zone_idx, nid); in __init_zone_device_page()
6861 unsigned long zone_idx, int nid, in memmap_init_compound() argument
6872 __init_zone_device_page(page, pfn, zone_idx, nid, pgmap); in memmap_init_compound()
6897 unsigned long zone_idx = zone_idx(zone); in memmap_init_zone_device() local
6901 if (WARN_ON_ONCE(!pgmap || zone_idx != ZONE_DEVICE)) in memmap_init_zone_device()
6917 __init_zone_device_page(page, pfn, zone_idx, nid, pgmap); in memmap_init_zone_device()
6922 memmap_init_compound(page, pfn, zone_idx, nid, pgmap, in memmap_init_zone_device()
6991 int nid = zone_to_nid(zone), zone_id = zone_idx(zone); in memmap_init_zone_range()
7325 int zone_idx = zone_idx(zone) + 1; in init_currently_empty_zone() local
7327 if (zone_idx > pgdat->nr_zones) in init_currently_empty_zone()
7328 pgdat->nr_zones = zone_idx; in init_currently_empty_zone()
7335 (unsigned long)zone_idx(zone), in init_currently_empty_zone()