Lines Matching refs:xdr

58 svcxdr_decode_nfstime3(struct xdr_stream *xdr, struct timespec64 *timep)  in svcxdr_decode_nfstime3()  argument
62 p = xdr_inline_decode(xdr, XDR_UNIT * 2); in svcxdr_decode_nfstime3()
81 svcxdr_decode_nfs_fh3(struct xdr_stream *xdr, struct svc_fh *fhp) in svcxdr_decode_nfs_fh3() argument
86 if (xdr_stream_decode_u32(xdr, &size) < 0) in svcxdr_decode_nfs_fh3()
90 p = xdr_inline_decode(xdr, size); in svcxdr_decode_nfs_fh3()
110 svcxdr_encode_nfsstat3(struct xdr_stream *xdr, __be32 status) in svcxdr_encode_nfsstat3() argument
114 p = xdr_reserve_space(xdr, sizeof(status)); in svcxdr_encode_nfsstat3()
123 svcxdr_encode_nfs_fh3(struct xdr_stream *xdr, const struct svc_fh *fhp) in svcxdr_encode_nfs_fh3() argument
128 p = xdr_reserve_space(xdr, XDR_UNIT + size); in svcxdr_encode_nfs_fh3()
140 svcxdr_encode_post_op_fh3(struct xdr_stream *xdr, const struct svc_fh *fhp) in svcxdr_encode_post_op_fh3() argument
142 if (xdr_stream_encode_item_present(xdr) < 0) in svcxdr_encode_post_op_fh3()
144 if (!svcxdr_encode_nfs_fh3(xdr, fhp)) in svcxdr_encode_post_op_fh3()
151 svcxdr_encode_cookieverf3(struct xdr_stream *xdr, const __be32 *verf) in svcxdr_encode_cookieverf3() argument
155 p = xdr_reserve_space(xdr, NFS3_COOKIEVERFSIZE); in svcxdr_encode_cookieverf3()
164 svcxdr_encode_writeverf3(struct xdr_stream *xdr, const __be32 *verf) in svcxdr_encode_writeverf3() argument
168 p = xdr_reserve_space(xdr, NFS3_WRITEVERFSIZE); in svcxdr_encode_writeverf3()
177 svcxdr_decode_filename3(struct xdr_stream *xdr, char **name, unsigned int *len) in svcxdr_decode_filename3() argument
183 if (xdr_stream_decode_u32(xdr, &size) < 0) in svcxdr_decode_filename3()
187 p = xdr_inline_decode(xdr, size); in svcxdr_decode_filename3()
202 svcxdr_decode_diropargs3(struct xdr_stream *xdr, struct svc_fh *fhp, in svcxdr_decode_diropargs3() argument
205 return svcxdr_decode_nfs_fh3(xdr, fhp) && in svcxdr_decode_diropargs3()
206 svcxdr_decode_filename3(xdr, name, len); in svcxdr_decode_diropargs3()
210 svcxdr_decode_sattr3(struct svc_rqst *rqstp, struct xdr_stream *xdr, in svcxdr_decode_sattr3() argument
217 if (xdr_stream_decode_bool(xdr, &set_it) < 0) in svcxdr_decode_sattr3()
222 if (xdr_stream_decode_u32(xdr, &mode) < 0) in svcxdr_decode_sattr3()
227 if (xdr_stream_decode_bool(xdr, &set_it) < 0) in svcxdr_decode_sattr3()
232 if (xdr_stream_decode_u32(xdr, &uid) < 0) in svcxdr_decode_sattr3()
238 if (xdr_stream_decode_bool(xdr, &set_it) < 0) in svcxdr_decode_sattr3()
243 if (xdr_stream_decode_u32(xdr, &gid) < 0) in svcxdr_decode_sattr3()
249 if (xdr_stream_decode_bool(xdr, &set_it) < 0) in svcxdr_decode_sattr3()
254 if (xdr_stream_decode_u64(xdr, &newsize) < 0) in svcxdr_decode_sattr3()
259 if (xdr_stream_decode_u32(xdr, &set_it) < 0) in svcxdr_decode_sattr3()
268 if (!svcxdr_decode_nfstime3(xdr, &iap->ia_atime)) in svcxdr_decode_sattr3()
275 if (xdr_stream_decode_u32(xdr, &set_it) < 0) in svcxdr_decode_sattr3()
284 if (!svcxdr_decode_nfstime3(xdr, &iap->ia_mtime)) in svcxdr_decode_sattr3()
296 svcxdr_decode_sattrguard3(struct xdr_stream *xdr, struct nfsd3_sattrargs *args) in svcxdr_decode_sattrguard3() argument
301 if (xdr_stream_decode_bool(xdr, &check) < 0) in svcxdr_decode_sattrguard3()
304 p = xdr_inline_decode(xdr, XDR_UNIT * 2); in svcxdr_decode_sattrguard3()
316 svcxdr_decode_specdata3(struct xdr_stream *xdr, struct nfsd3_mknodargs *args) in svcxdr_decode_specdata3() argument
320 p = xdr_inline_decode(xdr, XDR_UNIT * 2); in svcxdr_decode_specdata3()
330 svcxdr_decode_devicedata3(struct svc_rqst *rqstp, struct xdr_stream *xdr, in svcxdr_decode_devicedata3() argument
333 return svcxdr_decode_sattr3(rqstp, xdr, &args->attrs) && in svcxdr_decode_devicedata3()
334 svcxdr_decode_specdata3(xdr, args); in svcxdr_decode_devicedata3()
338 svcxdr_encode_fattr3(struct svc_rqst *rqstp, struct xdr_stream *xdr, in svcxdr_encode_fattr3() argument
345 p = xdr_reserve_space(xdr, XDR_UNIT * 21); in svcxdr_encode_fattr3()
390 svcxdr_encode_wcc_attr(struct xdr_stream *xdr, const struct svc_fh *fhp) in svcxdr_encode_wcc_attr() argument
394 p = xdr_reserve_space(xdr, XDR_UNIT * 6); in svcxdr_encode_wcc_attr()
405 svcxdr_encode_pre_op_attr(struct xdr_stream *xdr, const struct svc_fh *fhp) in svcxdr_encode_pre_op_attr() argument
408 if (xdr_stream_encode_item_absent(xdr) < 0) in svcxdr_encode_pre_op_attr()
413 if (xdr_stream_encode_item_present(xdr) < 0) in svcxdr_encode_pre_op_attr()
415 return svcxdr_encode_wcc_attr(xdr, fhp); in svcxdr_encode_pre_op_attr()
429 svcxdr_encode_post_op_attr(struct svc_rqst *rqstp, struct xdr_stream *xdr, in svcxdr_encode_post_op_attr() argument
445 if (xdr_stream_encode_item_present(xdr) < 0) in svcxdr_encode_post_op_attr()
448 if (!svcxdr_encode_fattr3(rqstp, xdr, fhp, &stat)) in svcxdr_encode_post_op_attr()
454 return xdr_stream_encode_item_absent(xdr) > 0; in svcxdr_encode_post_op_attr()
461 svcxdr_encode_wcc_data(struct svc_rqst *rqstp, struct xdr_stream *xdr, in svcxdr_encode_wcc_data() argument
470 if (!svcxdr_encode_pre_op_attr(xdr, fhp)) in svcxdr_encode_wcc_data()
474 if (xdr_stream_encode_item_present(xdr) < 0) in svcxdr_encode_wcc_data()
476 if (!svcxdr_encode_fattr3(rqstp, xdr, fhp, &fhp->fh_post_attr)) in svcxdr_encode_wcc_data()
482 if (xdr_stream_encode_item_absent(xdr) < 0) in svcxdr_encode_wcc_data()
484 if (!svcxdr_encode_post_op_attr(rqstp, xdr, fhp)) in svcxdr_encode_wcc_data()
495 nfs3svc_decode_fhandleargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfs3svc_decode_fhandleargs() argument
499 return svcxdr_decode_nfs_fh3(xdr, &args->fh); in nfs3svc_decode_fhandleargs()
503 nfs3svc_decode_sattrargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfs3svc_decode_sattrargs() argument
507 return svcxdr_decode_nfs_fh3(xdr, &args->fh) && in nfs3svc_decode_sattrargs()
508 svcxdr_decode_sattr3(rqstp, xdr, &args->attrs) && in nfs3svc_decode_sattrargs()
509 svcxdr_decode_sattrguard3(xdr, args); in nfs3svc_decode_sattrargs()
513 nfs3svc_decode_diropargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfs3svc_decode_diropargs() argument
517 return svcxdr_decode_diropargs3(xdr, &args->fh, &args->name, &args->len); in nfs3svc_decode_diropargs()
521 nfs3svc_decode_accessargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfs3svc_decode_accessargs() argument
525 if (!svcxdr_decode_nfs_fh3(xdr, &args->fh)) in nfs3svc_decode_accessargs()
527 if (xdr_stream_decode_u32(xdr, &args->access) < 0) in nfs3svc_decode_accessargs()
534 nfs3svc_decode_readargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfs3svc_decode_readargs() argument
538 if (!svcxdr_decode_nfs_fh3(xdr, &args->fh)) in nfs3svc_decode_readargs()
540 if (xdr_stream_decode_u64(xdr, &args->offset) < 0) in nfs3svc_decode_readargs()
542 if (xdr_stream_decode_u32(xdr, &args->count) < 0) in nfs3svc_decode_readargs()
549 nfs3svc_decode_writeargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfs3svc_decode_writeargs() argument
554 if (!svcxdr_decode_nfs_fh3(xdr, &args->fh)) in nfs3svc_decode_writeargs()
556 if (xdr_stream_decode_u64(xdr, &args->offset) < 0) in nfs3svc_decode_writeargs()
558 if (xdr_stream_decode_u32(xdr, &args->count) < 0) in nfs3svc_decode_writeargs()
560 if (xdr_stream_decode_u32(xdr, &args->stable) < 0) in nfs3svc_decode_writeargs()
564 if (xdr_stream_decode_u32(xdr, &args->len) < 0) in nfs3svc_decode_writeargs()
575 return xdr_stream_subsegment(xdr, &args->payload, args->count); in nfs3svc_decode_writeargs()
579 nfs3svc_decode_createargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfs3svc_decode_createargs() argument
583 if (!svcxdr_decode_diropargs3(xdr, &args->fh, &args->name, &args->len)) in nfs3svc_decode_createargs()
585 if (xdr_stream_decode_u32(xdr, &args->createmode) < 0) in nfs3svc_decode_createargs()
590 return svcxdr_decode_sattr3(rqstp, xdr, &args->attrs); in nfs3svc_decode_createargs()
592 args->verf = xdr_inline_decode(xdr, NFS3_CREATEVERFSIZE); in nfs3svc_decode_createargs()
603 nfs3svc_decode_mkdirargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfs3svc_decode_mkdirargs() argument
607 return svcxdr_decode_diropargs3(xdr, &args->fh, in nfs3svc_decode_mkdirargs()
609 svcxdr_decode_sattr3(rqstp, xdr, &args->attrs); in nfs3svc_decode_mkdirargs()
613 nfs3svc_decode_symlinkargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfs3svc_decode_symlinkargs() argument
618 if (!svcxdr_decode_diropargs3(xdr, &args->ffh, &args->fname, &args->flen)) in nfs3svc_decode_symlinkargs()
620 if (!svcxdr_decode_sattr3(rqstp, xdr, &args->attrs)) in nfs3svc_decode_symlinkargs()
622 if (xdr_stream_decode_u32(xdr, &args->tlen) < 0) in nfs3svc_decode_symlinkargs()
626 args->first.iov_len = head->iov_len - xdr_stream_pos(xdr); in nfs3svc_decode_symlinkargs()
627 args->first.iov_base = xdr_inline_decode(xdr, args->tlen); in nfs3svc_decode_symlinkargs()
632 nfs3svc_decode_mknodargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfs3svc_decode_mknodargs() argument
636 if (!svcxdr_decode_diropargs3(xdr, &args->fh, &args->name, &args->len)) in nfs3svc_decode_mknodargs()
638 if (xdr_stream_decode_u32(xdr, &args->ftype) < 0) in nfs3svc_decode_mknodargs()
643 return svcxdr_decode_devicedata3(rqstp, xdr, args); in nfs3svc_decode_mknodargs()
646 return svcxdr_decode_sattr3(rqstp, xdr, &args->attrs); in nfs3svc_decode_mknodargs()
660 nfs3svc_decode_renameargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfs3svc_decode_renameargs() argument
664 return svcxdr_decode_diropargs3(xdr, &args->ffh, in nfs3svc_decode_renameargs()
666 svcxdr_decode_diropargs3(xdr, &args->tfh, in nfs3svc_decode_renameargs()
671 nfs3svc_decode_linkargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfs3svc_decode_linkargs() argument
675 return svcxdr_decode_nfs_fh3(xdr, &args->ffh) && in nfs3svc_decode_linkargs()
676 svcxdr_decode_diropargs3(xdr, &args->tfh, in nfs3svc_decode_linkargs()
681 nfs3svc_decode_readdirargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfs3svc_decode_readdirargs() argument
685 if (!svcxdr_decode_nfs_fh3(xdr, &args->fh)) in nfs3svc_decode_readdirargs()
687 if (xdr_stream_decode_u64(xdr, &args->cookie) < 0) in nfs3svc_decode_readdirargs()
689 args->verf = xdr_inline_decode(xdr, NFS3_COOKIEVERFSIZE); in nfs3svc_decode_readdirargs()
692 if (xdr_stream_decode_u32(xdr, &args->count) < 0) in nfs3svc_decode_readdirargs()
699 nfs3svc_decode_readdirplusargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfs3svc_decode_readdirplusargs() argument
704 if (!svcxdr_decode_nfs_fh3(xdr, &args->fh)) in nfs3svc_decode_readdirplusargs()
706 if (xdr_stream_decode_u64(xdr, &args->cookie) < 0) in nfs3svc_decode_readdirplusargs()
708 args->verf = xdr_inline_decode(xdr, NFS3_COOKIEVERFSIZE); in nfs3svc_decode_readdirplusargs()
712 if (xdr_stream_decode_u32(xdr, &dircount) < 0) in nfs3svc_decode_readdirplusargs()
714 if (xdr_stream_decode_u32(xdr, &args->count) < 0) in nfs3svc_decode_readdirplusargs()
721 nfs3svc_decode_commitargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfs3svc_decode_commitargs() argument
725 if (!svcxdr_decode_nfs_fh3(xdr, &args->fh)) in nfs3svc_decode_commitargs()
727 if (xdr_stream_decode_u64(xdr, &args->offset) < 0) in nfs3svc_decode_commitargs()
729 if (xdr_stream_decode_u32(xdr, &args->count) < 0) in nfs3svc_decode_commitargs()
741 nfs3svc_encode_getattrres(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfs3svc_encode_getattrres() argument
745 if (!svcxdr_encode_nfsstat3(xdr, resp->status)) in nfs3svc_encode_getattrres()
750 if (!svcxdr_encode_fattr3(rqstp, xdr, &resp->fh, &resp->stat)) in nfs3svc_encode_getattrres()
760 nfs3svc_encode_wccstat(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfs3svc_encode_wccstat() argument
764 return svcxdr_encode_nfsstat3(xdr, resp->status) && in nfs3svc_encode_wccstat()
765 svcxdr_encode_wcc_data(rqstp, xdr, &resp->fh); in nfs3svc_encode_wccstat()
770 nfs3svc_encode_lookupres(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfs3svc_encode_lookupres() argument
774 if (!svcxdr_encode_nfsstat3(xdr, resp->status)) in nfs3svc_encode_lookupres()
778 if (!svcxdr_encode_nfs_fh3(xdr, &resp->fh)) in nfs3svc_encode_lookupres()
780 if (!svcxdr_encode_post_op_attr(rqstp, xdr, &resp->fh)) in nfs3svc_encode_lookupres()
782 if (!svcxdr_encode_post_op_attr(rqstp, xdr, &resp->dirfh)) in nfs3svc_encode_lookupres()
786 if (!svcxdr_encode_post_op_attr(rqstp, xdr, &resp->dirfh)) in nfs3svc_encode_lookupres()
795 nfs3svc_encode_accessres(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfs3svc_encode_accessres() argument
799 if (!svcxdr_encode_nfsstat3(xdr, resp->status)) in nfs3svc_encode_accessres()
803 if (!svcxdr_encode_post_op_attr(rqstp, xdr, &resp->fh)) in nfs3svc_encode_accessres()
805 if (xdr_stream_encode_u32(xdr, resp->access) < 0) in nfs3svc_encode_accessres()
809 if (!svcxdr_encode_post_op_attr(rqstp, xdr, &resp->fh)) in nfs3svc_encode_accessres()
818 nfs3svc_encode_readlinkres(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfs3svc_encode_readlinkres() argument
823 if (!svcxdr_encode_nfsstat3(xdr, resp->status)) in nfs3svc_encode_readlinkres()
827 if (!svcxdr_encode_post_op_attr(rqstp, xdr, &resp->fh)) in nfs3svc_encode_readlinkres()
829 if (xdr_stream_encode_u32(xdr, resp->len) < 0) in nfs3svc_encode_readlinkres()
831 xdr_write_pages(xdr, resp->pages, 0, resp->len); in nfs3svc_encode_readlinkres()
836 if (!svcxdr_encode_post_op_attr(rqstp, xdr, &resp->fh)) in nfs3svc_encode_readlinkres()
845 nfs3svc_encode_readres(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfs3svc_encode_readres() argument
850 if (!svcxdr_encode_nfsstat3(xdr, resp->status)) in nfs3svc_encode_readres()
854 if (!svcxdr_encode_post_op_attr(rqstp, xdr, &resp->fh)) in nfs3svc_encode_readres()
856 if (xdr_stream_encode_u32(xdr, resp->count) < 0) in nfs3svc_encode_readres()
858 if (xdr_stream_encode_bool(xdr, resp->eof) < 0) in nfs3svc_encode_readres()
860 if (xdr_stream_encode_u32(xdr, resp->count) < 0) in nfs3svc_encode_readres()
862 xdr_write_pages(xdr, resp->pages, rqstp->rq_res.page_base, in nfs3svc_encode_readres()
868 if (!svcxdr_encode_post_op_attr(rqstp, xdr, &resp->fh)) in nfs3svc_encode_readres()
877 nfs3svc_encode_writeres(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfs3svc_encode_writeres() argument
881 if (!svcxdr_encode_nfsstat3(xdr, resp->status)) in nfs3svc_encode_writeres()
885 if (!svcxdr_encode_wcc_data(rqstp, xdr, &resp->fh)) in nfs3svc_encode_writeres()
887 if (xdr_stream_encode_u32(xdr, resp->count) < 0) in nfs3svc_encode_writeres()
889 if (xdr_stream_encode_u32(xdr, resp->committed) < 0) in nfs3svc_encode_writeres()
891 if (!svcxdr_encode_writeverf3(xdr, resp->verf)) in nfs3svc_encode_writeres()
895 if (!svcxdr_encode_wcc_data(rqstp, xdr, &resp->fh)) in nfs3svc_encode_writeres()
904 nfs3svc_encode_createres(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfs3svc_encode_createres() argument
908 if (!svcxdr_encode_nfsstat3(xdr, resp->status)) in nfs3svc_encode_createres()
912 if (!svcxdr_encode_post_op_fh3(xdr, &resp->fh)) in nfs3svc_encode_createres()
914 if (!svcxdr_encode_post_op_attr(rqstp, xdr, &resp->fh)) in nfs3svc_encode_createres()
916 if (!svcxdr_encode_wcc_data(rqstp, xdr, &resp->dirfh)) in nfs3svc_encode_createres()
920 if (!svcxdr_encode_wcc_data(rqstp, xdr, &resp->dirfh)) in nfs3svc_encode_createres()
929 nfs3svc_encode_renameres(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfs3svc_encode_renameres() argument
933 return svcxdr_encode_nfsstat3(xdr, resp->status) && in nfs3svc_encode_renameres()
934 svcxdr_encode_wcc_data(rqstp, xdr, &resp->ffh) && in nfs3svc_encode_renameres()
935 svcxdr_encode_wcc_data(rqstp, xdr, &resp->tfh); in nfs3svc_encode_renameres()
940 nfs3svc_encode_linkres(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfs3svc_encode_linkres() argument
944 return svcxdr_encode_nfsstat3(xdr, resp->status) && in nfs3svc_encode_linkres()
945 svcxdr_encode_post_op_attr(rqstp, xdr, &resp->fh) && in nfs3svc_encode_linkres()
946 svcxdr_encode_wcc_data(rqstp, xdr, &resp->tfh); in nfs3svc_encode_linkres()
951 nfs3svc_encode_readdirres(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfs3svc_encode_readdirres() argument
956 if (!svcxdr_encode_nfsstat3(xdr, resp->status)) in nfs3svc_encode_readdirres()
960 if (!svcxdr_encode_post_op_attr(rqstp, xdr, &resp->fh)) in nfs3svc_encode_readdirres()
962 if (!svcxdr_encode_cookieverf3(xdr, resp->verf)) in nfs3svc_encode_readdirres()
964 xdr_write_pages(xdr, dirlist->pages, 0, dirlist->len); in nfs3svc_encode_readdirres()
966 if (xdr_stream_encode_item_absent(xdr) < 0) in nfs3svc_encode_readdirres()
968 if (xdr_stream_encode_bool(xdr, resp->common.err == nfserr_eof) < 0) in nfs3svc_encode_readdirres()
972 if (!svcxdr_encode_post_op_attr(rqstp, xdr, &resp->fh)) in nfs3svc_encode_readdirres()
1041 struct xdr_stream *xdr = &resp->xdr; in svcxdr_encode_entry3_common() local
1043 if (xdr_stream_encode_item_present(xdr) < 0) in svcxdr_encode_entry3_common()
1046 if (xdr_stream_encode_u64(xdr, ino) < 0) in svcxdr_encode_entry3_common()
1049 if (xdr_stream_encode_opaque(xdr, name, min(namlen, NFS3_MAXNAMLEN)) < 0) in svcxdr_encode_entry3_common()
1053 if (xdr_stream_encode_u64(xdr, OFFSET_MAX) < 0) in svcxdr_encode_entry3_common()
1092 xdr_commit_encode(&resp->xdr); in nfs3svc_encode_entry3()
1107 struct xdr_stream *xdr = &resp->xdr; in svcxdr_encode_entry3_plus() local
1116 if (!svcxdr_encode_post_op_attr(resp->rqstp, xdr, fhp)) in svcxdr_encode_entry3_plus()
1118 if (!svcxdr_encode_post_op_fh3(xdr, fhp)) in svcxdr_encode_entry3_plus()
1127 if (xdr_stream_encode_item_absent(xdr) < 0) in svcxdr_encode_entry3_plus()
1129 if (xdr_stream_encode_item_absent(xdr) < 0) in svcxdr_encode_entry3_plus()
1169 xdr_commit_encode(&resp->xdr); in nfs3svc_encode_entryplus3()
1181 svcxdr_encode_fsstat3resok(struct xdr_stream *xdr, in svcxdr_encode_fsstat3resok() argument
1188 p = xdr_reserve_space(xdr, XDR_UNIT * 13); in svcxdr_encode_fsstat3resok()
1204 nfs3svc_encode_fsstatres(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfs3svc_encode_fsstatres() argument
1208 if (!svcxdr_encode_nfsstat3(xdr, resp->status)) in nfs3svc_encode_fsstatres()
1212 if (!svcxdr_encode_post_op_attr(rqstp, xdr, &nfs3svc_null_fh)) in nfs3svc_encode_fsstatres()
1214 if (!svcxdr_encode_fsstat3resok(xdr, resp)) in nfs3svc_encode_fsstatres()
1218 if (!svcxdr_encode_post_op_attr(rqstp, xdr, &nfs3svc_null_fh)) in nfs3svc_encode_fsstatres()
1226 svcxdr_encode_fsinfo3resok(struct xdr_stream *xdr, in svcxdr_encode_fsinfo3resok() argument
1231 p = xdr_reserve_space(xdr, XDR_UNIT * 12); in svcxdr_encode_fsinfo3resok()
1250 nfs3svc_encode_fsinfores(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfs3svc_encode_fsinfores() argument
1254 if (!svcxdr_encode_nfsstat3(xdr, resp->status)) in nfs3svc_encode_fsinfores()
1258 if (!svcxdr_encode_post_op_attr(rqstp, xdr, &nfs3svc_null_fh)) in nfs3svc_encode_fsinfores()
1260 if (!svcxdr_encode_fsinfo3resok(xdr, resp)) in nfs3svc_encode_fsinfores()
1264 if (!svcxdr_encode_post_op_attr(rqstp, xdr, &nfs3svc_null_fh)) in nfs3svc_encode_fsinfores()
1272 svcxdr_encode_pathconf3resok(struct xdr_stream *xdr, in svcxdr_encode_pathconf3resok() argument
1277 p = xdr_reserve_space(xdr, XDR_UNIT * 6); in svcxdr_encode_pathconf3resok()
1292 nfs3svc_encode_pathconfres(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfs3svc_encode_pathconfres() argument
1296 if (!svcxdr_encode_nfsstat3(xdr, resp->status)) in nfs3svc_encode_pathconfres()
1300 if (!svcxdr_encode_post_op_attr(rqstp, xdr, &nfs3svc_null_fh)) in nfs3svc_encode_pathconfres()
1302 if (!svcxdr_encode_pathconf3resok(xdr, resp)) in nfs3svc_encode_pathconfres()
1306 if (!svcxdr_encode_post_op_attr(rqstp, xdr, &nfs3svc_null_fh)) in nfs3svc_encode_pathconfres()
1315 nfs3svc_encode_commitres(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfs3svc_encode_commitres() argument
1319 if (!svcxdr_encode_nfsstat3(xdr, resp->status)) in nfs3svc_encode_commitres()
1323 if (!svcxdr_encode_wcc_data(rqstp, xdr, &resp->fh)) in nfs3svc_encode_commitres()
1325 if (!svcxdr_encode_writeverf3(xdr, resp->verf)) in nfs3svc_encode_commitres()
1329 if (!svcxdr_encode_wcc_data(rqstp, xdr, &resp->fh)) in nfs3svc_encode_commitres()