Lines Matching refs:pf
538 struct parsefile *pf;
540 pf = parsefile;
541 while (pf != NULL) { /* don't need to stop at basepf */
542 if (pf->fd == from)
543 pf->fd = to;
544 pf = pf->prev;
608 struct parsefile *pf;
619 pf = (struct parsefile *)ckmalloc(sizeof (struct parsefile));
620 pf->prev = parsefile;
621 pf->fd = -1;
622 pf->strpush = NULL;
623 pf->basestrpush.prev = NULL;
624 pf->buf = NULL;
625 parsefile = pf;
632 struct parsefile *pf = parsefile;
635 if (pf->fd >= 0)
636 sh_close(pf->fd);
637 if (pf->buf)
638 ckfree(pf->buf);
639 while (pf->strpush)
641 parsefile = pf->prev;
642 ckfree(pf);