Lines Matching refs:zone
1535 static void zoneinfo_parse_protection(char *buf, struct zoneinfo_zone *zone) { in zoneinfo_parse_protection() argument
1547 zone->protection[zone_idx] = zoneval; in zoneinfo_parse_protection()
1549 zone->max_protection = max; in zoneinfo_parse_protection()
1552 static int zoneinfo_parse_zone(char **buf, struct zoneinfo_zone *zone) { in zoneinfo_parse_zone() argument
1578 zoneinfo_parse_protection(ap, zone); in zoneinfo_parse_zone()
1594 zone->fields.arr[field_idx] = val; in zoneinfo_parse_zone()
1704 struct zoneinfo_zone *zone = &zi->nodes[node_idx].zones[zone_idx]; in zoneinfo_parse() local
1705 zi->totalreserve_pages += zone->max_protection + zone->fields.field.high; in zoneinfo_parse()
2265 struct zoneinfo_zone *zone = &node->zones[zone_idx]; in calc_zone_watermarks() local
2267 if (!zone->fields.field.present) { in calc_zone_watermarks()
2271 watermarks->high_wmark += zone->max_protection + zone->fields.field.high; in calc_zone_watermarks()
2272 watermarks->low_wmark += zone->max_protection + zone->fields.field.low; in calc_zone_watermarks()
2273 watermarks->min_wmark += zone->max_protection + zone->fields.field.min; in calc_zone_watermarks()