Lines Matching defs:new
55 static void dovmstats(struct snapshot *old, struct snapshot *new);
214 #define DELTA(v) (new->v - (old ? old->v : 0))
225 struct iodev_snapshot *new = (struct iodev_snapshot *)v2;
226 hrtime_t oldtime = new->is_crtime;
232 hr_etime = new->is_stats.wlastupdate - oldtime;
235 reads = new->is_stats.reads - (old ? old->is_stats.reads : 0);
236 writes = new->is_stats.writes - (old ? old->is_stats.writes : 0);
241 dovmstats(struct snapshot *old, struct snapshot *new)
244 kstat_t *newsys = &new->s_sys.ss_agg_sys;
246 kstat_t *newvm = &new->s_sys.ss_agg_vm;
264 etime = etime >= 1.0 ? (etime / nr_active_cpus(new)) / hz : 1.0;
290 adjprintf(" %*ld", 3, pgtok(new->s_sys.ss_deficit));
336 adjprintf(" %*ld", 2, pgtok(new->s_sys.ss_deficit));
339 (void) snapshot_walk(SNAP_IODEVS, old, new, show_disk, NULL);
341 count = df.if_max_iodevs - new->s_nr_iodevs;