Lines Matching refs:rec
71 static struct dlist *cur, *rec; variable
172 while (rm(*argv, rec = cur = &top) != 0) in main()
221 while (rec != NULL && (rec->flags & DIR_CANTCLOSE) != 0) in reclaim()
222 rec = rec->down; in reclaim()
223 if (rec == NULL || rec == cur || rec->dp == NULL) in reclaim()
225 rec->diroff = telldir(rec->dp); in reclaim()
226 closeframe(rec); in reclaim()
227 rec = rec->down; in reclaim()
279 rec = cur->up; in popdir()
280 if (opendirat(cur->fd, "..", rec) != 0 || in popdir()
281 fstat(rec->fd, &buf) != 0) { in popdir()
287 if (rec->ino != buf.st_ino || rec->dev != buf.st_dev) { in popdir()
292 closeframe(rec); in popdir()
296 if (rec->diroff != -1) in popdir()
297 seekdir(rec->dp, rec->diroff); in popdir()
299 } else if (rec == cur) in popdir()
300 rec = cur->up; in popdir()