Lines Matching refs:rqstp

130 svcxdr_decode_sattr(struct svc_rqst *rqstp, struct xdr_stream *xdr,
154 iap->ia_uid = make_kuid(nfsd_user_namespace(rqstp), tmp1);
161 iap->ia_gid = make_kgid(nfsd_user_namespace(rqstp), tmp1);
204 * @rqstp: Context of a completed RPC transaction
214 svcxdr_encode_fattr(struct svc_rqst *rqstp, struct xdr_stream *xdr,
217 struct user_namespace *userns = nfsd_user_namespace(rqstp);
276 nfssvc_decode_fhandleargs(struct svc_rqst *rqstp, struct xdr_stream *xdr)
278 struct nfsd_fhandle *args = rqstp->rq_argp;
284 nfssvc_decode_sattrargs(struct svc_rqst *rqstp, struct xdr_stream *xdr)
286 struct nfsd_sattrargs *args = rqstp->rq_argp;
289 svcxdr_decode_sattr(rqstp, xdr, &args->attrs);
293 nfssvc_decode_diropargs(struct svc_rqst *rqstp, struct xdr_stream *xdr)
295 struct nfsd_diropargs *args = rqstp->rq_argp;
301 nfssvc_decode_readargs(struct svc_rqst *rqstp, struct xdr_stream *xdr)
303 struct nfsd_readargs *args = rqstp->rq_argp;
320 nfssvc_decode_writeargs(struct svc_rqst *rqstp, struct xdr_stream *xdr)
322 struct nfsd_writeargs *args = rqstp->rq_argp;
346 nfssvc_decode_createargs(struct svc_rqst *rqstp, struct xdr_stream *xdr)
348 struct nfsd_createargs *args = rqstp->rq_argp;
352 svcxdr_decode_sattr(rqstp, xdr, &args->attrs);
356 nfssvc_decode_renameargs(struct svc_rqst *rqstp, struct xdr_stream *xdr)
358 struct nfsd_renameargs *args = rqstp->rq_argp;
367 nfssvc_decode_linkargs(struct svc_rqst *rqstp, struct xdr_stream *xdr)
369 struct nfsd_linkargs *args = rqstp->rq_argp;
377 nfssvc_decode_symlinkargs(struct svc_rqst *rqstp, struct xdr_stream *xdr)
379 struct nfsd_symlinkargs *args = rqstp->rq_argp;
380 struct kvec *head = rqstp->rq_arg.head;
393 return svcxdr_decode_sattr(rqstp, xdr, &args->attrs);
397 nfssvc_decode_readdirargs(struct svc_rqst *rqstp, struct xdr_stream *xdr)
399 struct nfsd_readdirargs *args = rqstp->rq_argp;
416 nfssvc_encode_statres(struct svc_rqst *rqstp, struct xdr_stream *xdr)
418 struct nfsd_stat *resp = rqstp->rq_resp;
424 nfssvc_encode_attrstatres(struct svc_rqst *rqstp, struct xdr_stream *xdr)
426 struct nfsd_attrstat *resp = rqstp->rq_resp;
432 if (!svcxdr_encode_fattr(rqstp, xdr, &resp->fh, &resp->stat))
441 nfssvc_encode_diropres(struct svc_rqst *rqstp, struct xdr_stream *xdr)
443 struct nfsd_diropres *resp = rqstp->rq_resp;
451 if (!svcxdr_encode_fattr(rqstp, xdr, &resp->fh, &resp->stat))
460 nfssvc_encode_readlinkres(struct svc_rqst *rqstp, struct xdr_stream *xdr)
462 struct nfsd_readlinkres *resp = rqstp->rq_resp;
463 struct kvec *head = rqstp->rq_res.head;
471 svcxdr_encode_opaque_pages(rqstp, xdr, &resp->page, 0,
473 if (svc_encode_result_payload(rqstp, head->iov_len, resp->len) < 0)
482 nfssvc_encode_readres(struct svc_rqst *rqstp, struct xdr_stream *xdr)
484 struct nfsd_readres *resp = rqstp->rq_resp;
485 struct kvec *head = rqstp->rq_res.head;
491 if (!svcxdr_encode_fattr(rqstp, xdr, &resp->fh, &resp->stat))
495 svcxdr_encode_opaque_pages(rqstp, xdr, resp->pages,
496 rqstp->rq_res.page_base,
498 if (svc_encode_result_payload(rqstp, head->iov_len, resp->count) < 0)
507 nfssvc_encode_readdirres(struct svc_rqst *rqstp, struct xdr_stream *xdr)
509 struct nfsd_readdirres *resp = rqstp->rq_resp;
516 svcxdr_encode_opaque_pages(rqstp, xdr, dirlist->pages, 0,
530 nfssvc_encode_statfsres(struct svc_rqst *rqstp, struct xdr_stream *xdr)
532 struct nfsd_statfsres *resp = rqstp->rq_resp;
644 void nfssvc_release_attrstat(struct svc_rqst *rqstp)
646 struct nfsd_attrstat *resp = rqstp->rq_resp;
651 void nfssvc_release_diropres(struct svc_rqst *rqstp)
653 struct nfsd_diropres *resp = rqstp->rq_resp;
658 void nfssvc_release_readres(struct svc_rqst *rqstp)
660 struct nfsd_readres *resp = rqstp->rq_resp;