Lines Matching refs:ures

224 zs_usage_compute_zones(zs_usage_t *ures, zs_usage_t *uold, zs_usage_t *unew,
230 sres = ures->zsu_system;
248 if (ures != unew) {
258 if (ures == uold)
262 list_insert_tail(&ures->zsu_zone_list,
286 if (ures == uold) {
288 } else if (ures == unew) {
297 list_insert_tail(&ures->zsu_zone_list, zres);
326 if (ures == unew)
338 if (ures == uold)
341 list_insert_tail(&ures->zsu_zone_list, zres);
361 zs_usage_compute_pset_usage(zs_usage_t *uold, zs_usage_t *ures,
395 pures->zspz_zone = zs_lookup_zone_byname(ures,
459 pures->zspz_zone = zs_lookup_zone_byname(ures,
508 pures->zspz_zone = zs_lookup_zone_byname(ures,
551 zs_usage_compute_psets(zs_usage_t *ures, zs_usage_t *uold, zs_usage_t *unew,
573 if (ures != unew) {
583 if (ures == uold)
587 list_insert_tail(&ures->zsu_pset_list,
593 if (zs_usage_compute_pset_usage(uold, ures, pres,
614 if (ures == uold) {
616 } else if (ures == unew) {
627 list_insert_tail(&ures->zsu_pset_list, pres);
651 if (zs_usage_compute_pset_usage(uold, ures, pres, pold,
659 if (ures == unew)
674 if (ures == uold)
677 list_insert_tail(&ures->zsu_pset_list, pres);
679 if (zs_usage_compute_pset_usage(uold, ures, pres, NULL,
2275 zs_usage_compute(zs_usage_t *ures, zs_usage_t *uold, zs_usage_t *unew,
2287 if (ures == NULL) {
2289 ures = zs_usage_alloc();
2290 if (ures == NULL)
2294 sres = ures->zsu_system;
2371 ures->zsu_intervals++;
2446 zs_usage_free(ures);
2449 if (zs_usage_compute_zones(ures, uold, unew, func) != 0)
2452 if (zs_usage_compute_psets(ures, uold, unew, func) != 0)
2455 return (ures);
2458 zs_usage_free(ures);