Lines Matching defs:old
437 kstat_delta(kstat_t *old, kstat_t *new, char *name)
440 if (old && old->ks_data) {
441 kstat_named_t *kold = kstat_data_lookup(old, name);
489 cpu_ticks_delta(kstat_t *old, kstat_t *new)
494 ticks += kstat_delta(old, new, cpu_states[i]);
517 hrtime_delta(hrtime_t old, hrtime_t new)
521 if ((new >= old) && (old >= 0L))
522 return (new - old);
531 * case where the old value is positive or
538 if (old > 0L)
539 return (n1 - old);
541 o1 = -old;
550 * than the old entry. This implies we waited
554 if (old < 0L) {
557 o2 = -old;
560 del = UINT64_MAX - old;