Lines Matching refs:newfd
249 nfs_lookupfh(struct nfs_iodesc *d, const char *name, struct nfs_iodesc *newfd)
305 newfd->fhsize = ntohl(repl->fhsize);
306 bcopy(repl->fhplusattr, &newfd->fh, newfd->fhsize);
307 pos = roundup(newfd->fhsize, sizeof(uint32_t)) / sizeof(uint32_t);
312 bcopy(&repl->fhplusattr[pos], &newfd->fa, sizeof(newfd->fa));
474 struct nfs_iodesc *newfd = NULL;
527 currfd = malloc(sizeof(*newfd));
534 newfd = NULL;
559 newfd = malloc(sizeof(*newfd));
560 if (newfd == NULL) {
564 newfd->iodesc = currfd->iodesc;
584 error = nfs_lookupfh(currfd, ncp, newfd);
592 if (newfd->fa.fa_type == htonl(NFLNK)) {
595 error = nfs_readlink(newfd, linkbuf);
619 free(newfd);
620 newfd = NULL;
626 currfd = newfd;
627 newfd = NULL;
633 free(newfd);