Lines Matching refs:zone
10 struct zone;
63 static inline unsigned zone_span_seqbegin(struct zone *zone) in zone_span_seqbegin() argument
65 return read_seqbegin(&zone->span_seqlock); in zone_span_seqbegin()
67 static inline int zone_span_seqretry(struct zone *zone, unsigned iv) in zone_span_seqretry() argument
69 return read_seqretry(&zone->span_seqlock, iv); in zone_span_seqretry()
71 static inline void zone_span_writelock(struct zone *zone) in zone_span_writelock() argument
73 write_seqlock(&zone->span_seqlock); in zone_span_writelock()
75 static inline void zone_span_writeunlock(struct zone *zone) in zone_span_writeunlock() argument
77 write_sequnlock(&zone->span_seqlock); in zone_span_writeunlock()
79 static inline void zone_seqlock_init(struct zone *zone) in zone_seqlock_init() argument
81 seqlock_init(&zone->span_seqlock); in zone_seqlock_init()
83 extern int zone_grow_free_lists(struct zone *zone, unsigned long new_nr_pages);
84 extern int zone_grow_waitqueues(struct zone *zone, unsigned long nr_pages);
108 extern int __remove_pages(struct zone *zone, unsigned long start_pfn,
113 extern int __add_pages(int nid, struct zone *zone, unsigned long start_pfn,
202 extern void set_zone_contiguous(struct zone *zone);
203 extern void clear_zone_contiguous(struct zone *zone);
213 static inline unsigned zone_span_seqbegin(struct zone *zone) in zone_span_seqbegin() argument
217 static inline int zone_span_seqretry(struct zone *zone, unsigned iv) in zone_span_seqretry() argument
221 static inline void zone_span_writelock(struct zone *zone) {} in zone_span_writelock() argument
222 static inline void zone_span_writeunlock(struct zone *zone) {} in zone_span_writeunlock() argument
223 static inline void zone_seqlock_init(struct zone *zone) {} in zone_seqlock_init() argument
283 extern int sparse_add_one_section(struct zone *zone, unsigned long start_pfn);
284 extern void sparse_remove_one_section(struct zone *zone, struct mem_section *ms,