Lines Matching refs:uold

247 zs_usage_compute_zones(struct zs_usage *ures, struct zs_usage *uold,
258 zold = list_head(&uold->zsu_zone_list);
281 if (ures == uold)
282 list_insert_before(&uold->zsu_zone_list,
304 zold = list_next(&uold->zsu_zone_list, zold);
309 if (ures == uold) {
330 if (zres->zsz_hrstart > uold->zsu_hrtime) {
332 zold = list_next(&uold->zsu_zone_list, zold);
356 zold = list_next(&uold->zsu_zone_list, zold);
371 if (ures == uold)
372 list_insert_tail(&uold->zsu_zone_list, zres);
395 zs_usage_compute_pset_usage(struct zs_usage *uold, struct zs_usage *ures,
508 if (punew->zspz_hrstart > uold->zsu_hrtime) {
587 zs_usage_compute_psets(struct zs_usage *ures, struct zs_usage *uold,
596 pold = list_head(&uold->zsu_pset_list);
620 if (ures == uold)
621 list_insert_before(&uold->zsu_pset_list,
630 if (zs_usage_compute_pset_usage(uold, ures, pres,
646 pold = list_next(&uold->zsu_pset_list, pold);
651 if (ures == uold) {
675 if (pnew->zsp_hrstart > uold->zsu_hrtime) {
689 if (zs_usage_compute_pset_usage(uold, ures, pres, pold,
694 pold = list_next(&uold->zsu_pset_list, pold);
712 if (ures == uold)
713 list_insert_tail(&uold->zsu_pset_list, pres);
717 if (zs_usage_compute_pset_usage(uold, ures, pres, NULL,
927 zs_usage_compute_datalinks(struct zs_usage *ures, struct zs_usage *uold,
936 dold = list_head(&uold->zsu_datalink_list);
967 if (ures == uold)
969 &uold->zsu_datalink_list,
997 dold = list_next(&uold->zsu_datalink_list, dold);
1002 if (ures == uold) {
1061 dold = list_next(&uold->zsu_datalink_list, dold);
2823 struct zs_usage *uold = (struct zs_usage *)uoldin;
2831 (zs_usage_t)uold, (zs_usage_t)unew, ZS_COMPUTE_USAGE_INTERVAL));
2855 struct zs_usage *uold = (struct zs_usage *)uoldin;
2873 sold = uold->zsu_system;
2906 uold->zsu_hrintervaltime;
3078 if (zs_usage_compute_zones(ures, uold, unew, func) != 0)
3081 if (zs_usage_compute_psets(ures, uold, unew, func) != 0)
3084 if (zs_usage_compute_datalinks(ures, uold, unew, func) != 0)