Lines Matching refs:zone
11 struct zone;
101 static inline unsigned zone_span_seqbegin(struct zone *zone) in zone_span_seqbegin() argument
103 return read_seqbegin(&zone->span_seqlock); in zone_span_seqbegin()
105 static inline int zone_span_seqretry(struct zone *zone, unsigned iv) in zone_span_seqretry() argument
107 return read_seqretry(&zone->span_seqlock, iv); in zone_span_seqretry()
109 static inline void zone_span_writelock(struct zone *zone) in zone_span_writelock() argument
111 write_seqlock(&zone->span_seqlock); in zone_span_writelock()
113 static inline void zone_span_writeunlock(struct zone *zone) in zone_span_writeunlock() argument
115 write_sequnlock(&zone->span_seqlock); in zone_span_writeunlock()
117 static inline void zone_seqlock_init(struct zone *zone) in zone_seqlock_init() argument
119 seqlock_init(&zone->span_seqlock); in zone_seqlock_init()
126 struct zone *zone, bool mhp_off_inaccessible);
129 struct zone *zone, struct memory_group *group);
206 static inline unsigned zone_span_seqbegin(struct zone *zone) in zone_span_seqbegin() argument
210 static inline int zone_span_seqretry(struct zone *zone, unsigned iv) in zone_span_seqretry() argument
214 static inline void zone_span_writelock(struct zone *zone) {} in zone_span_writelock() argument
215 static inline void zone_span_writeunlock(struct zone *zone) {} in zone_span_writeunlock() argument
216 static inline void zone_seqlock_init(struct zone *zone) {} in zone_seqlock_init() argument
283 struct zone *zone, struct memory_group *group);
292 struct zone *zone, struct memory_group *group) in offline_pages() argument
314 extern void move_pfn_range_to_zone(struct zone *zone, unsigned long start_pfn,
317 extern void remove_pfn_range_from_zone(struct zone *zone,
327 extern struct zone *zone_for_pfn_range(int online_type, int nid,