Lines Matching refs:rqstp
22 nfsd3_proc_null(struct svc_rqst *rqstp) in nfsd3_proc_null() argument
30 static __be32 nfsd3_proc_getacl(struct svc_rqst *rqstp) in nfsd3_proc_getacl() argument
32 struct nfsd3_getaclargs *argp = rqstp->rq_argp; in nfsd3_proc_getacl()
33 struct nfsd3_getaclres *resp = rqstp->rq_resp; in nfsd3_proc_getacl()
40 nfserr = fh_verify(rqstp, &resp->fh, 0, NFSD_MAY_NOP); in nfsd3_proc_getacl()
85 static __be32 nfsd3_proc_setacl(struct svc_rqst *rqstp) in nfsd3_proc_setacl() argument
87 struct nfsd3_setaclargs *argp = rqstp->rq_argp; in nfsd3_proc_setacl()
88 struct nfsd3_attrstat *resp = rqstp->rq_resp; in nfsd3_proc_setacl()
95 nfserr = fh_verify(rqstp, &resp->fh, 0, NFSD_MAY_SATTR); in nfsd3_proc_setacl()
128 static int nfs3svc_decode_getaclargs(struct svc_rqst *rqstp, __be32 *p) in nfs3svc_decode_getaclargs() argument
130 struct nfsd3_getaclargs *args = rqstp->rq_argp; in nfs3svc_decode_getaclargs()
137 return xdr_argsize_check(rqstp, p); in nfs3svc_decode_getaclargs()
141 static int nfs3svc_decode_setaclargs(struct svc_rqst *rqstp, __be32 *p) in nfs3svc_decode_setaclargs() argument
143 struct nfsd3_setaclargs *args = rqstp->rq_argp; in nfs3svc_decode_setaclargs()
144 struct kvec *head = rqstp->rq_arg.head; in nfs3svc_decode_setaclargs()
153 !xdr_argsize_check(rqstp, p)) in nfs3svc_decode_setaclargs()
157 n = nfsacl_decode(&rqstp->rq_arg, base, NULL, in nfs3svc_decode_setaclargs()
161 n = nfsacl_decode(&rqstp->rq_arg, base + n, NULL, in nfs3svc_decode_setaclargs()
172 static int nfs3svc_encode_getaclres(struct svc_rqst *rqstp, __be32 *p) in nfs3svc_encode_getaclres() argument
174 struct nfsd3_getaclres *resp = rqstp->rq_resp; in nfs3svc_encode_getaclres()
177 p = nfs3svc_encode_post_op_attr(rqstp, p, &resp->fh); in nfs3svc_encode_getaclres()
180 struct kvec *head = rqstp->rq_res.head; in nfs3svc_encode_getaclres()
186 if (!xdr_ressize_check(rqstp, p)) in nfs3svc_encode_getaclres()
190 rqstp->rq_res.page_len = w = nfsacl_size( in nfs3svc_encode_getaclres()
194 if (!*(rqstp->rq_next_page++)) in nfs3svc_encode_getaclres()
199 n = nfsacl_encode(&rqstp->rq_res, base, inode, in nfs3svc_encode_getaclres()
203 n = nfsacl_encode(&rqstp->rq_res, base + n, inode, in nfs3svc_encode_getaclres()
210 if (!xdr_ressize_check(rqstp, p)) in nfs3svc_encode_getaclres()
217 static int nfs3svc_encode_setaclres(struct svc_rqst *rqstp, __be32 *p) in nfs3svc_encode_setaclres() argument
219 struct nfsd3_attrstat *resp = rqstp->rq_resp; in nfs3svc_encode_setaclres()
221 p = nfs3svc_encode_post_op_attr(rqstp, p, &resp->fh); in nfs3svc_encode_setaclres()
223 return xdr_ressize_check(rqstp, p); in nfs3svc_encode_setaclres()
229 static void nfs3svc_release_getacl(struct svc_rqst *rqstp) in nfs3svc_release_getacl() argument
231 struct nfsd3_getaclres *resp = rqstp->rq_resp; in nfs3svc_release_getacl()