Lines Matching refs:dist
186 long long dist; in seek_dist() local
190 dist = start - sip->last_end; in seek_dist()
195 dist = 0; in seek_dist()
197 dist = start - sip->last_end; in seek_dist()
199 dist = start - sip->last_start; in seek_dist()
205 return dist; in seek_dist()
255 long long dist = seek_dist(sip, iop); in seeki_add() local
260 fprintf(fp, "%15.9lf %13lld %c\n", tstamp, dist, rw); in seeki_add()
262 fprintf(sip->cfp, "%15.9lf %13lld %c\n", tstamp, dist, rw); in seeki_add()
264 dist = llabs(dist); in seeki_add()
266 sip->total_sectors += dist; in seeki_add()
267 __insert(&sip->root, dist); in seeki_add()