Lines Matching refs:old
48 hrtime_delta(hrtime_t old, hrtime_t new)
53 if ((new >= old) && (old >= 0L)) {
54 return (new - old);
63 * case where the old value is positive or
71 if (old > 0L) {
72 return (n1 - old);
74 o1 = -old;
83 * than the old entry. This implies we waited
87 if (old < 0L) {
90 o2 = -old;
93 del = UINT64_MAX - old;
109 u32_delta(uint32_t old, uint32_t new)
112 if (new >= old)
113 return (new - old);
115 return ((UINT32_MAX - old) + new + 1);
124 u64_delta(uint64_t old, uint64_t new)
127 if (new >= old)
128 return (new - old);
130 return ((UINT64_MAX - old) + new + 1);