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