/linux/net/sunrpc/ |
H A D | svc.c | 639 svc_init_buffer(struct svc_rqst *rqstp, unsigned int size, int node) in svc_init_buffer() argument 644 if (svc_is_backchannel(rqstp)) in svc_init_buffer() 655 rqstp->rq_pages); in svc_init_buffer() 663 svc_release_buffer(struct svc_rqst *rqstp) in svc_release_buffer() argument 667 for (i = 0; i < ARRAY_SIZE(rqstp->rq_pages); i++) in svc_release_buffer() 668 if (rqstp->rq_pages[i]) in svc_release_buffer() 669 put_page(rqstp->rq_pages[i]); in svc_release_buffer() 673 svc_rqst_free(struct svc_rqst *rqstp) in svc_rqst_free() argument 675 folio_batch_release(&rqstp->rq_fbatch); in svc_rqst_free() 676 svc_release_buffer(rqstp); in svc_rqst_free() [all …]
|
H A D | svc_xprt.c | 31 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 D | svcsock.c | 156 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 …]
|
H A D | svcauth_unix.c | 642 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 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 …]
|
/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 | 58 nfsd3_proc_null(struct svc_rqst *rqstp) in nfsd3_proc_null() argument 67 nfsd3_proc_getattr(struct svc_rqst *rqstp) in nfsd3_proc_getattr() argument 69 struct nfsd_fhandle *argp = rqstp->rq_argp; in nfsd3_proc_getattr() 70 struct nfsd3_attrstat *resp = rqstp->rq_resp; 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() 115 nfsd3_proc_lookup(struct svc_rqst *rqstp) in nfsd3_proc_lookup() argument [all …]
|
H A D | nfsxdr.c | 130 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 D | nfsproc.c | 42 nfsd_proc_null(struct svc_rqst *rqstp) in nfsd_proc_null() argument 52 nfsd_proc_getattr(struct svc_rqst *rqstp) in nfsd_proc_getattr() argument 54 struct nfsd_fhandle *argp = rqstp->rq_argp; in nfsd_proc_getattr() 55 struct nfsd_attrstat *resp = rqstp->rq_resp; in nfsd_proc_getattr() 60 resp->status = fh_verify(rqstp, &resp->fh, 0, in nfsd_proc_getattr() 75 nfsd_proc_setattr(struct svc_rqst *rqstp) in nfsd_proc_setattr() argument 77 struct nfsd_sattrargs *argp = rqstp->rq_argp; in nfsd_proc_setattr() 78 struct nfsd_attrstat *resp = rqstp->rq_resp; in nfsd_proc_setattr() 115 resp->status = fh_verify(rqstp, fhp, 0, NFSD_MAY_NOP); in nfsd_proc_setattr() 132 resp->status = nfsd_setattr(rqstp, fhp, &attrs, NULL); in nfsd_proc_setattr() [all …]
|
H A D | xdr3.h | 183 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 D | xdr.h | 144 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 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() 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 …]
|
H A D | nfs4proc.c | 84 check_attr_support(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, in check_attr_support() argument 106 nfsd4_check_open_attributes(struct svc_rqst *rqstp, in nfsd4_check_open_attributes() argument 114 status = check_attr_support(rqstp, cstate, in nfsd4_check_open_attributes() 117 status = check_attr_support(rqstp, cstate, in nfsd4_check_open_attributes() 144 do_open_permission(struct svc_rqst *rqstp, struct svc_fh *current_fh, struct nfsd4_open *open, int … in do_open_permission() argument 160 return fh_verify(rqstp, current_fh, S_IFREG, accmode); in do_open_permission() 235 nfsd4_create_file(struct svc_rqst *rqstp, struct svc_fh *fhp, in nfsd4_create_file() argument 254 status = fh_verify(rqstp, fhp, S_IFDIR, NFSD_MAY_EXEC); in nfsd4_create_file() 276 status = fh_verify(rqstp, fhp, S_IFDIR, NFSD_MAY_CREATE); in nfsd4_create_file() 373 status = nfsd_create_setattr(rqstp, fhp, resfhp, &attrs); in nfsd4_create_file() [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() 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 …]
|
H A D | nfssvc.c | 856 nfsd_acl_init_request(struct svc_rqst *rqstp, in nfsd_acl_init_request() argument 860 struct nfsd_net *nn = net_generic(SVC_NET(rqstp), nfsd_net_id); in nfsd_acl_init_request() 863 if (likely(nfsd_support_acl_version(rqstp->rq_vers) && in nfsd_acl_init_request() 864 nfsd_vers(nn, rqstp->rq_vers, NFSD_TEST))) in nfsd_acl_init_request() 865 return svc_generic_init_request(rqstp, progp, ret); in nfsd_acl_init_request() 869 if (nfsd_support_acl_version(rqstp->rq_vers) && in nfsd_acl_init_request() 879 if (nfsd_support_acl_version(rqstp->rq_vers) && in nfsd_acl_init_request() 901 nfsd_init_request(struct svc_rqst *rqstp, in nfsd_init_request() argument 905 struct nfsd_net *nn = net_generic(SVC_NET(rqstp), nfsd_net_id); in nfsd_init_request() 908 if (likely(nfsd_vers(nn, rqstp->rq_vers, NFSD_TEST))) in nfsd_init_request() [all …]
|
H A D | nfs4idmap.c | 507 idmap_lookup(struct svc_rqst *rqstp, in idmap_lookup() argument 517 ret = cache_check(detail, &(*item)->h, &rqstp->rq_chandle); in idmap_lookup() 530 rqst_authname(struct svc_rqst *rqstp) in rqst_authname() argument 534 clp = rqstp->rq_gssclient ? rqstp->rq_gssclient : rqstp->rq_client; in rqst_authname() 539 idmap_name_to_id(struct svc_rqst *rqstp, int type, const char *name, u32 namelen, in idmap_name_to_id() argument 546 struct nfsd_net *nn = net_generic(SVC_NET(rqstp), nfsd_net_id); in idmap_name_to_id() 552 strscpy(key.authname, rqst_authname(rqstp), sizeof(key.authname)); in idmap_name_to_id() 553 ret = idmap_lookup(rqstp, nametoid_lookup, &key, nn->nametoid_cache, &item); in idmap_name_to_id() 578 struct svc_rqst *rqstp, int type, u32 id) in idmap_id_to_name() argument 587 struct nfsd_net *nn = net_generic(SVC_NET(rqstp), nfsd_net_id); in idmap_id_to_name() [all …]
|
H A D | nfscache.c | 40 static int nfsd_cache_append(struct svc_rqst *rqstp, struct kvec *vec); 88 nfsd_cacherep_alloc(struct svc_rqst *rqstp, __wsum csum, in nfsd_cacherep_alloc() argument 101 rp->c_key.k_xid = rqstp->rq_xid; in nfsd_cacherep_alloc() 102 rp->c_key.k_proc = rqstp->rq_proc; in nfsd_cacherep_alloc() 103 rpc_copy_addr((struct sockaddr *)&rp->c_key.k_addr, svc_addr(rqstp)); in nfsd_cacherep_alloc() 104 rpc_set_port((struct sockaddr *)&rp->c_key.k_addr, rpc_get_port(svc_addr(rqstp))); in nfsd_cacherep_alloc() 105 rp->c_key.k_prot = rqstp->rq_prot; in nfsd_cacherep_alloc() 106 rp->c_key.k_vers = rqstp->rq_vers; in nfsd_cacherep_alloc() 107 rp->c_key.k_len = rqstp->rq_arg.len; in nfsd_cacherep_alloc() 479 int nfsd_cache_lookup(struct svc_rqst *rqstp, unsigned int start, in nfsd_cache_lookup() argument [all …]
|
/linux/include/linux/sunrpc/ |
H A D | svc.h | 135 extern u32 svc_max_payload(const struct svc_rqst *rqstp); 307 static inline bool svc_thread_should_stop(struct svc_rqst *rqstp) in svc_thread_should_stop() argument 309 if (test_and_clear_bit(SP_NEED_VICTIM, &rqstp->rq_pool->sp_flags)) in svc_thread_should_stop() 310 set_bit(RQ_VICTIM, &rqstp->rq_flags); in svc_thread_should_stop() 312 return test_bit(RQ_VICTIM, &rqstp->rq_flags); in svc_thread_should_stop() 328 static inline void svc_thread_init_status(struct svc_rqst *rqstp, int err) in svc_thread_init_status() argument 330 rqstp->rq_err = err; in svc_thread_init_status() 335 wake_up_var(&rqstp->rq_err); in svc_thread_init_status() 355 int (*dispatch)(struct svc_rqst *rqstp); 374 enum svc_auth_status (*pg_authenticate)(struct svc_rqst *rqstp); [all …]
|
/linux/include/linux/lockd/ |
H A D | xdr4.h | 26 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 D | xdr.h | 100 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, struc [all...] |
/linux/net/sunrpc/auth_gss/ |
H A D | svcauth_gss.c | 644 * @rqstp: RPC Call to use when reporting errors 652 * %true: @rqstp's GSS sequence number is inside the window 653 * %false: @rqstp's GSS sequence number is outside the window 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 in svcauth_gss_verify_header() 757 svcauth_gss_encode_verf(struct svc_rqst * rqstp,struct gss_ctx * ctx_id,u32 seq) svcauth_gss_encode_verf() argument 860 svcauth_gss_unwrap_integ(struct svc_rqst * rqstp,u32 seq,struct gss_ctx * ctx) svcauth_gss_unwrap_integ() argument 936 svcauth_gss_unwrap_priv(struct svc_rqst * rqstp,u32 seq,struct gss_ctx * ctx) svcauth_gss_unwrap_priv() argument 980 svcauth_gss_set_client(struct svc_rqst * rqstp) svcauth_gss_set_client() argument 1010 svcauth_gss_proc_init_verf(struct cache_detail * cd,struct svc_rqst * rqstp,struct xdr_netobj * out_handle,int * major_status,u32 seq_num) svcauth_gss_proc_init_verf() argument 1045 gss_read_proxy_verf(struct svc_rqst * rqstp,struct rpc_gss_wire_cred * gc,struct xdr_netobj * in_handle,struct gssp_in_token * in_token) gss_read_proxy_verf() argument 1154 svcauth_gss_legacy_init(struct svc_rqst * rqstp,struct rpc_gss_wire_cred * gc) svcauth_gss_legacy_init() argument 1290 svcauth_gss_proxy_init(struct svc_rqst * rqstp,struct rpc_gss_wire_cred * gc) svcauth_gss_proxy_init() argument 1375 svcauth_gss_proc_init(struct svc_rqst * rqstp,struct rpc_gss_wire_cred * gc) svcauth_gss_proc_init() argument 1622 svcauth_gss_accept(struct svc_rqst * rqstp) svcauth_gss_accept() argument 1748 svcauth_gss_prepare_to_wrap(struct svc_rqst * rqstp,struct gss_svc_data * gsd) svcauth_gss_prepare_to_wrap() argument 1784 svcauth_gss_wrap_integ(struct svc_rqst * rqstp) svcauth_gss_wrap_integ() argument 1845 svcauth_gss_wrap_priv(struct svc_rqst * rqstp) svcauth_gss_wrap_priv() argument 1934 svcauth_gss_release(struct svc_rqst * rqstp) svcauth_gss_release() argument 2001 svcauth_gss_pseudoflavor(struct svc_rqst * rqstp) svcauth_gss_pseudoflavor() argument [all...] |
/linux/fs/lockd/ |
H A D | xdr.c | 149 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/net/sunrpc/xprtrdma/ |
H A D | svc_rdma_recvfrom.c | 87 * from rqstp::rq_pages into ctxt::pages. The consumed elements of 235 * @vctxt: the context from rqstp->rq_xprt_ctxt or dr->xprt_ctxt 397 static void svc_rdma_build_arg_xdr(struct svc_rqst *rqstp, in svc_rdma_build_arg_xdr() argument 400 struct xdr_buf *arg = &rqstp->rq_arg; in svc_rdma_build_arg_xdr() 778 /* Finish constructing the RPC Call message in rqstp::rq_arg. in svc_rdma_read_complete_one() argument 784 static void svc_rdma_read_complete_one(struct svc_rqst *rqstp, in svc_rdma_read_complete_one() 788 struct xdr_buf *buf = &rqstp->rq_arg; in svc_rdma_read_complete_one() 809 buf->pages = &rqstp->rq_pages[0]; 816 /* Finish constructing the RPC Call message in rqstp::rq_arg. in svc_rdma_read_complete_multiple() 821 static void svc_rdma_read_complete_multiple(struct svc_rqst *rqstp, in svc_rdma_read_complete_multiple() 815 svc_rdma_read_complete_multiple(struct svc_rqst * rqstp,struct svc_rdma_recv_ctxt * ctxt) svc_rdma_read_complete_multiple() argument 834 svc_rdma_read_complete_pzrc(struct svc_rqst * rqstp,struct svc_rdma_recv_ctxt * ctxt) svc_rdma_read_complete_pzrc() argument 848 svc_rdma_read_complete(struct svc_rqst * rqstp,struct svc_rdma_recv_ctxt * ctxt) svc_rdma_read_complete() argument 916 svc_rdma_recvfrom(struct svc_rqst * rqstp) svc_rdma_recvfrom() argument [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/fs/nfs/ |
H A D | callback.c | 77 struct svc_rqst *rqstp = vrqstp; in nfs4_callback_svc() local 79 svc_thread_init_status(rqstp, 0); in nfs4_callback_svc() 83 while (!svc_thread_should_stop(rqstp)) in nfs4_callback_svc() 84 svc_recv(rqstp); in nfs4_callback_svc() 86 svc_exit_thread(rqstp); in nfs4_callback_svc() 286 check_gss_callback_principal(struct nfs_client *clp, struct svc_rqst *rqstp) in check_gss_callback_principal() argument 288 char *p = rqstp->rq_cred.cr_principal; in check_gss_callback_principal() 290 if (rqstp->rq_authop->flavour != RPC_AUTH_GSS) in check_gss_callback_principal() 334 static enum svc_auth_status nfs_callback_authenticate(struct svc_rqst *rqstp) in nfs_callback_authenticate() argument 336 rqstp->rq_auth_stat = rpc_autherr_badcred; in nfs_callback_authenticate() [all …]
|