Lines Matching defs:new
48 hrtime_delta(hrtime_t old, hrtime_t new)
53 if ((new >= old) && (old >= 0L)) {
54 return (new - old);
60 if (new < 0L) {
62 * The new value is negative. Handle the
69 n1 = -new;
82 * and the new entry is also positive but *less*
96 del += new;
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);