Lines Matching refs:old
1252 // fields from dirtree leaf nodes. (top diffs old & new array to show changes)
1417 // measurement rather than process start. Stomping old.data is fine
1458 } plist[2], *plold, *plnew, old, new, mix;
1506 // Collate old and new into "mix", depends on /proc read in pid sort order
1507 old = *plold;
1509 mix.tb = xmalloc((old.count+new.count)*sizeof(struct procpid));
1512 while (old.count || new.count) {
1513 struct procpid *otb = old.count ? *old.tb : 0,
1516 // If we just have old for this process, it exited. Discard it.
1517 if (old.count && (!new.count || *otb->slot < *ntb->slot)) {
1518 old.tb++;
1519 old.count--;
1525 if (!old.count || *otb->slot > *ntb->slot) mix.tb[mix.count] = ntb;
1528 if (filter(otb->slot, ntb->slot, new.whence-old.whence)) {
1532 old.tb++;
1533 old.count--;
1781 // Compare old and new proces lists to measure changes