Lines Matching refs:zone

37 	struct zone *zone = page_zone(page);  in has_unmovable_pages()  local
72 if (zone_idx(zone) == ZONE_MOVABLE) in has_unmovable_pages()
150 struct zone *zone = page_zone(page); in set_migratetype_isolate() local
158 spin_lock_irqsave(&zone->lock, flags); in set_migratetype_isolate()
166 spin_unlock_irqrestore(&zone->lock, flags); in set_migratetype_isolate()
184 if (!move_freepages_block_isolate(zone, page, MIGRATE_ISOLATE)) { in set_migratetype_isolate()
185 spin_unlock_irqrestore(&zone->lock, flags); in set_migratetype_isolate()
188 zone->nr_isolate_pageblock++; in set_migratetype_isolate()
189 spin_unlock_irqrestore(&zone->lock, flags); in set_migratetype_isolate()
193 spin_unlock_irqrestore(&zone->lock, flags); in set_migratetype_isolate()
207 struct zone *zone; in unset_migratetype_isolate() local
213 zone = page_zone(page); in unset_migratetype_isolate()
214 spin_lock_irqsave(&zone->lock, flags); in unset_migratetype_isolate()
258 WARN_ON_ONCE(!move_freepages_block_isolate(zone, page, migratetype)); in unset_migratetype_isolate()
263 zone->nr_isolate_pageblock--; in unset_migratetype_isolate()
265 spin_unlock_irqrestore(&zone->lock, flags); in unset_migratetype_isolate()
315 struct zone *zone; in isolate_single_pageblock() local
331 zone = page_zone(pfn_to_page(isolate_pageblock)); in isolate_single_pageblock()
333 zone->zone_start_pfn); in isolate_single_pageblock()
611 struct zone *zone; in test_pages_isolated() local
631 zone = page_zone(page); in test_pages_isolated()
632 spin_lock_irqsave(&zone->lock, flags); in test_pages_isolated()
634 spin_unlock_irqrestore(&zone->lock, flags); in test_pages_isolated()