Lines Matching refs:zone

149 static inline void zone_numa_event_add(long x, struct zone *zone,  in zone_numa_event_add()  argument
152 atomic_long_add(x, &zone->vm_numa_event[item]); in zone_numa_event_add()
156 static inline unsigned long zone_numa_event_state(struct zone *zone, in zone_numa_event_state() argument
159 return atomic_long_read(&zone->vm_numa_event[item]); in zone_numa_event_state()
169 static inline void zone_page_state_add(long x, struct zone *zone, in zone_page_state_add() argument
172 atomic_long_add(x, &zone->vm_stat[item]); in zone_page_state_add()
211 static inline unsigned long zone_page_state(struct zone *zone, in zone_page_state() argument
214 long x = atomic_long_read(&zone->vm_stat[item]); in zone_page_state()
228 static inline unsigned long zone_page_state_snapshot(struct zone *zone, in zone_page_state_snapshot() argument
231 long x = atomic_long_read(&zone->vm_stat[item]); in zone_page_state_snapshot()
236 x += per_cpu_ptr(zone->per_cpu_zonestats, cpu)->vm_stat_diff[item]; in zone_page_state_snapshot()
247 __count_numa_event(struct zone *zone, enum numa_stat_item item) in __count_numa_event() argument
249 struct per_cpu_zonestat __percpu *pzstats = zone->per_cpu_zonestats; in __count_numa_event()
255 __count_numa_events(struct zone *zone, enum numa_stat_item item, long delta) in __count_numa_events() argument
257 struct per_cpu_zonestat __percpu *pzstats = zone->per_cpu_zonestats; in __count_numa_events()
280 void __mod_zone_page_state(struct zone *, enum zone_stat_item item, long);
288 void mod_zone_page_state(struct zone *, enum zone_stat_item, long);
297 extern void __inc_zone_state(struct zone *, enum zone_stat_item);
299 extern void dec_zone_state(struct zone *, enum zone_stat_item);
300 extern void __dec_zone_state(struct zone *, enum zone_stat_item);
311 void drain_zonestat(struct zone *zone, struct per_cpu_zonestat *);
313 int calculate_pressure_threshold(struct zone *zone);
314 int calculate_normal_threshold(struct zone *zone);
316 int (*calculate_pressure)(struct zone *));
323 static inline void __mod_zone_page_state(struct zone *zone, in __mod_zone_page_state() argument
326 zone_page_state_add(delta, zone, item); in __mod_zone_page_state()
346 static inline void __inc_zone_state(struct zone *zone, enum zone_stat_item item) in __inc_zone_state() argument
348 atomic_long_inc(&zone->vm_stat[item]); in __inc_zone_state()
358 static inline void __dec_zone_state(struct zone *zone, enum zone_stat_item item) in __dec_zone_state() argument
360 atomic_long_dec(&zone->vm_stat[item]); in __dec_zone_state()
418 static inline void drain_zonestat(struct zone *zone, in drain_zonestat() argument