Lines Matching refs:rqstp

130 svcxdr_decode_sattr(struct svc_rqst *rqstp, struct xdr_stream *xdr,  in svcxdr_decode_sattr()  argument
154 iap->ia_uid = make_kuid(nfsd_user_namespace(rqstp), tmp1); in svcxdr_decode_sattr()
161 iap->ia_gid = make_kgid(nfsd_user_namespace(rqstp), tmp1); in svcxdr_decode_sattr()
214 svcxdr_encode_fattr(struct svc_rqst *rqstp, struct xdr_stream *xdr, in svcxdr_encode_fattr() argument
217 struct user_namespace *userns = nfsd_user_namespace(rqstp); in svcxdr_encode_fattr()
276 nfssvc_decode_fhandleargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfssvc_decode_fhandleargs() argument
278 struct nfsd_fhandle *args = rqstp->rq_argp; in nfssvc_decode_fhandleargs()
284 nfssvc_decode_sattrargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfssvc_decode_sattrargs() argument
286 struct nfsd_sattrargs *args = rqstp->rq_argp; in nfssvc_decode_sattrargs()
289 svcxdr_decode_sattr(rqstp, xdr, &args->attrs); in nfssvc_decode_sattrargs()
293 nfssvc_decode_diropargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfssvc_decode_diropargs() argument
295 struct nfsd_diropargs *args = rqstp->rq_argp; in nfssvc_decode_diropargs()
301 nfssvc_decode_readargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfssvc_decode_readargs() argument
303 struct nfsd_readargs *args = rqstp->rq_argp; in nfssvc_decode_readargs()
320 nfssvc_decode_writeargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfssvc_decode_writeargs() argument
322 struct nfsd_writeargs *args = rqstp->rq_argp; in nfssvc_decode_writeargs()
348 nfssvc_decode_createargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfssvc_decode_createargs() argument
350 struct nfsd_createargs *args = rqstp->rq_argp; in nfssvc_decode_createargs()
354 svcxdr_decode_sattr(rqstp, xdr, &args->attrs); in nfssvc_decode_createargs()
358 nfssvc_decode_renameargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfssvc_decode_renameargs() argument
360 struct nfsd_renameargs *args = rqstp->rq_argp; in nfssvc_decode_renameargs()
369 nfssvc_decode_linkargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfssvc_decode_linkargs() argument
371 struct nfsd_linkargs *args = rqstp->rq_argp; in nfssvc_decode_linkargs()
379 nfssvc_decode_symlinkargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfssvc_decode_symlinkargs() argument
381 struct nfsd_symlinkargs *args = rqstp->rq_argp; in nfssvc_decode_symlinkargs()
382 struct kvec *head = rqstp->rq_arg.head; in nfssvc_decode_symlinkargs()
395 return svcxdr_decode_sattr(rqstp, xdr, &args->attrs); in nfssvc_decode_symlinkargs()
399 nfssvc_decode_readdirargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfssvc_decode_readdirargs() argument
401 struct nfsd_readdirargs *args = rqstp->rq_argp; in nfssvc_decode_readdirargs()
418 nfssvc_encode_statres(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfssvc_encode_statres() argument
420 struct nfsd_stat *resp = rqstp->rq_resp; in nfssvc_encode_statres()
426 nfssvc_encode_attrstatres(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfssvc_encode_attrstatres() argument
428 struct nfsd_attrstat *resp = rqstp->rq_resp; in nfssvc_encode_attrstatres()
434 if (!svcxdr_encode_fattr(rqstp, xdr, &resp->fh, &resp->stat)) in nfssvc_encode_attrstatres()
443 nfssvc_encode_diropres(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfssvc_encode_diropres() argument
445 struct nfsd_diropres *resp = rqstp->rq_resp; in nfssvc_encode_diropres()
453 if (!svcxdr_encode_fattr(rqstp, xdr, &resp->fh, &resp->stat)) in nfssvc_encode_diropres()
462 nfssvc_encode_readlinkres(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfssvc_encode_readlinkres() argument
464 struct nfsd_readlinkres *resp = rqstp->rq_resp; in nfssvc_encode_readlinkres()
465 struct kvec *head = rqstp->rq_res.head; in nfssvc_encode_readlinkres()
474 if (svc_encode_result_payload(rqstp, head->iov_len, resp->len) < 0) in nfssvc_encode_readlinkres()
483 nfssvc_encode_readres(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfssvc_encode_readres() argument
485 struct nfsd_readres *resp = rqstp->rq_resp; in nfssvc_encode_readres()
486 struct kvec *head = rqstp->rq_res.head; in nfssvc_encode_readres()
492 if (!svcxdr_encode_fattr(rqstp, xdr, &resp->fh, &resp->stat)) in nfssvc_encode_readres()
496 xdr_write_pages(xdr, resp->pages, rqstp->rq_res.page_base, in nfssvc_encode_readres()
498 if (svc_encode_result_payload(rqstp, head->iov_len, resp->count) < 0) in nfssvc_encode_readres()
507 nfssvc_encode_readdirres(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfssvc_encode_readdirres() argument
509 struct nfsd_readdirres *resp = rqstp->rq_resp; in nfssvc_encode_readdirres()
529 nfssvc_encode_statfsres(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfssvc_encode_statfsres() argument
531 struct nfsd_statfsres *resp = rqstp->rq_resp; in nfssvc_encode_statfsres()
643 void nfssvc_release_attrstat(struct svc_rqst *rqstp) in nfssvc_release_attrstat() argument
645 struct nfsd_attrstat *resp = rqstp->rq_resp; in nfssvc_release_attrstat()
650 void nfssvc_release_diropres(struct svc_rqst *rqstp) in nfssvc_release_diropres() argument
652 struct nfsd_diropres *resp = rqstp->rq_resp; in nfssvc_release_diropres()
657 void nfssvc_release_readres(struct svc_rqst *rqstp) in nfssvc_release_readres() argument
659 struct nfsd_readres *resp = rqstp->rq_resp; in nfssvc_release_readres()