Lines Matching defs:repl
193 struct repl {
199 } *repl;
222 args, len, (void **)&repl, &pkt);
232 if (repl->errno != 0) {
234 return (ntohl(repl->errno));
236 *fhlenp = ntohl(repl->fhsize);
237 bcopy(repl->fh, fhp, *fhlenp);
258 struct repl {
264 } *repl;
291 args, len, (void **)&repl, &pkt);
300 if (repl->errno != 0) {
303 return (ntohl(repl->errno));
305 newfd->fhsize = ntohl(repl->fhsize);
306 bcopy(repl->fhplusattr, &newfd->fh, newfd->fhsize);
308 if (repl->fhplusattr[pos++] == 0) {
312 bcopy(&repl->fhplusattr[pos], &newfd->fa, sizeof(newfd->fa));
328 struct repl {
334 } *repl;
354 (void **)&repl, &pkt);
363 if (repl->errno != 0) {
364 rc = ntohl(repl->errno);
368 if (repl->ok == 0) {
373 repl->len = ntohl(repl->len);
374 if (repl->len > NFS_MAXPATHLEN) {
379 bcopy(repl->path, buf, repl->len);
380 buf[repl->len] = 0;
398 struct repl {
406 } *repl;
426 hlen = offsetof(struct repl, data[0]);
430 (void **)&repl, &pkt);
440 if (repl->errno != 0) {
441 errno = ntohl(repl->errno);
446 x = ntohl(repl->count);
453 bcopy(repl->data, addr, x);
767 struct nfsv3_readdir_repl *repl;
810 repl = (struct nfsv3_readdir_repl *)buf;
811 if (repl->errno != 0) {
812 rc = ntohl(repl->errno);
817 fp->cookie = ((uint64_t)ntohl(repl->cookiev0) << 32) |
818 ntohl(repl->cookiev1);