Searched refs:preferred_zone (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/mm/
H A Dinternal.h120 * zonelist, preferred_zone and classzone_idx are set first in
128 struct zone *preferred_zone; member in struct:alloc_context
H A Dvmstat.c580 void zone_statistics(struct zone *preferred_zone, struct zone *z, gfp_t flags) zone_statistics() argument
582 if (z->zone_pgdat == preferred_zone->zone_pgdat) { zone_statistics()
586 __inc_zone_state(preferred_zone, NUMA_FOREIGN); zone_statistics()
589 preferred_zone->node : numa_node_id())) zone_statistics()
H A Dpage_alloc.c1726 struct page *buffered_rmqueue(struct zone *preferred_zone, buffered_rmqueue() argument
1785 zone_statistics(preferred_zone, zone, gfp_flags); buffered_rmqueue()
2092 static void reset_alloc_batches(struct zone *preferred_zone) reset_alloc_batches() argument
2094 struct zone *zone = preferred_zone->zone_pgdat->node_zones; reset_alloc_batches()
2101 } while (zone++ != preferred_zone); reset_alloc_batches()
2149 if (!zone_local(ac->preferred_zone, zone)) get_page_from_freelist()
2208 !zone_allows_reclaim(ac->preferred_zone, zone)) get_page_from_freelist()
2251 page = buffered_rmqueue(ac->preferred_zone, zone, order, get_page_from_freelist()
2275 reset_alloc_batches(ac->preferred_zone); get_page_from_freelist()
2602 wait_iff_congested(ac->preferred_zone, BLK_RW_ASYNC, __alloc_pages_high_priority()
2616 wakeup_kswapd(zone, order, zone_idx(ac->preferred_zone)); wake_all_kswapds()
2723 ac->high_zoneidx, NULL, &ac->preferred_zone); __alloc_pages_slowpath()
2843 wait_iff_congested(ac->preferred_zone, BLK_RW_ASYNC, HZ/50); __alloc_pages_slowpath()
2911 &ac.preferred_zone); __alloc_pages_nodemask()
2912 if (!ac.preferred_zone) __alloc_pages_nodemask()

Completed in 118 milliseconds