Lines Matching refs:rqstp

20 nfsd3_proc_null(struct svc_rqst *rqstp)
28 static __be32 nfsd3_proc_getacl(struct svc_rqst *rqstp)
30 struct nfsd3_getaclargs *argp = rqstp->rq_argp;
31 struct nfsd3_getaclres *resp = rqstp->rq_resp;
37 resp->status = fh_verify(rqstp, &resp->fh, 0, NFSD_MAY_NOP);
85 static __be32 nfsd3_proc_setacl(struct svc_rqst *rqstp)
87 struct nfsd3_setaclargs *argp = rqstp->rq_argp;
88 struct nfsd3_attrstat *resp = rqstp->rq_resp;
94 resp->status = fh_verify(rqstp, &resp->fh, 0, NFSD_MAY_SATTR);
127 static int nfs3svc_decode_getaclargs(struct svc_rqst *rqstp, __be32 *p)
129 struct nfsd3_getaclargs *args = rqstp->rq_argp;
136 return xdr_argsize_check(rqstp, p);
140 static int nfs3svc_decode_setaclargs(struct svc_rqst *rqstp, __be32 *p)
142 struct nfsd3_setaclargs *args = rqstp->rq_argp;
143 struct kvec *head = rqstp->rq_arg.head;
152 !xdr_argsize_check(rqstp, p))
156 n = nfsacl_decode(&rqstp->rq_arg, base, NULL,
160 n = nfsacl_decode(&rqstp->rq_arg, base + n, NULL,
171 static int nfs3svc_encode_getaclres(struct svc_rqst *rqstp, __be32 *p)
173 struct nfsd3_getaclres *resp = rqstp->rq_resp;
177 p = nfs3svc_encode_post_op_attr(rqstp, p, &resp->fh);
180 struct kvec *head = rqstp->rq_res.head;
186 if (!xdr_ressize_check(rqstp, p))
190 rqstp->rq_res.page_len = w = nfsacl_size(
194 if (!*(rqstp->rq_next_page++))
199 n = nfsacl_encode(&rqstp->rq_res, base, inode,
203 n = nfsacl_encode(&rqstp->rq_res, base + n, inode,
210 if (!xdr_ressize_check(rqstp, p))
217 static int nfs3svc_encode_setaclres(struct svc_rqst *rqstp, __be32 *p)
219 struct nfsd3_attrstat *resp = rqstp->rq_resp;
222 p = nfs3svc_encode_post_op_attr(rqstp, p, &resp->fh);
223 return xdr_ressize_check(rqstp, p);
229 static void nfs3svc_release_getacl(struct svc_rqst *rqstp)
231 struct nfsd3_getaclres *resp = rqstp->rq_resp;