Lines Matching refs:dnew

763     struct zs_datalink *dnew, zs_compute_t func)
767 dres->zsl_rbytes = MAX(dold->zsl_rbytes, dnew->zsl_rbytes);
768 dres->zsl_obytes = MAX(dold->zsl_obytes, dnew->zsl_obytes);
769 dres->zsl_prbytes = MAX(dold->zsl_prbytes, dnew->zsl_prbytes);
770 dres->zsl_pobytes = MAX(dold->zsl_pobytes, dnew->zsl_pobytes);
771 dres->zsl_speed = MAX(dold->zsl_speed, dnew->zsl_speed);
777 dres->zsl_rbytes += dnew->zsl_rbytes;
778 dres->zsl_obytes += dnew->zsl_obytes;
779 dres->zsl_prbytes += dnew->zsl_prbytes;
780 dres->zsl_pobytes += dnew->zsl_pobytes;
781 dres->zsl_hrtime += dnew->zsl_hrtime;
791 struct zs_datalink *dnew, zs_compute_t func)
803 dunew = list_head(&dnew->zsl_vlink_list);
816 if (dres != dnew) {
840 dunew = list_next(&dnew->zsl_vlink_list, dunew);
857 } else if (dres == dnew) {
895 dunew = list_next(&dnew->zsl_vlink_list, dunew);
901 if (dres != dnew) {
921 dunew = list_next(&dnew->zsl_vlink_list, dunew);
930 struct zs_datalink *dold, *dnew, *dres;
937 dnew = list_head(&unew->zsu_datalink_list);
939 while (dold != NULL && dnew != NULL) {
943 cmp = strcmp(dold->zsl_linkname, dnew->zsl_linkname);
959 *dres = *dnew;
975 dres = dnew;
986 if (zs_usage_compute_vlink_usage(dres, dold, dnew,
989 dnew = list_next(&unew->zsu_datalink_list, dnew);
1005 dres = dnew;
1011 *dres = *dnew;
1037 dres->zsl_rbytes = dnew->zsl_rbytes - dold->zsl_rbytes;
1038 dres->zsl_obytes = dnew->zsl_obytes - dold->zsl_obytes;
1039 dres->zsl_prbytes = dnew->zsl_prbytes -
1041 dres->zsl_pobytes = dnew->zsl_pobytes -
1043 dres->zsl_hrtime = dnew->zsl_hrtime -
1055 zs_link_add_usage(dres, dold, dnew, func);
1057 if (zs_usage_compute_vlink_usage(dres, dold, dnew, func)
1060 dnew = list_next(&unew->zsu_datalink_list, dnew);
1065 while (dnew != NULL) {
1071 *dres = *dnew;
1088 dres->zsl_total_rbytes += dnew->zsl_rbytes;
1089 dres->zsl_total_obytes += dnew->zsl_obytes;
1090 dres->zsl_total_prbytes += dnew->zsl_prbytes;
1091 dres->zsl_total_pobytes += dnew->zsl_pobytes;
1093 if (zs_usage_compute_vlink_usage(dres, NULL, dnew, func)
1099 dnew = list_next(&unew->zsu_datalink_list, dnew);