Lines Matching defs:old
565 struct iodev_snapshot *old = (struct iodev_snapshot *)v1;
610 if (old) {
611 t_delta = hrtime_delta(old->is_snaptime,
624 if (!old) {
637 udeltas = u32_delta(old ? old->is_stats.reads : 0,
643 udeltas = u32_delta(old ? old->is_stats.writes : 0,
660 ldeltas = ull_delta(old ? old->is_stats.nread : 0,
669 ldeltas = ull_delta(old ? old->is_stats.nwritten : 0,
687 (old ? old->is_stats.wlentime : 0),
698 r_delta = hrtime_delta(old ? old->is_stats.rlentime : 0,
728 t_delta = hrtime_delta(old ? old->is_stats.wtime : 0,
745 t_delta = hrtime_delta(old ? old->is_stats.rtime : 0,
1687 ull_delta(u_longlong_t old, u_longlong_t new)
1689 if (new >= old)
1690 return (new - old);
1692 return ((UINT64_MAX - old) + new + 1);
1701 u32_delta(uint_t old, uint_t new)
1703 if (new >= old)
1704 return (new - old);
1706 return ((UINT32_MAX - old) + new + 1);