Home
last modified time | relevance | path

Searched refs:rqstp (Results 1 – 25 of 86) sorted by relevance

1234

/linux/net/sunrpc/
H A Dsvc.c637 svc_init_buffer(struct svc_rqst *rqstp, const struct svc_serv *serv, int node) in svc_init_buffer() argument
639 rqstp->rq_maxpages = svc_serv_maxpages(serv); in svc_init_buffer()
642 rqstp->rq_pages = kcalloc_node(rqstp->rq_maxpages + 1, in svc_init_buffer()
645 if (!rqstp->rq_pages) in svc_init_buffer()
655 svc_release_buffer(struct svc_rqst *rqstp) in svc_release_buffer() argument
659 for (i = 0; i < rqstp->rq_maxpages; i++) in svc_release_buffer()
660 if (rqstp->rq_pages[i]) in svc_release_buffer()
661 put_page(rqstp->rq_pages[i]); in svc_release_buffer()
662 kfree(rqstp->rq_pages); in svc_release_buffer()
666 svc_rqst_free(struct svc_rqst *rqstp) in svc_rqst_free() argument
[all …]
H A Dsvc_xprt.c31 static int svc_deferred_recv(struct svc_rqst *rqstp);
382 void svc_xprt_copy_addrs(struct svc_rqst *rqstp, struct svc_xprt *xprt) in svc_xprt_copy_addrs() argument
384 memcpy(&rqstp->rq_addr, &xprt->xpt_remote, xprt->xpt_remotelen); in svc_xprt_copy_addrs()
385 rqstp->rq_addrlen = xprt->xpt_remotelen; in svc_xprt_copy_addrs()
391 memcpy(&rqstp->rq_daddr, &xprt->xpt_local, xprt->xpt_locallen); in svc_xprt_copy_addrs()
392 rqstp->rq_daddrlen = xprt->xpt_locallen; in svc_xprt_copy_addrs()
403 char *svc_print_addr(struct svc_rqst *rqstp, char *buf, size_t len) in svc_print_addr() argument
405 return __svc_print_addr(svc_addr(rqstp), buf, len); in svc_print_addr()
417 static bool svc_xprt_reserve_slot(struct svc_rqst *rqstp, struct svc_xprt *xprt) in svc_xprt_reserve_slot() argument
419 if (!test_bit(RQ_DATA, &rqstp->rq_flags)) { in svc_xprt_reserve_slot()
[all …]
H A Dsvcsock.c167 static void svc_set_cmsg_data(struct svc_rqst *rqstp, struct cmsghdr *cmh) in svc_set_cmsg_data() argument
170 container_of(rqstp->rq_xprt, struct svc_sock, sk_xprt); in svc_set_cmsg_data()
179 svc_daddr_in(rqstp)->sin_addr.s_addr; in svc_set_cmsg_data()
186 struct sockaddr_in6 *daddr = svc_daddr_in6(rqstp); in svc_set_cmsg_data()
198 static int svc_sock_result_payload(struct svc_rqst *rqstp, unsigned int offset, in svc_sock_result_payload() argument
339 static ssize_t svc_tcp_read_msg(struct svc_rqst *rqstp, size_t buflen, in svc_tcp_read_msg() argument
343 container_of(rqstp->rq_xprt, struct svc_sock, sk_xprt); in svc_tcp_read_msg()
344 struct bio_vec *bvec = rqstp->rq_bvec; in svc_tcp_read_msg()
353 bvec_set_page(&bvec[i], rqstp->rq_pages[i], PAGE_SIZE, 0); in svc_tcp_read_msg()
354 rqstp->rq_respages = &rqstp->rq_pages[i]; in svc_tcp_read_msg()
[all …]
H A Dsvcauth_unix.c642 static struct group_info *unix_gid_find(kuid_t uid, struct svc_rqst *rqstp) in unix_gid_find() argument
647 struct sunrpc_net *sn = net_generic(rqstp->rq_xprt->xpt_net, in unix_gid_find()
653 ret = cache_check(sn->unix_gid_cache, &ug->h, &rqstp->rq_chandle); in unix_gid_find()
669 svcauth_unix_set_client(struct svc_rqst *rqstp) in svcauth_unix_set_client() argument
675 struct svc_cred *cred = &rqstp->rq_cred; in svcauth_unix_set_client()
676 struct svc_xprt *xprt = rqstp->rq_xprt; in svcauth_unix_set_client()
680 switch (rqstp->rq_addr.ss_family) { in svcauth_unix_set_client()
682 sin = svc_addr_in(rqstp); in svcauth_unix_set_client()
687 sin6 = svc_addr_in6(rqstp); in svcauth_unix_set_client()
693 rqstp->rq_client = NULL; in svcauth_unix_set_client()
[all …]
H A Dsvcauth.c76 enum svc_auth_status svc_authenticate(struct svc_rqst *rqstp) in svc_authenticate() argument
81 rqstp->rq_auth_stat = rpc_auth_ok; in svc_authenticate()
87 if (xdr_stream_decode_u32(&rqstp->rq_arg_stream, &flavor) < 0) in svc_authenticate()
92 rqstp->rq_auth_stat = rpc_autherr_badcred; in svc_authenticate()
96 rqstp->rq_auth_slack = 0; in svc_authenticate()
97 init_svc_cred(&rqstp->rq_cred); in svc_authenticate()
99 rqstp->rq_authop = aops; in svc_authenticate()
100 return aops->accept(rqstp); in svc_authenticate()
113 enum svc_auth_status svc_set_client(struct svc_rqst *rqstp) in svc_set_client() argument
115 rqstp->rq_client = NULL; in svc_set_client()
[all …]
/linux/fs/lockd/
H A Dsvc4proc.c23 nlm4svc_retrieve_args(struct svc_rqst *rqstp, struct nlm_args *argp, in nlm4svc_retrieve_args() argument
40 if (!(host = nlmsvc_lookup_host(rqstp, lock->caller, lock->len)) in nlm4svc_retrieve_args()
51 error = nlm_lookup_file(rqstp, &file, lock); in nlm4svc_retrieve_args()
85 nlm4svc_proc_null(struct svc_rqst *rqstp) in nlm4svc_proc_null() argument
95 __nlm4svc_proc_test(struct svc_rqst *rqstp, struct nlm_res *resp) in __nlm4svc_proc_test() argument
97 struct nlm_args *argp = rqstp->rq_argp; in __nlm4svc_proc_test()
106 if ((resp->status = nlm4svc_retrieve_args(rqstp, argp, &host, &file))) in __nlm4svc_proc_test()
110 resp->status = nlmsvc_testlock(rqstp, file, host, &argp->lock, in __nlm4svc_proc_test()
124 nlm4svc_proc_test(struct svc_rqst *rqstp) in nlm4svc_proc_test() argument
126 return __nlm4svc_proc_test(rqstp, rqstp->rq_resp); in nlm4svc_proc_test()
[all …]
H A Dsvcproc.c43 #define cast_status(status) (cast_to_nlm(status, rqstp->rq_vers))
52 nlmsvc_retrieve_args(struct svc_rqst *rqstp, struct nlm_args *argp, in nlmsvc_retrieve_args() argument
66 if (!(host = nlmsvc_lookup_host(rqstp, lock->caller, lock->len)) in nlmsvc_retrieve_args()
73 error = cast_status(nlm_lookup_file(rqstp, &file, lock)); in nlmsvc_retrieve_args()
105 nlmsvc_proc_null(struct svc_rqst *rqstp) in nlmsvc_proc_null() argument
115 __nlmsvc_proc_test(struct svc_rqst *rqstp, struct nlm_res *resp) in __nlmsvc_proc_test() argument
117 struct nlm_args *argp = rqstp->rq_argp; in __nlmsvc_proc_test()
126 if ((resp->status = nlmsvc_retrieve_args(rqstp, argp, &host, &file))) in __nlmsvc_proc_test()
130 resp->status = cast_status(nlmsvc_testlock(rqstp, file, host, in __nlmsvc_proc_test()
136 ntohl(resp->status), rqstp->rq_vers); in __nlmsvc_proc_test()
[all …]
H A Dxdr4.c143 nlm4svc_decode_void(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nlm4svc_decode_void() argument
149 nlm4svc_decode_testargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nlm4svc_decode_testargs() argument
151 struct nlm_args *argp = rqstp->rq_argp; in nlm4svc_decode_testargs()
167 nlm4svc_decode_lockargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nlm4svc_decode_lockargs() argument
169 struct nlm_args *argp = rqstp->rq_argp; in nlm4svc_decode_lockargs()
192 nlm4svc_decode_cancargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nlm4svc_decode_cancargs() argument
194 struct nlm_args *argp = rqstp->rq_argp; in nlm4svc_decode_cancargs()
212 nlm4svc_decode_unlockargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nlm4svc_decode_unlockargs() argument
214 struct nlm_args *argp = rqstp->rq_argp; in nlm4svc_decode_unlockargs()
226 nlm4svc_decode_res(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nlm4svc_decode_res() argument
[all …]
H A Dxdr.c149 nlmsvc_decode_void(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nlmsvc_decode_void() argument
155 nlmsvc_decode_testargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nlmsvc_decode_testargs() argument
157 struct nlm_args *argp = rqstp->rq_argp; in nlmsvc_decode_testargs()
173 nlmsvc_decode_lockargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nlmsvc_decode_lockargs() argument
175 struct nlm_args *argp = rqstp->rq_argp; in nlmsvc_decode_lockargs()
198 nlmsvc_decode_cancargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nlmsvc_decode_cancargs() argument
200 struct nlm_args *argp = rqstp->rq_argp; in nlmsvc_decode_cancargs()
218 nlmsvc_decode_unlockargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nlmsvc_decode_unlockargs() argument
220 struct nlm_args *argp = rqstp->rq_argp; in nlmsvc_decode_unlockargs()
232 nlmsvc_decode_res(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nlmsvc_decode_res() argument
[all …]
/linux/fs/nfsd/
H A Dnfs3xdr.c210 svcxdr_decode_sattr3(struct svc_rqst *rqstp, struct xdr_stream *xdr, in svcxdr_decode_sattr3() argument
234 iap->ia_uid = make_kuid(nfsd_user_namespace(rqstp), uid); in svcxdr_decode_sattr3()
245 iap->ia_gid = make_kgid(nfsd_user_namespace(rqstp), gid); in svcxdr_decode_sattr3()
327 svcxdr_decode_devicedata3(struct svc_rqst *rqstp, struct xdr_stream *xdr, in svcxdr_decode_devicedata3() argument
330 return svcxdr_decode_sattr3(rqstp, xdr, &args->attrs) && in svcxdr_decode_devicedata3()
335 svcxdr_encode_fattr3(struct svc_rqst *rqstp, struct xdr_stream *xdr, in svcxdr_encode_fattr3() argument
338 struct user_namespace *userns = nfsd_user_namespace(rqstp); in svcxdr_encode_fattr3()
426 svcxdr_encode_post_op_attr(struct svc_rqst *rqstp, struct xdr_stream *xdr, in svcxdr_encode_post_op_attr() argument
445 if (!svcxdr_encode_fattr3(rqstp, xdr, fhp, &stat)) in svcxdr_encode_post_op_attr()
458 svcxdr_encode_wcc_data(struct svc_rqst *rqstp, struct xdr_stream *xdr, in svcxdr_encode_wcc_data() argument
[all …]
H A Dnfs3proc.c59 nfsd3_proc_null(struct svc_rqst *rqstp) in nfsd3_proc_null() argument
68 nfsd3_proc_getattr(struct svc_rqst *rqstp) in nfsd3_proc_getattr() argument
70 struct nfsd_fhandle *argp = rqstp->rq_argp; in nfsd3_proc_getattr()
71 struct nfsd3_attrstat *resp = rqstp->rq_resp; in nfsd3_proc_getattr()
73 trace_nfsd_vfs_getattr(rqstp, &argp->fh); in nfsd3_proc_getattr()
76 resp->status = fh_verify(rqstp, &resp->fh, 0, in nfsd3_proc_getattr()
91 nfsd3_proc_setattr(struct svc_rqst *rqstp) in nfsd3_proc_setattr() argument
93 struct nfsd3_sattrargs *argp = rqstp->rq_argp; in nfsd3_proc_setattr()
94 struct nfsd3_attrstat *resp = rqstp->rq_resp; in nfsd3_proc_setattr()
106 resp->status = nfsd_setattr(rqstp, &resp->fh, &attrs, guardtime); in nfsd3_proc_setattr()
[all …]
H A Dnfsxdr.c130 svcxdr_decode_sattr(struct svc_rqst *rqstp, struct xdr_stream *xdr, in svcxdr_decode_sattr() argument
154 iap->ia_uid = make_kuid(nfsd_user_namespace(rqstp), tmp1); in svcxdr_decode_sattr()
161 iap->ia_gid = make_kgid(nfsd_user_namespace(rqstp), tmp1); in svcxdr_decode_sattr()
214 svcxdr_encode_fattr(struct svc_rqst *rqstp, struct xdr_stream *xdr, in svcxdr_encode_fattr() argument
217 struct user_namespace *userns = nfsd_user_namespace(rqstp); in svcxdr_encode_fattr()
276 nfssvc_decode_fhandleargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfssvc_decode_fhandleargs() argument
278 struct nfsd_fhandle *args = rqstp->rq_argp; in nfssvc_decode_fhandleargs()
284 nfssvc_decode_sattrargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfssvc_decode_sattrargs() argument
286 struct nfsd_sattrargs *args = rqstp->rq_argp; in nfssvc_decode_sattrargs()
289 svcxdr_decode_sattr(rqstp, xdr, &args->attrs); in nfssvc_decode_sattrargs()
[all …]
H A Dnfsproc.c43 nfsd_proc_null(struct svc_rqst *rqstp) in nfsd_proc_null() argument
53 nfsd_proc_getattr(struct svc_rqst *rqstp) in nfsd_proc_getattr() argument
55 struct nfsd_fhandle *argp = rqstp->rq_argp; in nfsd_proc_getattr()
56 struct nfsd_attrstat *resp = rqstp->rq_resp; in nfsd_proc_getattr()
58 trace_nfsd_vfs_getattr(rqstp, &argp->fh); in nfsd_proc_getattr()
61 resp->status = fh_verify(rqstp, &resp->fh, 0, in nfsd_proc_getattr()
76 nfsd_proc_setattr(struct svc_rqst *rqstp) in nfsd_proc_setattr() argument
78 struct nfsd_sattrargs *argp = rqstp->rq_argp; in nfsd_proc_setattr()
79 struct nfsd_attrstat *resp = rqstp->rq_resp; in nfsd_proc_setattr()
116 resp->status = fh_verify(rqstp, fhp, 0, NFSD_MAY_NOP); in nfsd_proc_setattr()
[all …]
H A Dxdr3.h183 struct svc_rqst * rqstp; member
268 bool nfs3svc_decode_fhandleargs(struct svc_rqst *rqstp, struct xdr_stream *xdr);
269 bool nfs3svc_decode_sattrargs(struct svc_rqst *rqstp, struct xdr_stream *xdr);
270 bool nfs3svc_decode_diropargs(struct svc_rqst *rqstp, struct xdr_stream *xdr);
271 bool nfs3svc_decode_accessargs(struct svc_rqst *rqstp, struct xdr_stream *xdr);
272 bool nfs3svc_decode_readargs(struct svc_rqst *rqstp, struct xdr_stream *xdr);
273 bool nfs3svc_decode_writeargs(struct svc_rqst *rqstp, struct xdr_stream *xdr);
274 bool nfs3svc_decode_createargs(struct svc_rqst *rqstp, struct xdr_stream *xdr);
275 bool nfs3svc_decode_mkdirargs(struct svc_rqst *rqstp, struct xdr_stream *xdr);
276 bool nfs3svc_decode_mknodargs(struct svc_rqst *rqstp, struct xdr_stream *xdr);
[all …]
H A Dxdr.h144 bool nfssvc_decode_fhandleargs(struct svc_rqst *rqstp, struct xdr_stream *xdr);
145 bool nfssvc_decode_sattrargs(struct svc_rqst *rqstp, struct xdr_stream *xdr);
146 bool nfssvc_decode_diropargs(struct svc_rqst *rqstp, struct xdr_stream *xdr);
147 bool nfssvc_decode_readargs(struct svc_rqst *rqstp, struct xdr_stream *xdr);
148 bool nfssvc_decode_writeargs(struct svc_rqst *rqstp, struct xdr_stream *xdr);
149 bool nfssvc_decode_createargs(struct svc_rqst *rqstp, struct xdr_stream *xdr);
150 bool nfssvc_decode_renameargs(struct svc_rqst *rqstp, struct xdr_stream *xdr);
151 bool nfssvc_decode_linkargs(struct svc_rqst *rqstp, struct xdr_stream *xdr);
152 bool nfssvc_decode_symlinkargs(struct svc_rqst *rqstp, struct xdr_stream *xdr);
153 bool nfssvc_decode_readdirargs(struct svc_rqst *rqstp, struct xdr_stream *xdr);
[all …]
H A Dnfs2acl.c22 nfsacld_proc_null(struct svc_rqst *rqstp) in nfsacld_proc_null() argument
30 static __be32 nfsacld_proc_getacl(struct svc_rqst *rqstp) in nfsacld_proc_getacl() argument
32 struct nfsd3_getaclargs *argp = rqstp->rq_argp; in nfsacld_proc_getacl()
33 struct nfsd3_getaclres *resp = rqstp->rq_resp; in nfsacld_proc_getacl()
41 resp->status = fh_verify(rqstp, &resp->fh, 0, NFSD_MAY_NOP); in nfsacld_proc_getacl()
95 static __be32 nfsacld_proc_setacl(struct svc_rqst *rqstp) in nfsacld_proc_setacl() argument
97 struct nfsd3_setaclargs *argp = rqstp->rq_argp; in nfsacld_proc_setacl()
98 struct nfsd_attrstat *resp = rqstp->rq_resp; in nfsacld_proc_setacl()
106 resp->status = fh_verify(rqstp, &resp->fh, 0, NFSD_MAY_SATTR); in nfsacld_proc_setacl()
151 static __be32 nfsacld_proc_getattr(struct svc_rqst *rqstp) in nfsacld_proc_getattr() argument
[all …]
H A Dnfs4proc.c152 do_open_permission(struct svc_rqst *rqstp, struct svc_fh *current_fh, struct nfsd4_open *open, int … in do_open_permission() argument
168 return fh_verify(rqstp, current_fh, S_IFREG, accmode); in do_open_permission()
248 nfsd4_create_file(struct svc_rqst *rqstp, struct svc_fh *fhp, in nfsd4_create_file() argument
267 status = fh_verify(rqstp, fhp, S_IFDIR, NFSD_MAY_EXEC); in nfsd4_create_file()
300 status = fh_verify(rqstp, fhp, S_IFDIR, NFSD_MAY_CREATE); in nfsd4_create_file()
397 status = nfsd_create_setattr(rqstp, fhp, resfhp, &attrs); in nfsd4_create_file()
448 do_open_lookup(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, struct nfsd4_open *open… in do_open_lookup() argument
477 status = nfsd4_create_file(rqstp, current_fh, *resfh, open); in do_open_lookup()
489 status = nfsd_lookup(rqstp, current_fh, in do_open_lookup()
508 status = do_open_permission(rqstp, *resfh, open, accmode); in do_open_lookup()
[all …]
H A Dvfs.c125 nfsd_cross_mnt(struct svc_rqst *rqstp, struct dentry **dpp, in nfsd_cross_mnt() argument
148 exp2 = rqst_exp_get_by_name(rqstp, &path); in nfsd_cross_mnt()
163 if (nfsd_v4client(rqstp) || in nfsd_cross_mnt()
194 static int nfsd_lookup_parent(struct svc_rqst *rqstp, struct dentry *dparent, struct svc_export **e… in nfsd_lookup_parent() argument
202 exp2 = rqst_exp_parent(rqstp, &path); in nfsd_lookup_parent()
243 nfsd_lookup_dentry(struct svc_rqst *rqstp, struct svc_fh *fhp, in nfsd_lookup_dentry() argument
252 trace_nfsd_vfs_lookup(rqstp, fhp, name, len); in nfsd_lookup_dentry()
263 else if (!EX_NOHIDE(exp) && !nfsd_v4client(rqstp)) in nfsd_lookup_dentry()
267 host_err = nfsd_lookup_parent(rqstp, dparent, &exp, &dentry); in nfsd_lookup_dentry()
278 host_err = nfsd_cross_mnt(rqstp, &dentry, &exp); in nfsd_lookup_dentry()
[all …]
H A Dnfs3acl.c20 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()
87 static __be32 nfsd3_proc_setacl(struct svc_rqst *rqstp) in nfsd3_proc_setacl() argument
89 struct nfsd3_setaclargs *argp = rqstp->rq_argp; in nfsd3_proc_setacl()
90 struct nfsd3_attrstat *resp = rqstp->rq_resp; in nfsd3_proc_setacl()
96 resp->status = fh_verify(rqstp, &resp->fh, 0, NFSD_MAY_SATTR); in nfsd3_proc_setacl()
133 nfs3svc_decode_getaclargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfs3svc_decode_getaclargs() argument
[all …]
H A Dnfssvc.c805 nfsd_acl_init_request(struct svc_rqst *rqstp, in nfsd_acl_init_request() argument
809 struct nfsd_net *nn = net_generic(SVC_NET(rqstp), nfsd_net_id); in nfsd_acl_init_request()
812 if (likely(nfsd_support_acl_version(rqstp->rq_vers) && in nfsd_acl_init_request()
813 nfsd_vers(nn, rqstp->rq_vers, NFSD_TEST))) in nfsd_acl_init_request()
814 return svc_generic_init_request(rqstp, progp, ret); in nfsd_acl_init_request()
818 if (nfsd_support_acl_version(rqstp->rq_vers) && in nfsd_acl_init_request()
828 if (nfsd_support_acl_version(rqstp->rq_vers) && in nfsd_acl_init_request()
850 nfsd_init_request(struct svc_rqst *rqstp, in nfsd_init_request() argument
854 struct nfsd_net *nn = net_generic(SVC_NET(rqstp), nfsd_net_id); in nfsd_init_request()
857 if (likely(nfsd_vers(nn, rqstp->rq_vers, NFSD_TEST))) in nfsd_init_request()
[all …]
/linux/include/linux/sunrpc/
H A Dsvc.h134 extern u32 svc_max_payload(const struct svc_rqst *rqstp);
316 static inline bool svc_thread_should_stop(struct svc_rqst *rqstp) in svc_thread_should_stop() argument
318 if (test_and_clear_bit(SP_NEED_VICTIM, &rqstp->rq_pool->sp_flags)) in svc_thread_should_stop()
319 set_bit(RQ_VICTIM, &rqstp->rq_flags); in svc_thread_should_stop()
321 return test_bit(RQ_VICTIM, &rqstp->rq_flags); in svc_thread_should_stop()
337 static inline void svc_thread_init_status(struct svc_rqst *rqstp, int err) in svc_thread_init_status() argument
339 store_release_wake_up(&rqstp->rq_err, err); in svc_thread_init_status()
359 int (*dispatch)(struct svc_rqst *rqstp);
378 enum svc_auth_status (*pg_authenticate)(struct svc_rqst *rqstp);
409 int (*vs_dispatch)(struct svc_rqst *rqstp);
[all …]
/linux/net/sunrpc/auth_gss/
H A Dsvcauth_gss.c655 static bool gss_check_seq_num(const struct svc_rqst *rqstp, struct rsc *rsci, in gss_check_seq_num() argument
685 trace_rpcgss_svc_seqno_low(rqstp, seq_num, in gss_check_seq_num()
690 trace_rpcgss_svc_seqno_seen(rqstp, seq_num); in gss_check_seq_num()
702 svcauth_gss_verify_header(struct svc_rqst *rqstp, struct rsc *rsci, in svcauth_gss_verify_header() argument
705 struct xdr_stream *xdr = &rqstp->rq_arg_stream; in svcauth_gss_verify_header()
724 rqstp->rq_auth_stat = rpc_autherr_badverf; in svcauth_gss_verify_header()
728 rqstp->rq_auth_stat = rpc_autherr_badverf; in svcauth_gss_verify_header()
732 if (rqstp->rq_deferred) in svcauth_gss_verify_header()
736 trace_rpcgss_svc_mic(rqstp, maj_stat); in svcauth_gss_verify_header()
737 rqstp->rq_auth_stat = rpcsec_gsserr_credproblem; in svcauth_gss_verify_header()
[all …]
/linux/include/linux/lockd/
H A Dxdr4.h26 bool nlm4svc_decode_void(struct svc_rqst *rqstp, struct xdr_stream *xdr);
27 bool nlm4svc_decode_testargs(struct svc_rqst *rqstp, struct xdr_stream *xdr);
28 bool nlm4svc_decode_lockargs(struct svc_rqst *rqstp, struct xdr_stream *xdr);
29 bool nlm4svc_decode_cancargs(struct svc_rqst *rqstp, struct xdr_stream *xdr);
30 bool nlm4svc_decode_unlockargs(struct svc_rqst *rqstp, struct xdr_stream *xdr);
31 bool nlm4svc_decode_res(struct svc_rqst *rqstp, struct xdr_stream *xdr);
32 bool nlm4svc_decode_reboot(struct svc_rqst *rqstp, struct xdr_stream *xdr);
33 bool nlm4svc_decode_shareargs(struct svc_rqst *rqstp, struct xdr_stream *xdr);
34 bool nlm4svc_decode_notify(struct svc_rqst *rqstp, struct xdr_stream *xdr);
36 bool nlm4svc_encode_testres(struct svc_rqst *rqstp, struct xdr_stream *xdr);
[all …]
H A Dxdr.h100 bool nlmsvc_decode_void(struct svc_rqst *rqstp, struct xdr_stream *xdr);
101 bool nlmsvc_decode_testargs(struct svc_rqst *rqstp, struct xdr_stream *xdr);
102 bool nlmsvc_decode_lockargs(struct svc_rqst *rqstp, struct xdr_stream *xdr);
103 bool nlmsvc_decode_cancargs(struct svc_rqst *rqstp, struct xdr_stream *xdr);
104 bool nlmsvc_decode_unlockargs(struct svc_rqst *rqstp, struct xdr_stream *xdr);
105 bool nlmsvc_decode_res(struct svc_rqst *rqstp, struct xdr_stream *xdr);
106 bool nlmsvc_decode_reboot(struct svc_rqst *rqstp, struct xdr_stream *xdr);
107 bool nlmsvc_decode_shareargs(struct svc_rqst *rqstp, struct xdr_stream *xdr);
108 bool nlmsvc_decode_notify(struct svc_rqst *rqstp, struct xdr_stream *xdr);
110 bool nlmsvc_encode_testres(struct svc_rqst *rqstp, struct xdr_stream *xdr);
[all …]
/linux/net/sunrpc/xprtrdma/
H A Dsvc_rdma_recvfrom.c401 static void svc_rdma_build_arg_xdr(struct svc_rqst *rqstp, in svc_rdma_build_arg_xdr() argument
404 struct xdr_buf *arg = &rqstp->rq_arg; in svc_rdma_build_arg_xdr()
788 static void svc_rdma_read_complete_one(struct svc_rqst *rqstp, in svc_rdma_read_complete_one() argument
792 struct xdr_buf *buf = &rqstp->rq_arg; in svc_rdma_read_complete_one()
813 buf->pages = &rqstp->rq_pages[0]; in svc_rdma_read_complete_one()
825 static void svc_rdma_read_complete_multiple(struct svc_rqst *rqstp, in svc_rdma_read_complete_multiple() argument
828 struct xdr_buf *buf = &rqstp->rq_arg; in svc_rdma_read_complete_multiple()
833 buf->head[0].iov_base = page_address(rqstp->rq_pages[0]); in svc_rdma_read_complete_multiple()
835 buf->pages = &rqstp->rq_pages[1]; in svc_rdma_read_complete_multiple()
844 static void svc_rdma_read_complete_pzrc(struct svc_rqst *rqstp, in svc_rdma_read_complete_pzrc() argument
[all …]

1234