Lines Matching refs:z
81 void __meminit __shuffle_zone(struct zone *z) in __shuffle_zone() argument
84 unsigned long start_pfn = z->zone_start_pfn; in __shuffle_zone()
85 unsigned long end_pfn = zone_end_pfn(z); in __shuffle_zone()
89 spin_lock_irqsave(&z->lock, flags); in __shuffle_zone()
102 page_i = shuffle_valid_page(z, i, order); in __shuffle_zone()
113 j = z->zone_start_pfn + in __shuffle_zone()
114 ALIGN_DOWN(get_random_long() % z->spanned_pages, in __shuffle_zone()
116 page_j = shuffle_valid_page(z, j, order); in __shuffle_zone()
142 spin_unlock_irqrestore(&z->lock, flags); in __shuffle_zone()
144 spin_lock_irqsave(&z->lock, flags); in __shuffle_zone()
147 spin_unlock_irqrestore(&z->lock, flags); in __shuffle_zone()
156 struct zone *z; in __shuffle_free_memory() local
158 for (z = pgdat->node_zones; z < pgdat->node_zones + MAX_NR_ZONES; z++) in __shuffle_free_memory()
159 shuffle_zone(z); in __shuffle_free_memory()