Lines Matching defs:rqstp
310 status = nfsd_map_name_to_gid(argp->rqstp,
313 status = nfsd_map_name_to_uid(argp->rqstp,
436 status = nfsd_map_name_to_uid(argp->rqstp, (char *)p, length,
450 status = nfsd_map_name_to_gid(argp->rqstp, (char *)p, length,
682 struct user_namespace *userns = nfsd_user_namespace(argp->rqstp);
2223 maxcount = svc_max_payload(argp->rqstp);
2251 maxcount = svc_max_payload(argp->rqstp);
2298 maxcount = min(maxcount, svc_max_payload(argp->rqstp));
2435 int auth_slack= argp->rqstp->rq_auth_slack;
2487 trace_nfsd_compound_decode_err(argp->rqstp,
2504 readbytes += nfsd4_max_reply(argp->rqstp, op);
2506 max_reply += nfsd4_max_reply(argp->rqstp, op);
2524 svc_reserve(argp->rqstp, max_reply + readbytes);
2525 argp->rqstp->rq_cachetype = cachethis ? RC_REPLBUFF : RC_NOCACHE;
2528 clear_bit(RQ_SPLICE_OK, &argp->rqstp->rq_flags);
2756 struct svc_rqst *rqstp, const struct path *path)
2761 exp_ps = rqst_find_fsidzero_export(rqstp);
2773 struct svc_rqst *rqstp, struct svc_export *exp)
2780 status = nfsd4_encode_fsloc_fsroot(xdr, rqstp, &exp->ex_path);
2810 nfsd4_encode_aclname(struct xdr_stream *xdr, struct svc_rqst *rqstp,
2816 return nfsd4_encode_group(xdr, rqstp, ace->who_gid);
2818 return nfsd4_encode_user(xdr, rqstp, ace->who_uid);
2847 nfsd4_encode_security_label(struct xdr_stream *xdr, struct svc_rqst *rqstp,
2867 nfsd4_encode_security_label(struct xdr_stream *xdr, struct svc_rqst *rqstp,
2949 struct svc_rqst *rqstp, int ignore_crossmnt)
2971 struct nfsd4_compoundres *resp = rqstp->rq_resp;
2977 struct nfsd_net *nn = net_generic(SVC_NET(rqstp), nfsd_net_id);
2988 status = nfsd4_deleg_getattr_conflict(rqstp, d_inode(dentry));
3021 err = nfsd4_get_nfs4_acl(rqstp, dentry, &acl);
3201 status = nfsd4_encode_aclname(xdr, rqstp, ace);
3270 status = nfsd4_encode_fs_locations(xdr, rqstp, exp);
3302 p = xdr_encode_hyper(p, (u64) svc_max_payload(rqstp));
3308 p = xdr_encode_hyper(p, (u64) svc_max_payload(rqstp));
3329 status = nfsd4_encode_user(xdr, rqstp, stat.uid);
3334 status = nfsd4_encode_group(xdr, rqstp, stat.gid);
3453 status = nfsd4_encode_security_label(xdr, rqstp, context,
3510 struct svc_rqst *rqstp, int ignore_crossmnt)
3517 ret = nfsd4_encode_fattr(&xdr, fhp, exp, dentry, bmval, rqstp,
3821 getattr->ga_bmval, resp->rqstp, 0);
4124 nfserr = nfsd_iter_read(resp->rqstp, read->rd_fhp, file,
4130 if (svc_encode_result_payload(resp->rqstp, starting_len, maxcount))
4144 bool splice_ok = test_bit(RQ_SPLICE_OK, &resp->rqstp->rq_flags);
4257 maxcount = svc_max_payload(resp->rqstp);
4272 readdir->rd_dircount = svc_max_payload(resp->rqstp);
4511 struct nfsd_net *nn = net_generic(SVC_NET(resp->rqstp), nfsd_net_id);
4902 bool splice_ok = test_bit(RQ_SPLICE_OK, &resp->rqstp->rq_flags);
5367 struct xdr_buf *buf = &resp->rqstp->rq_res;
5386 struct svc_rqst *rqstp = resp->rqstp;
5408 trace_nfsd_compound_encode_err(rqstp, op->opnum, op->status);
5414 if (!nfsd4_last_compound_op(rqstp))
5457 rqstp->rq_next_page = xdr->page_ptr + 1;
5483 void nfsd4_release_compoundargs(struct svc_rqst *rqstp)
5485 struct nfsd4_compoundargs *args = rqstp->rq_argp;
5499 nfs4svc_decode_compoundargs(struct svc_rqst *rqstp, struct xdr_stream *xdr)
5501 struct nfsd4_compoundargs *args = rqstp->rq_argp;
5508 args->rqstp = rqstp;
5514 nfs4svc_encode_compoundres(struct svc_rqst *rqstp, struct xdr_stream *xdr)
5516 struct nfsd4_compoundres *resp = rqstp->rq_resp;