Lines Matching defs:dold
762 zs_link_add_usage(struct zs_datalink *dres, struct zs_datalink *dold,
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);
790 zs_usage_compute_vlink_usage(struct zs_datalink *dres, struct zs_datalink *dold,
799 if (dold == NULL)
802 duold = list_head(&dold->zsl_vlink_list);
823 if (dres == dold)
825 &dold->zsl_vlink_list, duold,
849 duold = list_next(&dold->zsl_vlink_list, duold);
855 if (dres == dold) {
896 duold = list_next(&dold->zsl_vlink_list, duold);
930 struct zs_datalink *dold, *dnew, *dres;
936 dold = list_head(&uold->zsu_datalink_list);
939 while (dold != NULL && dnew != NULL) {
943 cmp = strcmp(dold->zsl_linkname, dnew->zsl_linkname);
970 dold, dres);
986 if (zs_usage_compute_vlink_usage(dres, dold, dnew,
997 dold = list_next(&uold->zsu_datalink_list, dold);
1003 dres = dold;
1037 dres->zsl_rbytes = dnew->zsl_rbytes - dold->zsl_rbytes;
1038 dres->zsl_obytes = dnew->zsl_obytes - dold->zsl_obytes;
1040 dold->zsl_prbytes;
1042 dold->zsl_pobytes;
1044 dold->zsl_hrtime;
1055 zs_link_add_usage(dres, dold, dnew, func);
1057 if (zs_usage_compute_vlink_usage(dres, dold, dnew, func)
1061 dold = list_next(&uold->zsu_datalink_list, dold);