Lines Matching refs:rqstp

336 				status = nfsd_map_name_to_gid(argp->rqstp,  in nfsd4_decode_fattr()
339 status = nfsd_map_name_to_uid(argp->rqstp, in nfsd4_decode_fattr()
360 if ((status = nfsd_map_name_to_uid(argp->rqstp, buf, dummy32, &iattr->ia_uid))) in nfsd4_decode_fattr()
371 if ((status = nfsd_map_name_to_gid(argp->rqstp, buf, dummy32, &iattr->ia_gid))) in nfsd4_decode_fattr()
1811 int auth_slack= argp->rqstp->rq_auth_slack; in nfsd4_decode_compound()
1864 readbytes += nfsd4_max_reply(argp->rqstp, op); in nfsd4_decode_compound()
1866 max_reply += nfsd4_max_reply(argp->rqstp, op); in nfsd4_decode_compound()
1884 svc_reserve(argp->rqstp, max_reply + readbytes); in nfsd4_decode_compound()
1885 argp->rqstp->rq_cachetype = cachethis ? RC_REPLBUFF : RC_NOCACHE; in nfsd4_decode_compound()
1888 clear_bit(RQ_SPLICE_OK, &argp->rqstp->rq_flags); in nfsd4_decode_compound()
2080 struct svc_rqst *rqstp, const struct path *path) in nfsd4_encode_fsloc_fsroot() argument
2085 exp_ps = rqst_find_fsidzero_export(rqstp); in nfsd4_encode_fsloc_fsroot()
2097 struct svc_rqst *rqstp, struct svc_export *exp) in nfsd4_encode_fs_locations() argument
2104 status = nfsd4_encode_fsloc_fsroot(xdr, rqstp, &exp->ex_path); in nfsd4_encode_fs_locations()
2134 nfsd4_encode_aclname(struct xdr_stream *xdr, struct svc_rqst *rqstp, in nfsd4_encode_aclname() argument
2140 return nfsd4_encode_group(xdr, rqstp, ace->who_gid); in nfsd4_encode_aclname()
2142 return nfsd4_encode_user(xdr, rqstp, ace->who_uid); in nfsd4_encode_aclname()
2173 nfsd4_encode_security_label(struct xdr_stream *xdr, struct svc_rqst *rqstp, in nfsd4_encode_security_label() argument
2193 nfsd4_encode_security_label(struct xdr_stream *xdr, struct svc_rqst *rqstp, in nfsd4_encode_security_label() argument
2239 struct svc_rqst *rqstp, int ignore_crossmnt) in nfsd4_encode_fattr() argument
2261 struct nfsd4_compoundres *resp = rqstp->rq_resp; in nfsd4_encode_fattr()
2267 struct nfsd_net *nn = net_generic(SVC_NET(rqstp), nfsd_net_id); in nfsd4_encode_fattr()
2304 err = nfsd4_get_nfs4_acl(rqstp, dentry, &acl); in nfsd4_encode_fattr()
2504 status = nfsd4_encode_aclname(xdr, rqstp, ace); in nfsd4_encode_fattr()
2573 status = nfsd4_encode_fs_locations(xdr, rqstp, exp); in nfsd4_encode_fattr()
2605 p = xdr_encode_hyper(p, (u64) svc_max_payload(rqstp)); in nfsd4_encode_fattr()
2611 p = xdr_encode_hyper(p, (u64) svc_max_payload(rqstp)); in nfsd4_encode_fattr()
2632 status = nfsd4_encode_user(xdr, rqstp, stat.uid); in nfsd4_encode_fattr()
2637 status = nfsd4_encode_group(xdr, rqstp, stat.gid); in nfsd4_encode_fattr()
2739 status = nfsd4_encode_security_label(xdr, rqstp, context, in nfsd4_encode_fattr()
2797 struct svc_rqst *rqstp, int ignore_crossmnt) in nfsd4_encode_fattr_to_buf() argument
2804 ret = nfsd4_encode_fattr(&xdr, fhp, exp, dentry, bmval, rqstp, in nfsd4_encode_fattr_to_buf()
3093 resp->rqstp, 0); in nfsd4_encode_getattr()
3402 resp->rqstp->rq_vec[v].iov_base = p; in nfsd4_encode_readv()
3403 resp->rqstp->rq_vec[v].iov_len = thislen; in nfsd4_encode_readv()
3411 resp->rqstp->rq_vec[v].iov_base = p; in nfsd4_encode_readv()
3412 resp->rqstp->rq_vec[v].iov_len = thislen; in nfsd4_encode_readv()
3418 nfserr = nfsd_readv(file, read->rd_offset, resp->rqstp->rq_vec, in nfsd4_encode_readv()
3457 WARN_ON_ONCE(test_bit(RQ_SPLICE_OK, &resp->rqstp->rq_flags)); in nfsd4_encode_read()
3460 if (resp->xdr.buf->page_len && test_bit(RQ_SPLICE_OK, &resp->rqstp->rq_flags)) { in nfsd4_encode_read()
3466 maxcount = svc_max_payload(resp->rqstp); in nfsd4_encode_read()
3471 err = nfsd_permission(resp->rqstp, fhp->fh_export, in nfsd4_encode_read()
3475 err = nfsd_get_tmp_read_open(resp->rqstp, read->rd_fhp, in nfsd4_encode_read()
3480 if (file->f_op->splice_read && test_bit(RQ_SPLICE_OK, &resp->rqstp->rq_flags)) in nfsd4_encode_read()
4295 struct xdr_buf *buf = &resp->rqstp->rq_res; in nfsd4_check_resp_size()
4314 struct svc_rqst *rqstp = resp->rqstp; in nfsd4_encode_operation() local
4338 if (!nfsd4_last_compound_op(rqstp)) in nfsd4_encode_operation()
4402 nfs4svc_encode_voidres(struct svc_rqst *rqstp, __be32 *p, void *dummy) in nfs4svc_encode_voidres() argument
4404 return xdr_ressize_check(rqstp, p); in nfs4svc_encode_voidres()
4409 struct svc_rqst *rqstp = rq; in nfsd4_release_compoundargs() local
4410 struct nfsd4_compoundargs *args = rqstp->rq_argp; in nfsd4_release_compoundargs()
4427 nfs4svc_decode_compoundargs(struct svc_rqst *rqstp, __be32 *p, struct nfsd4_compoundargs *args) in nfs4svc_decode_compoundargs() argument
4429 if (rqstp->rq_arg.head[0].iov_len % 4) { in nfs4svc_decode_compoundargs()
4432 __func__, svc_addr(rqstp), be32_to_cpu(rqstp->rq_xid)); in nfs4svc_decode_compoundargs()
4436 args->end = rqstp->rq_arg.head[0].iov_base + rqstp->rq_arg.head[0].iov_len; in nfs4svc_decode_compoundargs()
4437 args->pagelist = rqstp->rq_arg.pages; in nfs4svc_decode_compoundargs()
4438 args->pagelen = rqstp->rq_arg.page_len; in nfs4svc_decode_compoundargs()
4442 args->rqstp = rqstp; in nfs4svc_decode_compoundargs()
4448 nfs4svc_encode_compoundres(struct svc_rqst *rqstp, __be32 *p, struct nfsd4_compoundres *resp) in nfs4svc_encode_compoundres() argument
4458 rqstp->rq_next_page = resp->xdr.page_ptr + 1; in nfs4svc_encode_compoundres()