Lines Matching refs:zone

11 struct zone;
130 static inline unsigned zone_span_seqbegin(struct zone *zone) in zone_span_seqbegin() argument
132 return read_seqbegin(&zone->span_seqlock); in zone_span_seqbegin()
134 static inline int zone_span_seqretry(struct zone *zone, unsigned iv) in zone_span_seqretry() argument
136 return read_seqretry(&zone->span_seqlock, iv); in zone_span_seqretry()
138 static inline void zone_span_writelock(struct zone *zone) in zone_span_writelock() argument
140 write_seqlock(&zone->span_seqlock); in zone_span_writelock()
142 static inline void zone_span_writeunlock(struct zone *zone) in zone_span_writeunlock() argument
144 write_sequnlock(&zone->span_seqlock); in zone_span_writeunlock()
146 static inline void zone_seqlock_init(struct zone *zone) in zone_seqlock_init() argument
148 seqlock_init(&zone->span_seqlock); in zone_seqlock_init()
155 struct zone *zone);
158 struct zone *zone, struct memory_group *group);
235 static inline unsigned zone_span_seqbegin(struct zone *zone) in zone_span_seqbegin() argument
239 static inline int zone_span_seqretry(struct zone *zone, unsigned iv) in zone_span_seqretry() argument
243 static inline void zone_span_writelock(struct zone *zone) {} in zone_span_writelock() argument
244 static inline void zone_span_writeunlock(struct zone *zone) {} in zone_span_writeunlock() argument
245 static inline void zone_seqlock_init(struct zone *zone) {} in zone_seqlock_init() argument
307 struct zone *zone, struct memory_group *group);
316 struct zone *zone, struct memory_group *group) in offline_pages() argument
329 extern void set_zone_contiguous(struct zone *zone);
330 extern void clear_zone_contiguous(struct zone *zone);
341 extern void move_pfn_range_to_zone(struct zone *zone, unsigned long start_pfn,
344 extern void remove_pfn_range_from_zone(struct zone *zone,
355 extern struct zone *zone_for_pfn_range(int online_type, int nid,