Lines Matching refs:zone_idx
1536 int zone_idx; in zoneinfo_parse_protection() local
1540 for (buf = strtok_r(buf, "(), ", &save_ptr), zone_idx = 0; in zoneinfo_parse_protection()
1541 buf && zone_idx < MAX_NR_ZONES; in zoneinfo_parse_protection()
1542 buf = strtok_r(NULL, "), ", &save_ptr), zone_idx++) { in zoneinfo_parse_protection()
1547 zone->protection[zone_idx] = zoneval; in zoneinfo_parse_protection()
1653 int zone_idx = 0; in zoneinfo_parse() local
1668 node->zone_count = zone_idx + 1; in zoneinfo_parse()
1678 zone_idx = 0; in zoneinfo_parse()
1685 zone_idx++; in zoneinfo_parse()
1687 if (!zoneinfo_parse_zone(&save_ptr, &node->zones[zone_idx])) { in zoneinfo_parse()
1697 node->zone_count = zone_idx + 1; in zoneinfo_parse()
1703 for (zone_idx = 0; zone_idx < node->zone_count; zone_idx++) { in zoneinfo_parse()
1704 struct zoneinfo_zone *zone = &zi->nodes[node_idx].zones[zone_idx]; in zoneinfo_parse()
2264 for (int zone_idx = 0; zone_idx < node->zone_count; zone_idx++) { in calc_zone_watermarks() local
2265 struct zoneinfo_zone *zone = &node->zones[zone_idx]; in calc_zone_watermarks()