/fs/lockd/ |
D | svc4proc.c | 23 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() 83 nlm4svc_proc_null(struct svc_rqst *rqstp) in nlm4svc_proc_null() argument 93 __nlm4svc_proc_test(struct svc_rqst *rqstp, struct nlm_res *resp) in __nlm4svc_proc_test() argument 95 struct nlm_args *argp = rqstp->rq_argp; in __nlm4svc_proc_test() 105 if ((resp->status = nlm4svc_retrieve_args(rqstp, argp, &host, &file))) in __nlm4svc_proc_test() 110 resp->status = nlmsvc_testlock(rqstp, file, host, &argp->lock, &resp->lock, &resp->cookie); in __nlm4svc_proc_test() 123 nlm4svc_proc_test(struct svc_rqst *rqstp) in nlm4svc_proc_test() argument 125 return __nlm4svc_proc_test(rqstp, rqstp->rq_resp); in nlm4svc_proc_test() [all …]
|
D | svcproc.c | 43 #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() 104 nlmsvc_proc_null(struct svc_rqst *rqstp) in nlmsvc_proc_null() argument 114 __nlmsvc_proc_test(struct svc_rqst *rqstp, struct nlm_res *resp) in __nlmsvc_proc_test() argument 116 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() 132 …resp->status = cast_status(nlmsvc_testlock(rqstp, file, host, &argp->lock, &resp->lock, &resp->coo… in __nlmsvc_proc_test() 137 ntohl(resp->status), rqstp->rq_vers); in __nlmsvc_proc_test() [all …]
|
D | xdr4.c | 144 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 …]
|
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 …]
|
D | svc.c | 134 struct svc_rqst *rqstp = vrqstp; in lockd() local 155 rqstp->rq_server->sv_maxconn = nlm_max_connections; in lockd() 169 err = svc_recv(rqstp, timeout); in lockd() 173 svc_print_addr(rqstp, buf, sizeof(buf))); in lockd() 175 svc_process(rqstp); in lockd() 186 svc_exit_thread(rqstp); in lockd() 559 static int lockd_authenticate(struct svc_rqst *rqstp) in lockd_authenticate() argument 561 rqstp->rq_client = NULL; in lockd_authenticate() 562 switch (rqstp->rq_authop->flavour) { in lockd_authenticate() 565 rqstp->rq_auth_stat = rpc_auth_ok; in lockd_authenticate() [all …]
|
/fs/nfsd/ |
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() 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 …]
|
D | nfs3proc.c | 35 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 …]
|
D | nfsproc.c | 17 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 …]
|
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 …]
|
D | nfs4proc.c | 82 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() 368 status = nfsd_create_setattr(rqstp, fhp, resfhp, &attrs); in nfsd4_create_file() [all …]
|
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 …]
|
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 …]
|
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 …]
|
D | vfs.c | 59 nfsd_cross_mnt(struct svc_rqst *rqstp, struct dentry **dpp, in nfsd_cross_mnt() argument 78 exp2 = rqst_exp_get_by_name(rqstp, &path); in nfsd_cross_mnt() 93 if (nfsd_v4client(rqstp) || in nfsd_cross_mnt() 124 static int nfsd_lookup_parent(struct svc_rqst *rqstp, struct dentry *dparent, struct svc_export **e… in nfsd_lookup_parent() argument 132 exp2 = rqst_exp_parent(rqstp, &path); in nfsd_lookup_parent() 173 nfsd_lookup_dentry(struct svc_rqst *rqstp, struct svc_fh *fhp, in nfsd_lookup_dentry() argument 193 else if (!EX_NOHIDE(exp) && !nfsd_v4client(rqstp)) in nfsd_lookup_dentry() 197 host_err = nfsd_lookup_parent(rqstp, dparent, &exp, &dentry); in nfsd_lookup_dentry() 207 host_err = nfsd_cross_mnt(rqstp, &dentry, &exp); in nfsd_lookup_dentry() 244 nfsd_lookup(struct svc_rqst *rqstp, struct svc_fh *fhp, const char *name, in nfsd_lookup() argument [all …]
|
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 …]
|
D | trace.h | 25 __entry->netns_ino = SVC_NET(rqstp)->ns.inum; \ 26 __entry->xid = be32_to_cpu(rqstp->rq_xid); \ 28 memcpy(__entry->server, &rqstp->rq_xprt->xpt_local, \ 29 rqstp->rq_xprt->xpt_locallen); \ 30 memcpy(__entry->client, &rqstp->rq_xprt->xpt_remote, \ 31 rqstp->rq_xprt->xpt_remotelen); \ 36 const struct svc_rqst *rqstp 38 TP_ARGS(rqstp), 44 __sockaddr(server, rqstp->rq_xprt->xpt_locallen) 45 __sockaddr(client, rqstp->rq_xprt->xpt_remotelen) [all …]
|
D | nfsfh.c | 65 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 …]
|
D | nfssvc.c | 853 nfsd_acl_init_request(struct svc_rqst *rqstp, in nfsd_acl_init_request() argument 857 struct nfsd_net *nn = net_generic(SVC_NET(rqstp), nfsd_net_id); in nfsd_acl_init_request() 860 if (likely(nfsd_support_acl_version(rqstp->rq_vers) && in nfsd_acl_init_request() 861 nfsd_vers(nn, rqstp->rq_vers, NFSD_TEST))) in nfsd_acl_init_request() 862 return svc_generic_init_request(rqstp, progp, ret); in nfsd_acl_init_request() 866 if (nfsd_support_acl_version(rqstp->rq_vers) && in nfsd_acl_init_request() 876 if (nfsd_support_acl_version(rqstp->rq_vers) && in nfsd_acl_init_request() 898 nfsd_init_request(struct svc_rqst *rqstp, in nfsd_init_request() argument 902 struct nfsd_net *nn = net_generic(SVC_NET(rqstp), nfsd_net_id); in nfsd_init_request() 905 if (likely(nfsd_vers(nn, rqstp->rq_vers, NFSD_TEST))) in nfsd_init_request() [all …]
|
D | nfs4idmap.c | 506 idmap_lookup(struct svc_rqst *rqstp, in idmap_lookup() argument 516 ret = cache_check(detail, &(*item)->h, &rqstp->rq_chandle); in idmap_lookup() 529 rqst_authname(struct svc_rqst *rqstp) in rqst_authname() argument 533 clp = rqstp->rq_gssclient ? rqstp->rq_gssclient : rqstp->rq_client; in rqst_authname() 538 idmap_name_to_id(struct svc_rqst *rqstp, int type, const char *name, u32 namelen, in idmap_name_to_id() argument 545 struct nfsd_net *nn = net_generic(SVC_NET(rqstp), nfsd_net_id); in idmap_name_to_id() 551 strscpy(key.authname, rqst_authname(rqstp), sizeof(key.authname)); in idmap_name_to_id() 552 ret = idmap_lookup(rqstp, nametoid_lookup, &key, nn->nametoid_cache, &item); in idmap_name_to_id() 577 struct svc_rqst *rqstp, int type, u32 id) in idmap_id_to_name() argument 585 struct nfsd_net *nn = net_generic(SVC_NET(rqstp), nfsd_net_id); in idmap_id_to_name() [all …]
|
D | nfscache.c | 40 static int nfsd_cache_append(struct svc_rqst *rqstp, struct kvec *vec); 88 nfsd_reply_cache_alloc(struct svc_rqst *rqstp, __wsum csum, in nfsd_reply_cache_alloc() argument 101 rp->c_key.k_xid = rqstp->rq_xid; in nfsd_reply_cache_alloc() 102 rp->c_key.k_proc = rqstp->rq_proc; in nfsd_reply_cache_alloc() 103 rpc_copy_addr((struct sockaddr *)&rp->c_key.k_addr, svc_addr(rqstp)); in nfsd_reply_cache_alloc() 104 rpc_set_port((struct sockaddr *)&rp->c_key.k_addr, rpc_get_port(svc_addr(rqstp))); in nfsd_reply_cache_alloc() 105 rp->c_key.k_prot = rqstp->rq_prot; in nfsd_reply_cache_alloc() 106 rp->c_key.k_vers = rqstp->rq_vers; in nfsd_reply_cache_alloc() 107 rp->c_key.k_len = rqstp->rq_arg.len; in nfsd_reply_cache_alloc() 445 int nfsd_cache_lookup(struct svc_rqst *rqstp, unsigned int start, in nfsd_cache_lookup() argument [all …]
|
D | xdr4.h | 718 struct svc_rqst *rqstp; member 732 struct svc_rqst * rqstp; member 744 struct nfsd4_compoundargs *args = resp->rqstp->rq_argp; in nfsd4_is_solo_sequence() 763 static inline bool nfsd4_last_compound_op(struct svc_rqst *rqstp) in nfsd4_last_compound_op() argument 765 struct nfsd4_compoundres *resp = rqstp->rq_resp; in nfsd4_last_compound_op() 766 struct nfsd4_compoundargs *argp = rqstp->rq_argp; in nfsd4_last_compound_op() 772 int nfsd4_max_reply(struct svc_rqst *rqstp, struct nfsd4_op *op); 788 bool nfsd4_mach_creds_match(struct nfs4_client *cl, struct svc_rqst *rqstp); 789 bool nfs4svc_decode_compoundargs(struct svc_rqst *rqstp, struct xdr_stream *xdr); 790 bool nfs4svc_encode_compoundres(struct svc_rqst *rqstp, struct xdr_stream *xdr); [all …]
|
D | vfs.h | 63 int nfsd_cross_mnt(struct svc_rqst *rqstp, struct dentry **dpp, 76 __be32 nfsd4_clone_file_range(struct svc_rqst *rqstp, 88 __be32 nfsd_create_setattr(struct svc_rqst *rqstp, struct svc_fh *fhp, 94 __be32 nfsd_getxattr(struct svc_rqst *rqstp, struct svc_fh *fhp, 96 __be32 nfsd_listxattr(struct svc_rqst *rqstp, struct svc_fh *fhp, 98 __be32 nfsd_removexattr(struct svc_rqst *rqstp, struct svc_fh *fhp, 100 __be32 nfsd_setxattr(struct svc_rqst *rqstp, struct svc_fh *fhp, 108 __be32 nfsd_splice_read(struct svc_rqst *rqstp, struct svc_fh *fhp, 112 __be32 nfsd_readv(struct svc_rqst *rqstp, struct svc_fh *fhp, 123 __be32 nfsd_vfs_write(struct svc_rqst *rqstp, struct svc_fh *fhp,
|
D | auth.c | 8 int nfsexp_flags(struct svc_rqst *rqstp, struct svc_export *exp) in nfsexp_flags() argument 14 if (f->pseudoflavor == rqstp->rq_cred.cr_flavor) in nfsexp_flags() 21 int nfsd_setuser(struct svc_rqst *rqstp, struct svc_export *exp) in nfsd_setuser() argument 27 int flags = nfsexp_flags(rqstp, exp); in nfsd_setuser() 37 new->fsuid = rqstp->rq_cred.cr_uid; in nfsd_setuser() 38 new->fsgid = rqstp->rq_cred.cr_gid; in nfsd_setuser() 40 rqgi = rqstp->rq_cred.cr_group_info; in nfsd_setuser()
|
/fs/nfs/ |
D | callback.c | 78 struct svc_rqst *rqstp = vrqstp; in nfs4_callback_svc() local 89 err = svc_recv(rqstp, MAX_SCHEDULE_TIMEOUT); in nfs4_callback_svc() 92 svc_process(rqstp); in nfs4_callback_svc() 95 svc_exit_thread(rqstp); in nfs4_callback_svc() 106 struct svc_rqst *rqstp = vrqstp; in nfs41_callback_svc() local 107 struct svc_serv *serv = rqstp->rq_server; in nfs41_callback_svc() 128 error = bc_svc_process(serv, req, rqstp); in nfs41_callback_svc() 139 svc_exit_thread(rqstp); in nfs41_callback_svc() 342 check_gss_callback_principal(struct nfs_client *clp, struct svc_rqst *rqstp) in check_gss_callback_principal() argument 344 char *p = rqstp->rq_cred.cr_principal; in check_gss_callback_principal() [all …]
|
D | callback_xdr.c | 61 static __be32 nfs4_callback_null(struct svc_rqst *rqstp) in nfs4_callback_null() argument 70 static bool nfs4_encode_void(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfs4_encode_void() argument 176 static __be32 decode_getattr_args(struct svc_rqst *rqstp, in decode_getattr_args() argument 188 static __be32 decode_recall_args(struct svc_rqst *rqstp, in decode_recall_args() argument 212 static __be32 decode_layoutrecall_args(struct svc_rqst *rqstp, in decode_layoutrecall_args() argument 256 __be32 decode_devicenotify_args(struct svc_rqst *rqstp, in decode_devicenotify_args() argument 395 static __be32 decode_cb_sequence_args(struct svc_rqst *rqstp, in decode_cb_sequence_args() argument 412 args->csa_addr = svc_addr(rqstp); in decode_cb_sequence_args() 443 static __be32 decode_recallany_args(struct svc_rqst *rqstp, in decode_recallany_args() argument 463 static __be32 decode_recallslot_args(struct svc_rqst *rqstp, in decode_recallslot_args() argument [all …]
|