Lines Matching full:repl

191 	struct repl {  in nfs_getrootfh()  struct
197 } *repl; in nfs_getrootfh() local
220 args, len, (void **)&repl, &pkt); in nfs_getrootfh()
230 if (repl->errno != 0) { in nfs_getrootfh()
232 return (ntohl(repl->errno)); in nfs_getrootfh()
234 *fhlenp = ntohl(repl->fhsize); in nfs_getrootfh()
235 bcopy(repl->fh, fhp, *fhlenp); in nfs_getrootfh()
256 struct repl { in nfs_lookupfh() struct
262 } *repl; in nfs_lookupfh() local
289 args, len, (void **)&repl, &pkt); in nfs_lookupfh()
298 if (repl->errno != 0) { in nfs_lookupfh()
301 return (ntohl(repl->errno)); in nfs_lookupfh()
303 newfd->fhsize = ntohl(repl->fhsize); in nfs_lookupfh()
304 bcopy(repl->fhplusattr, &newfd->fh, newfd->fhsize); in nfs_lookupfh()
306 if (repl->fhplusattr[pos++] == 0) { in nfs_lookupfh()
310 bcopy(&repl->fhplusattr[pos], &newfd->fa, sizeof(newfd->fa)); in nfs_lookupfh()
327 struct repl { in nfs_readlink() struct
333 } *repl; in nfs_readlink() local
353 (void **)&repl, &pkt); in nfs_readlink()
362 if (repl->errno != 0) { in nfs_readlink()
363 rc = ntohl(repl->errno); in nfs_readlink()
367 if (repl->ok == 0) { in nfs_readlink()
372 repl->len = ntohl(repl->len); in nfs_readlink()
373 if (repl->len > NFS_MAXPATHLEN) { in nfs_readlink()
378 bcopy(repl->path, buf, repl->len); in nfs_readlink()
379 buf[repl->len] = 0; in nfs_readlink()
398 struct repl { in nfs_readdata() struct
406 } *repl; in nfs_readdata() local
426 hlen = offsetof(struct repl, data[0]); in nfs_readdata()
430 (void **)&repl, &pkt); in nfs_readdata()
440 if (repl->errno != 0) { in nfs_readdata()
441 errno = ntohl(repl->errno); in nfs_readdata()
446 x = ntohl(repl->count); in nfs_readdata()
453 bcopy(repl->data, addr, x); in nfs_readdata()
768 struct nfsv3_readdir_repl *repl; in nfs_readdir() local
811 repl = (struct nfsv3_readdir_repl *)buf; in nfs_readdir()
812 if (repl->errno != 0) { in nfs_readdir()
813 rc = ntohl(repl->errno); in nfs_readdir()
818 fp->cookie = ((uint64_t)ntohl(repl->cookiev0) << 32) | in nfs_readdir()
819 ntohl(repl->cookiev1); in nfs_readdir()