Home
last modified time | relevance | path

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

1234

/linux-6.6.21/net/sunrpc/
Dsvc.c601 svc_init_buffer(struct svc_rqst *rqstp, unsigned int size, int node) in svc_init_buffer() argument
606 if (svc_is_backchannel(rqstp)) in svc_init_buffer()
617 rqstp->rq_pages); in svc_init_buffer()
625 svc_release_buffer(struct svc_rqst *rqstp) in svc_release_buffer() argument
629 for (i = 0; i < ARRAY_SIZE(rqstp->rq_pages); i++) in svc_release_buffer()
630 if (rqstp->rq_pages[i]) in svc_release_buffer()
631 put_page(rqstp->rq_pages[i]); in svc_release_buffer()
637 struct svc_rqst *rqstp; in svc_rqst_alloc() local
639 rqstp = kzalloc_node(sizeof(*rqstp), GFP_KERNEL, node); in svc_rqst_alloc()
640 if (!rqstp) in svc_rqst_alloc()
[all …]
Dsvc_xprt.c31 static int svc_deferred_recv(struct svc_rqst *rqstp);
366 void svc_xprt_copy_addrs(struct svc_rqst *rqstp, struct svc_xprt *xprt) in svc_xprt_copy_addrs() argument
368 memcpy(&rqstp->rq_addr, &xprt->xpt_remote, xprt->xpt_remotelen); in svc_xprt_copy_addrs()
369 rqstp->rq_addrlen = xprt->xpt_remotelen; in svc_xprt_copy_addrs()
375 memcpy(&rqstp->rq_daddr, &xprt->xpt_local, xprt->xpt_locallen); in svc_xprt_copy_addrs()
376 rqstp->rq_daddrlen = xprt->xpt_locallen; in svc_xprt_copy_addrs()
387 char *svc_print_addr(struct svc_rqst *rqstp, char *buf, size_t len) in svc_print_addr() argument
389 return __svc_print_addr(svc_addr(rqstp), buf, len); in svc_print_addr()
401 static bool svc_xprt_reserve_slot(struct svc_rqst *rqstp, struct svc_xprt *xprt) in svc_xprt_reserve_slot() argument
403 if (!test_bit(RQ_DATA, &rqstp->rq_flags)) { in svc_xprt_reserve_slot()
[all …]
Dsvcsock.c156 static void svc_set_cmsg_data(struct svc_rqst *rqstp, struct cmsghdr *cmh) in svc_set_cmsg_data() argument
159 container_of(rqstp->rq_xprt, struct svc_sock, sk_xprt); in svc_set_cmsg_data()
168 svc_daddr_in(rqstp)->sin_addr.s_addr; in svc_set_cmsg_data()
175 struct sockaddr_in6 *daddr = svc_daddr_in6(rqstp); in svc_set_cmsg_data()
187 static int svc_sock_result_payload(struct svc_rqst *rqstp, unsigned int offset, in svc_sock_result_payload() argument
301 static ssize_t svc_tcp_read_msg(struct svc_rqst *rqstp, size_t buflen, in svc_tcp_read_msg() argument
305 container_of(rqstp->rq_xprt, struct svc_sock, sk_xprt); in svc_tcp_read_msg()
306 struct bio_vec *bvec = rqstp->rq_bvec; in svc_tcp_read_msg()
315 bvec_set_page(&bvec[i], rqstp->rq_pages[i], PAGE_SIZE, 0); in svc_tcp_read_msg()
316 rqstp->rq_respages = &rqstp->rq_pages[i]; in svc_tcp_read_msg()
[all …]
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 …]
Dsvcauth.c75 enum svc_auth_status svc_authenticate(struct svc_rqst *rqstp) in svc_authenticate() argument
80 rqstp->rq_auth_stat = rpc_auth_ok; in svc_authenticate()
86 if (xdr_stream_decode_u32(&rqstp->rq_arg_stream, &flavor) < 0) in svc_authenticate()
91 rqstp->rq_auth_stat = rpc_autherr_badcred; in svc_authenticate()
95 rqstp->rq_auth_slack = 0; in svc_authenticate()
96 init_svc_cred(&rqstp->rq_cred); in svc_authenticate()
98 rqstp->rq_authop = aops; in svc_authenticate()
99 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-6.6.21/fs/lockd/
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()
49 error = nlm_lookup_file(rqstp, &file, lock); in nlm4svc_retrieve_args()
84 nlm4svc_proc_null(struct svc_rqst *rqstp) in nlm4svc_proc_null() argument
94 __nlm4svc_proc_test(struct svc_rqst *rqstp, struct nlm_res *resp) in __nlm4svc_proc_test() argument
96 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()
111 resp->status = nlmsvc_testlock(rqstp, file, host, &argp->lock, &resp->lock, &resp->cookie); 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 …]
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()
127 if ((resp->status = nlmsvc_retrieve_args(rqstp, argp, &host, &file))) in __nlmsvc_proc_test()
133 …resp->status = cast_status(nlmsvc_testlock(rqstp, file, host, &argp->lock, &resp->lock, &resp->coo… in __nlmsvc_proc_test()
138 ntohl(resp->status), rqstp->rq_vers); in __nlmsvc_proc_test()
[all …]
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 …]
Dxdr4.c144 nlm4svc_decode_void(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nlm4svc_decode_void() argument
150 nlm4svc_decode_testargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nlm4svc_decode_testargs() argument
152 struct nlm_args *argp = rqstp->rq_argp; in nlm4svc_decode_testargs()
168 nlm4svc_decode_lockargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nlm4svc_decode_lockargs() argument
170 struct nlm_args *argp = rqstp->rq_argp; in nlm4svc_decode_lockargs()
193 nlm4svc_decode_cancargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nlm4svc_decode_cancargs() argument
195 struct nlm_args *argp = rqstp->rq_argp; in nlm4svc_decode_cancargs()
213 nlm4svc_decode_unlockargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nlm4svc_decode_unlockargs() argument
215 struct nlm_args *argp = rqstp->rq_argp; in nlm4svc_decode_unlockargs()
227 nlm4svc_decode_res(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nlm4svc_decode_res() argument
[all …]
/linux-6.6.21/fs/nfsd/
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()
330 svcxdr_decode_devicedata3(struct svc_rqst *rqstp, struct xdr_stream *xdr, in svcxdr_decode_devicedata3() argument
333 return svcxdr_decode_sattr3(rqstp, xdr, &args->attrs) && in svcxdr_decode_devicedata3()
338 svcxdr_encode_fattr3(struct svc_rqst *rqstp, struct xdr_stream *xdr, in svcxdr_encode_fattr3() argument
341 struct user_namespace *userns = nfsd_user_namespace(rqstp); in svcxdr_encode_fattr3()
429 svcxdr_encode_post_op_attr(struct svc_rqst *rqstp, struct xdr_stream *xdr, in svcxdr_encode_post_op_attr() argument
448 if (!svcxdr_encode_fattr3(rqstp, xdr, fhp, &stat)) in svcxdr_encode_post_op_attr()
461 svcxdr_encode_wcc_data(struct svc_rqst *rqstp, struct xdr_stream *xdr, in svcxdr_encode_wcc_data() argument
[all …]
Dnfs3proc.c35 nfsd3_proc_null(struct svc_rqst *rqstp) in nfsd3_proc_null() argument
44 nfsd3_proc_getattr(struct svc_rqst *rqstp) in nfsd3_proc_getattr() argument
46 struct nfsd_fhandle *argp = rqstp->rq_argp; in nfsd3_proc_getattr()
47 struct nfsd3_attrstat *resp = rqstp->rq_resp; in nfsd3_proc_getattr()
53 resp->status = fh_verify(rqstp, &resp->fh, 0, in nfsd3_proc_getattr()
67 nfsd3_proc_setattr(struct svc_rqst *rqstp) in nfsd3_proc_setattr() argument
69 struct nfsd3_sattrargs *argp = rqstp->rq_argp; in nfsd3_proc_setattr()
70 struct nfsd3_attrstat *resp = rqstp->rq_resp; in nfsd3_proc_setattr()
79 resp->status = nfsd_setattr(rqstp, &resp->fh, &attrs, in nfsd3_proc_setattr()
88 nfsd3_proc_lookup(struct svc_rqst *rqstp) in nfsd3_proc_lookup() argument
[all …]
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 …]
Dnfsproc.c17 nfsd_proc_null(struct svc_rqst *rqstp) in nfsd_proc_null() argument
27 nfsd_proc_getattr(struct svc_rqst *rqstp) in nfsd_proc_getattr() argument
29 struct nfsd_fhandle *argp = rqstp->rq_argp; in nfsd_proc_getattr()
30 struct nfsd_attrstat *resp = rqstp->rq_resp; in nfsd_proc_getattr()
35 resp->status = fh_verify(rqstp, &resp->fh, 0, in nfsd_proc_getattr()
49 nfsd_proc_setattr(struct svc_rqst *rqstp) in nfsd_proc_setattr() argument
51 struct nfsd_sattrargs *argp = rqstp->rq_argp; in nfsd_proc_setattr()
52 struct nfsd_attrstat *resp = rqstp->rq_resp; in nfsd_proc_setattr()
89 resp->status = fh_verify(rqstp, fhp, 0, NFSD_MAY_NOP); in nfsd_proc_setattr()
106 resp->status = nfsd_setattr(rqstp, fhp, &attrs, 0, (time64_t)0); in nfsd_proc_setattr()
[all …]
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 …]
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 …]
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()
93 static __be32 nfsacld_proc_setacl(struct svc_rqst *rqstp) in nfsacld_proc_setacl() argument
95 struct nfsd3_setaclargs *argp = rqstp->rq_argp; in nfsacld_proc_setacl()
96 struct nfsd_attrstat *resp = rqstp->rq_resp; in nfsacld_proc_setacl()
104 resp->status = fh_verify(rqstp, &resp->fh, 0, NFSD_MAY_SATTR); in nfsacld_proc_setacl()
149 static __be32 nfsacld_proc_getattr(struct svc_rqst *rqstp) in nfsacld_proc_getattr() argument
[all …]
Dnfs4proc.c82 check_attr_support(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, in check_attr_support() argument
104 nfsd4_check_open_attributes(struct svc_rqst *rqstp, in nfsd4_check_open_attributes() argument
112 status = check_attr_support(rqstp, cstate, in nfsd4_check_open_attributes()
115 status = check_attr_support(rqstp, cstate, in nfsd4_check_open_attributes()
142 do_open_permission(struct svc_rqst *rqstp, struct svc_fh *current_fh, struct nfsd4_open *open, int … in do_open_permission() argument
158 return fh_verify(rqstp, current_fh, S_IFREG, accmode); in do_open_permission()
232 nfsd4_create_file(struct svc_rqst *rqstp, struct svc_fh *fhp, in nfsd4_create_file() argument
251 status = fh_verify(rqstp, fhp, S_IFDIR, NFSD_MAY_EXEC); in nfsd4_create_file()
273 status = fh_verify(rqstp, fhp, S_IFDIR, NFSD_MAY_CREATE); in nfsd4_create_file()
370 status = nfsd_create_setattr(rqstp, fhp, resfhp, &attrs); in nfsd4_create_file()
[all …]
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()
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()
131 nfs3svc_decode_getaclargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfs3svc_decode_getaclargs() argument
[all …]
Dvfs.c122 nfsd_cross_mnt(struct svc_rqst *rqstp, struct dentry **dpp, in nfsd_cross_mnt() argument
145 exp2 = rqst_exp_get_by_name(rqstp, &path); in nfsd_cross_mnt()
160 if (nfsd_v4client(rqstp) || in nfsd_cross_mnt()
191 static int nfsd_lookup_parent(struct svc_rqst *rqstp, struct dentry *dparent, struct svc_export **e… in nfsd_lookup_parent() argument
199 exp2 = rqst_exp_parent(rqstp, &path); in nfsd_lookup_parent()
240 nfsd_lookup_dentry(struct svc_rqst *rqstp, struct svc_fh *fhp, in nfsd_lookup_dentry() argument
260 else if (!EX_NOHIDE(exp) && !nfsd_v4client(rqstp)) in nfsd_lookup_dentry()
264 host_err = nfsd_lookup_parent(rqstp, dparent, &exp, &dentry); in nfsd_lookup_dentry()
274 host_err = nfsd_cross_mnt(rqstp, &dentry, &exp); in nfsd_lookup_dentry()
311 nfsd_lookup(struct svc_rqst *rqstp, struct svc_fh *fhp, const char *name, in nfsd_lookup() argument
[all …]
Dnfsfh.c65 nfsd_mode_check(struct svc_rqst *rqstp, struct dentry *dentry, in nfsd_mode_check() argument
83 if (rqstp->rq_vers == 4 && mode == S_IFLNK) in nfsd_mode_check()
92 static bool nfsd_originating_port_ok(struct svc_rqst *rqstp, int flags) in nfsd_originating_port_ok() argument
97 if (rqstp->rq_cred.cr_flavor >= RPC_AUTH_GSS) in nfsd_originating_port_ok()
99 return test_bit(RQ_SECURE, &rqstp->rq_flags); in nfsd_originating_port_ok()
102 static __be32 nfsd_setuser_and_check_port(struct svc_rqst *rqstp, in nfsd_setuser_and_check_port() argument
105 int flags = nfsexp_flags(rqstp, exp); in nfsd_setuser_and_check_port()
108 if (!nfsd_originating_port_ok(rqstp, flags)) { in nfsd_setuser_and_check_port()
111 svc_print_addr(rqstp, buf, sizeof(buf))); in nfsd_setuser_and_check_port()
116 return nfserrno(nfsd_setuser(rqstp, exp)); in nfsd_setuser_and_check_port()
[all …]
/linux-6.6.21/include/linux/sunrpc/
Dsvc.h152 extern u32 svc_max_payload(const struct svc_rqst *rqstp);
319 int (*dispatch)(struct svc_rqst *rqstp);
340 enum svc_auth_status (*pg_authenticate)(struct svc_rqst *rqstp);
371 int (*vs_dispatch)(struct svc_rqst *rqstp);
381 bool (*pc_decode)(struct svc_rqst *rqstp,
384 bool (*pc_encode)(struct svc_rqst *rqstp,
406 bool svc_rqst_replace_page(struct svc_rqst *rqstp,
408 void svc_rqst_release_pages(struct svc_rqst *rqstp);
415 void svc_process(struct svc_rqst *rqstp);
422 void svc_reserve(struct svc_rqst *rqstp, int space);
[all …]
/linux-6.6.21/include/linux/lockd/
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 …]
Dxdr.h102 bool nlmsvc_decode_void(struct svc_rqst *rqstp, struct xdr_stream *xdr);
103 bool nlmsvc_decode_testargs(struct svc_rqst *rqstp, struct xdr_stream *xdr);
104 bool nlmsvc_decode_lockargs(struct svc_rqst *rqstp, struct xdr_stream *xdr);
105 bool nlmsvc_decode_cancargs(struct svc_rqst *rqstp, struct xdr_stream *xdr);
106 bool nlmsvc_decode_unlockargs(struct svc_rqst *rqstp, struct xdr_stream *xdr);
107 bool nlmsvc_decode_res(struct svc_rqst *rqstp, struct xdr_stream *xdr);
108 bool nlmsvc_decode_reboot(struct svc_rqst *rqstp, struct xdr_stream *xdr);
109 bool nlmsvc_decode_shareargs(struct svc_rqst *rqstp, struct xdr_stream *xdr);
110 bool nlmsvc_decode_notify(struct svc_rqst *rqstp, struct xdr_stream *xdr);
112 bool nlmsvc_encode_testres(struct svc_rqst *rqstp, struct xdr_stream *xdr);
[all …]
/linux-6.6.21/net/sunrpc/auth_gss/
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-6.6.21/include/trace/events/
Drpcgss.h177 const struct svc_rqst *rqstp,
181 TP_ARGS(rqstp, maj_stat),
186 __string(addr, rqstp->rq_xprt->xpt_remotebuf)
190 __entry->xid = __be32_to_cpu(rqstp->rq_xid);
192 __assign_str(addr, rqstp->rq_xprt->xpt_remotebuf);
204 const struct svc_rqst *rqstp, \
207 TP_ARGS(rqstp, maj_stat))
216 const struct svc_rqst *rqstp
219 TP_ARGS(rqstp),
223 __string(addr, rqstp->rq_xprt->xpt_remotebuf)
[all …]

1234