Lines Matching defs:old
435 kstat_delta(kstat_t *old, kstat_t *new, char *name)
438 if (old && old->ks_data) {
439 kstat_named_t *kold = kstat_data_lookup(old, name);
487 cpu_ticks_delta(kstat_t *old, kstat_t *new)
492 ticks += kstat_delta(old, new, cpu_states[i]);
515 hrtime_delta(hrtime_t old, hrtime_t new)
519 if ((new >= old) && (old >= 0L))
520 return (new - old);
529 * case where the old value is positive or
536 if (old > 0L)
537 return (n1 - old);
539 o1 = -old;
548 * than the old entry. This implies we waited
552 if (old < 0L) {
555 o2 = -old;
558 del = UINT64_MAX - old;