| /linux/net/sunrpc/ |
| H A D | svc.c | 552 svc_init_buffer(struct svc_rqst *rqstp, const struct svc_serv *serv, int node) in svc_init_buffer() argument 554 rqstp->rq_maxpages = svc_serv_maxpages(serv); in svc_init_buffer() 557 rqstp->rq_pages = kcalloc_node(rqstp->rq_maxpages + 1, in svc_init_buffer() 560 if (!rqstp->rq_pages) in svc_init_buffer() 564 rqstp->rq_respages = kcalloc_node(rqstp->rq_maxpages + 1, in svc_init_buffer() 567 if (!rqstp->rq_respages) { in svc_init_buffer() 568 kfree(rqstp->rq_pages); in svc_init_buffer() 569 rqstp->rq_pages = NULL; in svc_init_buffer() 573 rqstp->rq_pages_nfree = rqstp->rq_maxpages; in svc_init_buffer() 574 rqstp->rq_next_page = rqstp->rq_respages + rqstp->rq_maxpages; in svc_init_buffer() [all …]
|
| H A D | svc_xprt.c | 31 static int svc_deferred_recv(struct svc_rqst *rqstp); 394 void svc_xprt_copy_addrs(struct svc_rqst *rqstp, struct svc_xprt *xprt) in svc_xprt_copy_addrs() argument 396 memcpy(&rqstp->rq_addr, &xprt->xpt_remote, xprt->xpt_remotelen); in svc_xprt_copy_addrs() 397 rqstp->rq_addrlen = xprt->xpt_remotelen; in svc_xprt_copy_addrs() 403 memcpy(&rqstp->rq_daddr, &xprt->xpt_local, xprt->xpt_locallen); in svc_xprt_copy_addrs() 404 rqstp->rq_daddrlen = xprt->xpt_locallen; in svc_xprt_copy_addrs() 415 char *svc_print_addr(struct svc_rqst *rqstp, char *buf, size_t len) in svc_print_addr() argument 417 return __svc_print_addr(svc_addr(rqstp), buf, len); in svc_print_addr() 429 static bool svc_xprt_reserve_slot(struct svc_rqst *rqstp, struct svc_xprt *xprt) in svc_xprt_reserve_slot() argument 431 if (!test_bit(RQ_DATA, &rqstp->rq_flags)) { in svc_xprt_reserve_slot() [all …]
|
| H A D | svcsock.c | 139 * @ctxt: the context from rqstp->rq_xprt_ctxt or dr->xprt_ctxt 149 * @ctxt: the context from rqstp->rq_xprt_ctxt or dr->xprt_ctxt 167 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 335 * Read from @rqstp's transport socket. The incoming message fills whole 336 * pages in @rqstp's rq_pages array until the last page of the message 339 static ssize_t svc_tcp_read_msg(struct svc_rqst *rqstp, size_ argument 392 svc_sock_secure_port(struct svc_rqst * rqstp) svc_sock_secure_port() argument 538 svc_udp_get_dest_address4(struct svc_rqst * rqstp,struct cmsghdr * cmh) svc_udp_get_dest_address4() argument 555 svc_udp_get_dest_address6(struct svc_rqst * rqstp,struct cmsghdr * cmh) svc_udp_get_dest_address6() argument 577 svc_udp_get_dest_address(struct svc_rqst * rqstp,struct cmsghdr * cmh) svc_udp_get_dest_address() argument 600 svc_udp_recvfrom(struct svc_rqst * rqstp) svc_udp_recvfrom() argument 724 svc_udp_sendto(struct svc_rqst * rqstp) svc_udp_sendto() argument 987 svc_tcp_restore_pages(struct svc_sock * svsk,struct svc_rqst * rqstp) svc_tcp_restore_pages() argument 1006 svc_tcp_save_pages(struct svc_sock * svsk,struct svc_rqst * rqstp) svc_tcp_save_pages() argument 1045 svc_tcp_read_marker(struct svc_sock * svsk,struct svc_rqst * rqstp) svc_tcp_read_marker() argument 1085 receive_cb_reply(struct svc_sock * svsk,struct svc_rqst * rqstp) receive_cb_reply() argument 1145 svc_tcp_recvfrom(struct svc_rqst * rqstp) svc_tcp_recvfrom() argument 1239 svc_tcp_sendmsg(struct svc_sock * svsk,struct svc_rqst * rqstp,rpc_fraghdr marker) svc_tcp_sendmsg() argument 1278 svc_tcp_sendto(struct svc_rqst * rqstp) svc_tcp_sendto() argument [all...] |
| H A D | svcauth.c | 76 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 …]
|
| H A D | svcauth_unix.c | 911 static struct group_info *unix_gid_find(kuid_t uid, struct svc_rqst *rqstp) in unix_gid_find() argument 916 struct sunrpc_net *sn = net_generic(rqstp->rq_xprt->xpt_net, in unix_gid_find() 922 ret = cache_check(sn->unix_gid_cache, &ug->h, &rqstp->rq_chandle); in unix_gid_find() 938 svcauth_unix_set_client(struct svc_rqst *rqstp) in svcauth_unix_set_client() argument 944 struct svc_cred *cred = &rqstp->rq_cred; in svcauth_unix_set_client() 945 struct svc_xprt *xprt = rqstp->rq_xprt; in svcauth_unix_set_client() 949 switch (rqstp->rq_addr.ss_family) { in svcauth_unix_set_client() 951 sin = svc_addr_in(rqstp); in svcauth_unix_set_client() 956 sin6 = svc_addr_in6(rqstp); in svcauth_unix_set_client() 962 rqstp->rq_client = NULL; in svcauth_unix_set_client() [all …]
|
| /linux/fs/nfsd/ |
| H A D | nfs3xdr.c | 210 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 D | nfs3proc.c | 78 nfsd3_proc_null(struct svc_rqst *rqstp) in nfsd3_proc_null() argument 87 nfsd3_proc_getattr(struct svc_rqst *rqstp) in nfsd3_proc_getattr() argument 89 struct nfsd_fhandle *argp = rqstp->rq_argp; in nfsd3_proc_getattr() 90 struct nfsd3_attrstat *resp = rqstp->rq_resp; in nfsd3_proc_getattr() 92 trace_nfsd_vfs_getattr(rqstp, &argp->fh); in nfsd3_proc_getattr() 95 resp->status = fh_verify(rqstp, &resp->fh, 0, in nfsd3_proc_getattr() 110 nfsd3_proc_setattr(struct svc_rqst *rqstp) in nfsd3_proc_setattr() argument 112 struct nfsd3_sattrargs *argp = rqstp->rq_argp; in nfsd3_proc_setattr() 113 struct nfsd3_attrstat *resp = rqstp->rq_resp; in nfsd3_proc_setattr() 129 resp->status = nfsd_setattr(rqstp, &resp->fh, &attrs, guardtime); in nfsd3_proc_setattr() [all …]
|
| H A D | nfsproc.c | 43 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() 117 resp->status = fh_verify(rqstp, fhp, 0, NFSD_MAY_NOP); in nfsd_proc_setattr() [all …]
|
| H A D | nfsxdr.c | 142 svcxdr_decode_sattr(struct svc_rqst *rqstp, struct xdr_stream *xdr, in svcxdr_decode_sattr() argument 166 iap->ia_uid = make_kuid(nfsd_user_namespace(rqstp), tmp1); in svcxdr_decode_sattr() 173 iap->ia_gid = make_kgid(nfsd_user_namespace(rqstp), tmp1); in svcxdr_decode_sattr() 228 svcxdr_encode_fattr(struct svc_rqst *rqstp, struct xdr_stream *xdr, in svcxdr_encode_fattr() argument 231 struct user_namespace *userns = nfsd_user_namespace(rqstp); in svcxdr_encode_fattr() 290 nfssvc_decode_fhandleargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfssvc_decode_fhandleargs() argument 292 struct nfsd_fhandle *args = rqstp->rq_argp; in nfssvc_decode_fhandleargs() 298 nfssvc_decode_sattrargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfssvc_decode_sattrargs() argument 300 struct nfsd_sattrargs *args = rqstp->rq_argp; in nfssvc_decode_sattrargs() 303 svcxdr_decode_sattr(rqstp, xdr, &args->attrs); in nfssvc_decode_sattrargs() [all …]
|
| H A D | xdr3.h | 184 struct svc_rqst * rqstp; member 269 bool nfs3svc_decode_fhandleargs(struct svc_rqst *rqstp, struct xdr_stream *xdr); 270 bool nfs3svc_decode_sattrargs(struct svc_rqst *rqstp, struct xdr_stream *xdr); 271 bool nfs3svc_decode_diropargs(struct svc_rqst *rqstp, struct xdr_stream *xdr); 272 bool nfs3svc_decode_accessargs(struct svc_rqst *rqstp, struct xdr_stream *xdr); 273 bool nfs3svc_decode_readargs(struct svc_rqst *rqstp, struct xdr_stream *xdr); 274 bool nfs3svc_decode_writeargs(struct svc_rqst *rqstp, struct xdr_stream *xdr); 275 bool nfs3svc_decode_createargs(struct svc_rqst *rqstp, struct xdr_stream *xdr); 276 bool nfs3svc_decode_mkdirargs(struct svc_rqst *rqstp, struct xdr_stream *xdr); 277 bool nfs3svc_decode_mknodargs(struct svc_rqst *rqstp, struct xdr_stream *xdr); [all …]
|
| H A D | nfs2acl.c | 22 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() 153 static __be32 nfsacld_proc_getattr(struct svc_rqst *rqstp) in nfsacld_proc_getattr() argument [all …]
|
| H A D | xdr.h | 145 bool nfssvc_decode_fhandleargs(struct svc_rqst *rqstp, struct xdr_stream *xdr); 146 bool nfssvc_decode_sattrargs(struct svc_rqst *rqstp, struct xdr_stream *xdr); 147 bool nfssvc_decode_diropargs(struct svc_rqst *rqstp, struct xdr_stream *xdr); 148 bool nfssvc_decode_readargs(struct svc_rqst *rqstp, struct xdr_stream *xdr); 149 bool nfssvc_decode_writeargs(struct svc_rqst *rqstp, struct xdr_stream *xdr); 150 bool nfssvc_decode_createargs(struct svc_rqst *rqstp, struct xdr_stream *xdr); 151 bool nfssvc_decode_renameargs(struct svc_rqst *rqstp, struct xdr_stream *xdr); 152 bool nfssvc_decode_linkargs(struct svc_rqst *rqstp, struct xdr_stream *xdr); 153 bool nfssvc_decode_symlinkargs(struct svc_rqst *rqstp, struct xdr_stream *xdr); 154 bool nfssvc_decode_readdirargs(struct svc_rqst *rqstp, struct xdr_stream *xdr); [all …]
|
| H A D | nfs3acl.c | 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() 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() 135 nfs3svc_decode_getaclargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfs3svc_decode_getaclargs() argument [all …]
|
| H A D | vfs.c | 128 nfsd_cross_mnt(struct svc_rqst *rqstp, struct dentry **dpp, in nfsd_cross_mnt() argument 151 exp2 = rqst_exp_get_by_name(rqstp, &path); in nfsd_cross_mnt() 164 } else if (nfsd_v4client(rqstp) || in nfsd_cross_mnt() 196 static int nfsd_lookup_parent(struct svc_rqst *rqstp, struct dentry *dparent, struct svc_export **e… in nfsd_lookup_parent() argument 204 exp2 = rqst_exp_parent(rqstp, &path); in nfsd_lookup_parent() 245 nfsd_lookup_dentry(struct svc_rqst *rqstp, struct svc_fh *fhp, in nfsd_lookup_dentry() argument 254 trace_nfsd_vfs_lookup(rqstp, fhp, name, len); in nfsd_lookup_dentry() 265 else if (!EX_NOHIDE(exp) && !nfsd_v4client(rqstp)) in nfsd_lookup_dentry() 269 host_err = nfsd_lookup_parent(rqstp, dparent, &exp, &dentry); in nfsd_lookup_dentry() 280 host_err = nfsd_cross_mnt(rqstp, &dentry, &exp); in nfsd_lookup_dentry() [all …]
|
| H A D | nfs4proc.c | 153 do_open_permission(struct svc_rqst *rqstp, struct svc_fh *current_fh, struct nfsd4_open *open, int … in do_open_permission() argument 169 return fh_verify(rqstp, current_fh, S_IFREG, accmode); in do_open_permission() 249 nfsd4_create_file(struct svc_rqst *rqstp, struct svc_fh *fhp, in nfsd4_create_file() argument 268 status = fh_verify(rqstp, fhp, S_IFDIR, NFSD_MAY_EXEC); in nfsd4_create_file() 305 status = fh_verify(rqstp, fhp, S_IFDIR, NFSD_MAY_CREATE); in nfsd4_create_file() 406 status = nfsd_create_setattr(rqstp, fhp, resfhp, &attrs); in nfsd4_create_file() 456 do_open_lookup(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, struct nfsd4_open *open… in do_open_lookup() argument 485 status = nfsd4_create_file(rqstp, current_fh, *resfh, open); in do_open_lookup() 497 status = nfsd_lookup(rqstp, current_fh, in do_open_lookup() 516 status = do_open_permission(rqstp, *resfh, open, accmode); in do_open_lookup() [all …]
|
| H A D | nfssvc.c | 811 nfsd_acl_init_request(struct svc_rqst *rqstp, in nfsd_acl_init_request() argument 815 struct nfsd_net *nn = net_generic(SVC_NET(rqstp), nfsd_net_id); in nfsd_acl_init_request() 818 if (likely(nfsd_support_acl_version(rqstp->rq_vers) && in nfsd_acl_init_request() 819 nfsd_vers(nn, rqstp->rq_vers, NFSD_TEST))) in nfsd_acl_init_request() 820 return svc_generic_init_request(rqstp, progp, ret); in nfsd_acl_init_request() 856 nfsd_init_request(struct svc_rqst *rqstp, in nfsd_init_request() argument 860 struct nfsd_net *nn = net_generic(SVC_NET(rqstp), nfsd_net_id); in nfsd_init_request() 863 if (likely(nfsd_vers(nn, rqstp->rq_vers, NFSD_TEST))) in nfsd_init_request() 864 return svc_generic_init_request(rqstp, progp, ret); in nfsd_init_request() 891 struct svc_rqst *rqstp = (struct svc_rqst *) vrqstp; in nfsd() local [all …]
|
| H A D | nfs4idmap.c | 508 idmap_lookup(struct svc_rqst *rqstp, in idmap_lookup() argument 518 ret = cache_check(detail, &(*item)->h, &rqstp->rq_chandle); in idmap_lookup() 531 rqst_authname(struct svc_rqst *rqstp) in rqst_authname() argument 535 clp = rqstp->rq_gssclient ? rqstp->rq_gssclient : rqstp->rq_client; in rqst_authname() 540 idmap_name_to_id(struct svc_rqst *rqstp, int type, const char *name, u32 namelen, in idmap_name_to_id() argument 547 struct nfsd_net *nn = net_generic(SVC_NET(rqstp), nfsd_net_id); in idmap_name_to_id() 553 strscpy(key.authname, rqst_authname(rqstp), sizeof(key.authname)); in idmap_name_to_id() 554 ret = idmap_lookup(rqstp, nametoid_lookup, &key, nn->nametoid_cache, &item); in idmap_name_to_id() 579 struct svc_rqst *rqstp, int type, u32 id) in idmap_id_to_name() argument 588 struct nfsd_net *nn = net_generic(SVC_NET(rqstp), nfsd_net_id); in idmap_id_to_name() [all …]
|
| /linux/include/linux/sunrpc/ |
| H A D | svc.h | 133 extern u32 svc_max_payload(const struct svc_rqst *rqstp); 330 static inline bool svc_thread_should_stop(struct svc_rqst *rqstp) in svc_thread_should_stop() argument 332 if (test_and_clear_bit(SP_NEED_VICTIM, &rqstp->rq_pool->sp_flags)) in svc_thread_should_stop() 333 set_bit(RQ_VICTIM, &rqstp->rq_flags); in svc_thread_should_stop() 335 return test_bit(RQ_VICTIM, &rqstp->rq_flags); in svc_thread_should_stop() 351 static inline void svc_thread_init_status(struct svc_rqst *rqstp, int err) in svc_thread_init_status() argument 353 store_release_wake_up(&rqstp->rq_err, err); in svc_thread_init_status() 373 int (*dispatch)(struct svc_rqst *rqstp); 392 enum svc_auth_status (*pg_authenticate)(struct svc_rqst *rqstp); 422 int (*vs_dispatch)(struct svc_rqst *rqstp); [all …]
|
| /linux/fs/lockd/ |
| H A D | svcproc.c | 132 nlm3svc_lookup_host(struct svc_rqst *rqstp, string caller, bool monitored) in nlm3svc_lookup_host() argument 138 host = nlmsvc_lookup_host(rqstp, caller.data, caller.len); in nlm3svc_lookup_host() 149 nlm3svc_lookup_file(struct svc_rqst *rqstp, struct nlm_host *host, in nlm3svc_lookup_file() argument 153 bool is_test = (rqstp->rq_proc == NLMPROC_TEST || in nlm3svc_lookup_file() 154 rqstp->rq_proc == NLMPROC_TEST_MSG); in nlm3svc_lookup_file() 180 error = nlm_lookup_file(rqstp, &file, lock, mode); in nlm3svc_lookup_file() 238 static __be32 nlmsvc_proc_null(struct svc_rqst *rqstp) in nlmsvc_proc_null() argument 265 static __be32 nlmsvc_proc_test(struct svc_rqst *rqstp) in nlmsvc_proc_test() argument 267 struct nlm_testargs_wrapper *argp = rqstp->rq_argp; in nlmsvc_proc_test() 269 struct nlm_testres_wrapper *resp = rqstp->rq_resp; in nlmsvc_proc_test() [all …]
|
| H A D | svc4proc.c | 127 nlm4svc_lookup_host(struct svc_rqst *rqstp, string caller, bool monitored) in nlm4svc_lookup_host() argument 133 host = nlmsvc_lookup_host(rqstp, caller.data, caller.len); in nlm4svc_lookup_host() 144 nlm4svc_lookup_file(struct svc_rqst *rqstp, struct nlm_host *host, in nlm4svc_lookup_file() argument 148 bool is_test = (rqstp->rq_proc == NLMPROC4_TEST || in nlm4svc_lookup_file() 149 rqstp->rq_proc == NLMPROC4_TEST_MSG); in nlm4svc_lookup_file() 179 error = nlm_lookup_file(rqstp, &file, lock, mode); in nlm4svc_lookup_file() 215 nlm4svc_proc_null(struct svc_rqst *rqstp) in nlm4svc_proc_null() argument 249 static __be32 nlm4svc_proc_test(struct svc_rqst *rqstp) in nlm4svc_proc_test() argument 251 struct nlm4_testargs_wrapper *argp = rqstp->rq_argp; in nlm4svc_proc_test() 253 struct nlm4_testres_wrapper *resp = rqstp->rq_resp; in nlm4svc_proc_test() [all …]
|
| H A D | nlm3xdr_gen.h | 16 bool nlm_svc_decode_nlm_testargs(struct svc_rqst *rqstp, struct xdr_stream *xdr); 17 bool nlm_svc_decode_nlm_lockargs(struct svc_rqst *rqstp, struct xdr_stream *xdr); 18 bool nlm_svc_decode_nlm_cancargs(struct svc_rqst *rqstp, struct xdr_stream *xdr); 19 bool nlm_svc_decode_nlm_unlockargs(struct svc_rqst *rqstp, struct xdr_stream *xdr); 20 bool nlm_svc_decode_nlm_testres(struct svc_rqst *rqstp, struct xdr_stream *xdr); 21 bool nlm_svc_decode_nlm_res(struct svc_rqst *rqstp, struct xdr_stream *xdr); 22 bool nlm_svc_decode_nlm_notifyargs(struct svc_rqst *rqstp, struct xdr_stream *xdr); 23 bool nlm_svc_decode_nlm_shareargs(struct svc_rqst *rqstp, struct xdr_stream *xdr); 24 bool nlm_svc_decode_nlm_notify(struct svc_rqst *rqstp, struct xdr_stream *xdr); 26 bool nlm_svc_encode_nlm_testres(struct svc_rqst *rqstp, struct xdr_stream *xdr); [all …]
|
| H A D | nlm4xdr_gen.h | 16 bool nlm4_svc_decode_nlm4_testargs(struct svc_rqst *rqstp, struct xdr_stream *xdr); 17 bool nlm4_svc_decode_nlm4_lockargs(struct svc_rqst *rqstp, struct xdr_stream *xdr); 18 bool nlm4_svc_decode_nlm4_cancargs(struct svc_rqst *rqstp, struct xdr_stream *xdr); 19 bool nlm4_svc_decode_nlm4_unlockargs(struct svc_rqst *rqstp, struct xdr_stream *xdr); 20 bool nlm4_svc_decode_nlm4_testres(struct svc_rqst *rqstp, struct xdr_stream *xdr); 21 bool nlm4_svc_decode_nlm4_res(struct svc_rqst *rqstp, struct xdr_stream *xdr); 22 bool nlm4_svc_decode_nlm4_notifyargs(struct svc_rqst *rqstp, struct xdr_stream *xdr); 23 bool nlm4_svc_decode_nlm4_shareargs(struct svc_rqst *rqstp, struct xdr_stream *xdr); 24 bool nlm4_svc_decode_nlm4_notify(struct svc_rqst *rqstp, struct xdr_stream *xdr); 26 bool nlm4_svc_encode_nlm4_testres(struct svc_rqst *rqstp, struct xdr_stream *xdr); [all …]
|
| /linux/net/sunrpc/auth_gss/ |
| H A D | svcauth_gss.c | 655 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/trace/events/ |
| H A D | rpcgss.h | 177 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); 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) 227 __entry->xid = be32_to_cpu(rqstp->rq_xid); [all …]
|
| /linux/net/sunrpc/xprtrdma/ |
| H A D | svc_rdma_recvfrom.c | 411 static void svc_rdma_build_arg_xdr(struct svc_rqst *rqstp, in svc_rdma_build_arg_xdr() argument 414 struct xdr_buf *arg = &rqstp->rq_arg; in svc_rdma_build_arg_xdr() 812 static void svc_rdma_read_complete_one(struct svc_rqst *rqstp, in svc_rdma_read_complete_one() argument 816 struct xdr_buf *buf = &rqstp->rq_arg; in svc_rdma_read_complete_one() 837 buf->pages = &rqstp->rq_pages[0]; in svc_rdma_read_complete_one() 849 static void svc_rdma_read_complete_multiple(struct svc_rqst *rqstp, in svc_rdma_read_complete_multiple() argument 852 struct xdr_buf *buf = &rqstp->rq_arg; in svc_rdma_read_complete_multiple() 857 buf->head[0].iov_base = page_address(rqstp->rq_pages[0]); in svc_rdma_read_complete_multiple() 859 buf->pages = &rqstp->rq_pages[1]; in svc_rdma_read_complete_multiple() 868 static void svc_rdma_read_complete_pzrc(struct svc_rqst *rqstp, in svc_rdma_read_complete_pzrc() argument [all …]
|