Home
last modified time | relevance | path

Searched refs:zone_idx (Results 1 – 5 of 5) sorted by relevance

/mm/
Dmemory_hotplug.c495 if (zone_idx(zone) == ZONE_DEVICE) in remove_pfn_range_from_zone()
639 if (zone_idx(zone) <= ZONE_NORMAL && !node_state(nid, N_NORMAL_MEMORY)) in node_states_check_changes_online()
642 if (zone_idx(zone) <= ZONE_HIGHMEM && !node_state(nid, N_HIGH_MEMORY)) in node_states_check_changes_online()
716 memmap_init_zone(nr_pages, nid, zone_idx(zone), start_pfn, 0, in move_pfn_range_to_zone()
1448 if (zone_idx(zone) <= ZONE_NORMAL && nr_pages >= present_pages) in node_states_check_changes_offline()
1461 if (zone_idx(zone) <= ZONE_HIGHMEM && nr_pages >= present_pages) in node_states_check_changes_offline()
1881 if (page && zone_idx(page_zone(page)) == ZONE_MOVABLE) in try_offline_memory_block()
Dpage_alloc.c1874 int zid = zone_idx(zone); in deferred_init_pages()
3655 wakeup_kswapd(zone, 0, 0, zone_idx(zone)); in rmqueue()
3942 if (zone_idx(zone) != ZONE_NORMAL) in alloc_flags_nofragment()
5903 zoneref->zone_idx = zone_idx(zone); in zoneref_set_zone()
6045 zonerefs->zone_idx = 0; in build_zonelists_in_node_order()
6060 zonerefs->zone_idx = 0; in build_thisnode_zonelists()
6158 zonerefs->zone_idx = 0; in build_zonelists()
6405 unsigned long zone_idx = zone_idx(zone); in memmap_init_zone_device() local
6409 if (WARN_ON_ONCE(!pgmap || zone_idx(zone) != ZONE_DEVICE)) in memmap_init_zone_device()
6425 __init_single_page(page, pfn, zone_idx, nid); in memmap_init_zone_device()
[all …]
Dvmscan.c342 unsigned long lruvec_lru_size(struct lruvec *lruvec, enum lru_list lru, int zone_idx) in lruvec_lru_size() argument
347 for (zid = 0; zid <= zone_idx && zid < MAX_NR_ZONES; zid++) { in lruvec_lru_size()
3299 if (zone_idx(zone) > ZONE_NORMAL) in throttle_direct_reclaim()
Dkhugepaged.c2356 if (zone_idx(zone) > gfp_zone(GFP_USER)) in set_recommended_min_free_kbytes()
Dmigrate.c1559 zidx = zone_idx(page_zone(page)); in alloc_migration_target()