Lines Matching defs:old
51 static void dovmstats(struct snapshot *old, struct snapshot *new);
60 struct snapshot *old = NULL;
182 dovmstats(old, ss);
189 free_snapshot(old);
190 old = ss;
194 snapshot_report_changes(old, ss);
197 if (snapshot_has_changed(old, ss)) {
198 free_snapshot(old);
199 old = NULL;
202 dovmstats(old, ss);
205 free_snapshot(old);
212 #define DELTA(v) (new->v - (old ? old->v : 0))
222 struct iodev_snapshot *old = (struct iodev_snapshot *)v1;
231 if (old)
232 oldtime = old->is_stats.wlastupdate;
236 reads = new->is_stats.reads - (old ? old->is_stats.reads : 0);
237 writes = new->is_stats.writes - (old ? old->is_stats.writes : 0);
242 dovmstats(struct snapshot *old, struct snapshot *new)
254 if (old) {
255 oldsys = &old->s_sys.ss_agg_sys;
256 oldvm = &old->s_sys.ss_agg_vm;
340 (void) snapshot_walk(SNAP_IODEVS, old, new, show_disk, NULL);