Lines Matching refs:rqstp
20 nfsd3_proc_null(struct svc_rqst *rqstp) in nfsd3_proc_null() argument
28 static __be32 nfsd3_proc_getacl(struct svc_rqst *rqstp) in nfsd3_proc_getacl() argument
30 struct nfsd3_getaclargs *argp = rqstp->rq_argp; in nfsd3_proc_getacl()
31 struct nfsd3_getaclres *resp = rqstp->rq_resp; in nfsd3_proc_getacl()
37 resp->status = 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()
94 resp->status = fh_verify(rqstp, &resp->fh, 0, NFSD_MAY_SATTR); in nfsd3_proc_setacl()
127 static int nfs3svc_decode_getaclargs(struct svc_rqst *rqstp, __be32 *p) in nfs3svc_decode_getaclargs() argument
129 struct nfsd3_getaclargs *args = rqstp->rq_argp; in nfs3svc_decode_getaclargs()
136 return xdr_argsize_check(rqstp, p); in nfs3svc_decode_getaclargs()
140 static int nfs3svc_decode_setaclargs(struct svc_rqst *rqstp, __be32 *p) in nfs3svc_decode_setaclargs() argument
142 struct nfsd3_setaclargs *args = rqstp->rq_argp; in nfs3svc_decode_setaclargs()
143 struct kvec *head = rqstp->rq_arg.head; in nfs3svc_decode_setaclargs()
152 !xdr_argsize_check(rqstp, p)) in nfs3svc_decode_setaclargs()
156 n = nfsacl_decode(&rqstp->rq_arg, base, NULL, in nfs3svc_decode_setaclargs()
160 n = nfsacl_decode(&rqstp->rq_arg, base + n, NULL, in nfs3svc_decode_setaclargs()
171 static int nfs3svc_encode_getaclres(struct svc_rqst *rqstp, __be32 *p) in nfs3svc_encode_getaclres() argument
173 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()
222 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()