Lines Matching defs:zone
26 static inline void show_node(struct zone *zone)
29 printk("Node %d ", zone_to_nid(zone));
38 struct zone *zone;
40 for_each_zone(zone)
41 wmark_low += low_wmark_pages(zone);
104 struct zone *zone = &pgdat->node_zones[zone_type];
106 if (is_highmem(zone)) {
107 managed_highpages += zone_managed_pages(zone);
108 free_highpages += zone_page_state(zone, NR_FREE_PAGES);
190 struct zone *zone;
193 for_each_populated_zone(zone) {
194 if (zone_idx(zone) > max_zone_idx)
196 if (show_mem_node_skip(filter, zone_to_nid(zone), nodemask))
200 free_pcp += per_cpu_ptr(zone->per_cpu_pageset, cpu)->count;
291 for_each_populated_zone(zone) {
294 if (zone_idx(zone) > max_zone_idx)
296 if (show_mem_node_skip(filter, zone_to_nid(zone), nodemask))
301 free_pcp += per_cpu_ptr(zone->per_cpu_pageset, cpu)->count;
303 show_node(zone);
326 zone->name,
327 K(zone_page_state(zone, NR_FREE_PAGES)),
328 K(zone->watermark_boost),
329 K(min_wmark_pages(zone)),
330 K(low_wmark_pages(zone)),
331 K(high_wmark_pages(zone)),
332 K(zone->nr_reserved_highatomic),
333 K(zone_page_state(zone, NR_ZONE_ACTIVE_ANON)),
334 K(zone_page_state(zone, NR_ZONE_INACTIVE_ANON)),
335 K(zone_page_state(zone, NR_ZONE_ACTIVE_FILE)),
336 K(zone_page_state(zone, NR_ZONE_INACTIVE_FILE)),
337 K(zone_page_state(zone, NR_ZONE_UNEVICTABLE)),
338 K(zone_page_state(zone, NR_ZONE_WRITE_PENDING)),
339 K(zone->present_pages),
340 K(zone_managed_pages(zone)),
341 K(zone_page_state(zone, NR_MLOCK)),
342 K(zone_page_state(zone, NR_BOUNCE)),
344 K(this_cpu_read(zone->per_cpu_pageset->count)),
345 K(zone_page_state(zone, NR_FREE_CMA_PAGES)));
348 printk(KERN_CONT " %ld", zone->lowmem_reserve[i]);
352 for_each_populated_zone(zone) {
357 if (zone_idx(zone) > max_zone_idx)
359 if (show_mem_node_skip(filter, zone_to_nid(zone), nodemask))
361 show_node(zone);
362 printk(KERN_CONT "%s: ", zone->name);
364 spin_lock_irqsave(&zone->lock, flags);
366 struct free_area *area = &zone->free_area[order];
378 spin_unlock_irqrestore(&zone->lock, flags);
402 struct zone *zone;
407 for_each_populated_zone(zone) {
409 total += zone->present_pages;
410 reserved += zone->present_pages - zone_managed_pages(zone);
412 if (is_highmem(zone))
413 highmem += zone->present_pages;