Lines Matching refs:pures
399 struct zs_pset_zone *puold, *punew, *pures;
423 pures = (struct zs_pset_zone *)malloc(
425 if (pures == NULL)
427 *pures = *punew;
429 pures->zspz_pset = pres;
430 pures->zspz_zone = zs_lookup_zone_byname(ures,
432 assert(pures->zspz_zone != NULL);
433 pures->zspz_intervals = 0;
437 pures);
440 pures);
442 pures = punew;
445 pures->zspz_intervals++;
449 pures->zspz_zone->zsz_pset_time,
451 pures->zspz_zone->zsz_cpus_online +=
484 pures = puold;
486 pures = punew;
488 pures = (struct zs_pset_zone *)malloc(
490 if (pures == NULL)
492 *pures = *punew;
493 pures->zspz_pset = pres;
494 pures->zspz_zone = zs_lookup_zone_byname(ures,
496 assert(pures->zspz_zone != NULL);
497 list_insert_tail(&pres->zsp_usage_list, pures);
500 pures->zspz_intervals++;
513 TIMESTRUC_DELTA(pures->zspz_cpu_usage,
516 zs_pset_zone_add_usage(pures, punew, func);
538 pures = (struct zs_pset_zone *)
540 if (pures == NULL)
542 *pures = *punew;
543 pures->zspz_pset = pres;
544 pures->zspz_zone = zs_lookup_zone_byname(ures,
546 assert(pures->zspz_zone != NULL);
548 pures->zspz_intervals++;
550 list_insert_tail(&pold->zsp_usage_list, pures);
552 list_insert_tail(&pres->zsp_usage_list, pures);