Lines Matching full:zone

11 struct zone;
22 /* Types for control the zone type of onlined and offlined memory */
26 /* Online the memory. Zone depends, see default_zone_for_pfn(). */
95 * Zone resizing functions
97 * Note: any attempt to resize a zone should has pgdat_resize_lock()
98 * zone_span_writelock() both held. This ensure the size of a zone
101 static inline unsigned zone_span_seqbegin(struct zone *zone)
103 return read_seqbegin(&zone->span_seqlock);
105 static inline int zone_span_seqretry(struct zone *zone, unsigned iv)
107 return read_seqretry(&zone->span_seqlock, iv);
109 static inline void zone_span_writelock(struct zone *zone)
111 write_seqlock(&zone->span_seqlock);
113 static inline void zone_span_writeunlock(struct zone *zone)
115 write_sequnlock(&zone->span_seqlock);
117 static inline void zone_seqlock_init(struct zone *zone)
119 seqlock_init(&zone->span_seqlock);
126 struct zone *zone, bool mhp_off_inaccessible);
129 struct zone *zone, struct memory_group *group);
204 static inline unsigned zone_span_seqbegin(struct zone *zone)
208 static inline int zone_span_seqretry(struct zone *zone, unsigned iv)
212 static inline void zone_span_writelock(struct zone *zone) {}
213 static inline void zone_span_writeunlock(struct zone *zone) {}
214 static inline void zone_seqlock_init(struct zone *zone) {}
281 struct zone *zone, struct memory_group *group);
290 struct zone *zone, struct memory_group *group)
315 extern void move_pfn_range_to_zone(struct zone *zone, unsigned long start_pfn,
318 extern void remove_pfn_range_from_zone(struct zone *zone,
328 extern struct zone *zone_for_pfn_range(int online_type, int nid,