Lines Matching refs:pnew
396 struct zs_pset *pres, struct zs_pset *pold, struct zs_pset *pnew,
409 punew = list_head(&pnew->zsp_usage_list);
422 if (pres != pnew) {
455 punew = list_next(&pnew->zsp_usage_list, punew);
472 pnew->zsp_total_time);
474 pnew->zsp_online;
485 } else if (pres == pnew) {
509 punew = list_next(&pnew->zsp_usage_list, punew);
518 punew = list_next(&pnew->zsp_usage_list, punew);
525 pnew->zsp_total_time);
527 pnew->zsp_online;
533 if (pres == pnew)
554 punew = list_next(&pnew->zsp_usage_list, punew);
590 struct zs_pset *pold, *pnew, *pres;
597 pnew = list_head(&unew->zsu_pset_list);
599 while (pold != NULL && pnew != NULL) {
603 cmp = strcmp(pold->zsp_name, pnew->zsp_name);
614 *pres = *pnew;
628 pres = pnew;
631 NULL, pnew, func) != 0)
637 pnew = list_next(&unew->zsu_pset_list, pnew);
654 pres = pnew;
661 *pres = *pnew;
675 if (pnew->zsp_hrstart > uold->zsu_hrtime) {
679 pnew->zsp_total_time, pold->zsp_total_time);
682 pnew->zsp_usage_kern, pold->zsp_usage_kern);
684 pnew->zsp_usage_zones, pold->zsp_usage_zones);
686 zs_pset_add_usage(pres, pnew, func);
690 pnew, func) != 0)
693 pnew = list_next(&unew->zsu_pset_list, pnew);
701 while (pnew != NULL) {
705 *pres = *pnew;
718 pnew, func) != 0)
721 pnew = list_next(&unew->zsu_pset_list, pnew);