Home
last modified time | relevance | path

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

123

/fs/nfsd/
Dnfs3xdr.c166 encode_fattr3(struct svc_rqst *rqstp, __be32 *p, struct svc_fh *fhp, in encode_fattr3() argument
169 struct user_namespace *userns = nfsd_user_namespace(rqstp); in encode_fattr3()
197 encode_saved_post_attr(struct svc_rqst *rqstp, __be32 *p, struct svc_fh *fhp) in encode_saved_post_attr() argument
201 return encode_fattr3(rqstp, p, fhp, &fhp->fh_post_attr); in encode_saved_post_attr()
210 encode_post_op_attr(struct svc_rqst *rqstp, __be32 *p, struct svc_fh *fhp) in encode_post_op_attr() argument
221 return encode_fattr3(rqstp, p, fhp, &stat); in encode_post_op_attr()
230 nfs3svc_encode_post_op_attr(struct svc_rqst *rqstp, __be32 *p, struct svc_fh *fhp) in nfs3svc_encode_post_op_attr() argument
232 return encode_post_op_attr(rqstp, p, fhp); in nfs3svc_encode_post_op_attr()
239 encode_wcc_data(struct svc_rqst *rqstp, __be32 *p, struct svc_fh *fhp) in encode_wcc_data() argument
252 return encode_saved_post_attr(rqstp, p, fhp); in encode_wcc_data()
[all …]
Dnfsxdr.c129 encode_fattr(struct svc_rqst *rqstp, __be32 *p, struct svc_fh *fhp, in encode_fattr() argument
132 struct user_namespace *userns = nfsd_user_namespace(rqstp); in encode_fattr()
187 __be32 *nfs2svc_encode_fattr(struct svc_rqst *rqstp, __be32 *p, struct svc_fh *fhp, struct kstat *s… in nfs2svc_encode_fattr() argument
189 return encode_fattr(rqstp, p, fhp, stat); in nfs2svc_encode_fattr()
196 nfssvc_decode_void(struct svc_rqst *rqstp, __be32 *p) in nfssvc_decode_void() argument
198 return xdr_argsize_check(rqstp, p); in nfssvc_decode_void()
202 nfssvc_decode_fhandle(struct svc_rqst *rqstp, __be32 *p) in nfssvc_decode_fhandle() argument
204 struct nfsd_fhandle *args = rqstp->rq_argp; in nfssvc_decode_fhandle()
209 return xdr_argsize_check(rqstp, p); in nfssvc_decode_fhandle()
213 nfssvc_decode_sattrargs(struct svc_rqst *rqstp, __be32 *p) in nfssvc_decode_sattrargs() argument
[all …]
Dnfs2acl.c23 nfsacld_proc_null(struct svc_rqst *rqstp) in nfsacld_proc_null() argument
31 static __be32 nfsacld_proc_getacl(struct svc_rqst *rqstp) in nfsacld_proc_getacl() argument
33 struct nfsd3_getaclargs *argp = rqstp->rq_argp; in nfsacld_proc_getacl()
34 struct nfsd3_getaclres *resp = rqstp->rq_resp; in nfsacld_proc_getacl()
43 nfserr = fh_verify(rqstp, &resp->fh, 0, NFSD_MAY_NOP); in nfsacld_proc_getacl()
92 static __be32 nfsacld_proc_setacl(struct svc_rqst *rqstp) in nfsacld_proc_setacl() argument
94 struct nfsd3_setaclargs *argp = rqstp->rq_argp; in nfsacld_proc_setacl()
95 struct nfsd_attrstat *resp = rqstp->rq_resp; in nfsacld_proc_setacl()
104 nfserr = fh_verify(rqstp, &resp->fh, 0, NFSD_MAY_SATTR); in nfsacld_proc_setacl()
146 static __be32 nfsacld_proc_getattr(struct svc_rqst *rqstp) in nfsacld_proc_getattr() 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()
54 nfserr = fh_verify(rqstp, &resp->fh, 0, in nfsd3_proc_getattr()
68 nfsd3_proc_setattr(struct svc_rqst *rqstp) in nfsd3_proc_setattr() argument
70 struct nfsd3_sattrargs *argp = rqstp->rq_argp; in nfsd3_proc_setattr()
71 struct nfsd3_attrstat *resp = rqstp->rq_resp; in nfsd3_proc_setattr()
78 nfserr = nfsd_setattr(rqstp, &resp->fh, &argp->attrs, in nfsd3_proc_setattr()
87 nfsd3_proc_lookup(struct svc_rqst *rqstp) in nfsd3_proc_lookup() argument
[all …]
Dnfsproc.c21 nfsd_proc_null(struct svc_rqst *rqstp) in nfsd_proc_null() argument
43 nfsd_proc_getattr(struct svc_rqst *rqstp) in nfsd_proc_getattr() argument
45 struct nfsd_fhandle *argp = rqstp->rq_argp; in nfsd_proc_getattr()
46 struct nfsd_attrstat *resp = rqstp->rq_resp; in nfsd_proc_getattr()
51 nfserr = fh_verify(rqstp, &resp->fh, 0, in nfsd_proc_getattr()
61 nfsd_proc_setattr(struct svc_rqst *rqstp) in nfsd_proc_setattr() argument
63 struct nfsd_sattrargs *argp = rqstp->rq_argp; in nfsd_proc_setattr()
64 struct nfsd_attrstat *resp = rqstp->rq_resp; in nfsd_proc_setattr()
99 nfserr = fh_verify(rqstp, fhp, 0, NFSD_MAY_NOP); in nfsd_proc_setattr()
116 nfserr = nfsd_setattr(rqstp, fhp, iap, 0, (time_t)0); in nfsd_proc_setattr()
[all …]
Dnfs3acl.c22 nfsd3_proc_null(struct svc_rqst *rqstp) in nfsd3_proc_null() argument
30 static __be32 nfsd3_proc_getacl(struct svc_rqst *rqstp) in nfsd3_proc_getacl() argument
32 struct nfsd3_getaclargs *argp = rqstp->rq_argp; in nfsd3_proc_getacl()
33 struct nfsd3_getaclres *resp = rqstp->rq_resp; in nfsd3_proc_getacl()
40 nfserr = 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()
95 nfserr = fh_verify(rqstp, &resp->fh, 0, NFSD_MAY_SATTR); in nfsd3_proc_setacl()
128 static int nfs3svc_decode_getaclargs(struct svc_rqst *rqstp, __be32 *p) in nfs3svc_decode_getaclargs() argument
[all …]
Dnfs4proc.c96 check_attr_support(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, in check_attr_support() argument
118 nfsd4_check_open_attributes(struct svc_rqst *rqstp, in nfsd4_check_open_attributes() argument
126 status = check_attr_support(rqstp, cstate, in nfsd4_check_open_attributes()
129 status = check_attr_support(rqstp, cstate, in nfsd4_check_open_attributes()
150 do_set_nfs4_acl(struct svc_rqst *rqstp, struct svc_fh *fhp, in do_set_nfs4_acl() argument
155 status = nfsd4_set_nfs4_acl(rqstp, fhp, acl); in do_set_nfs4_acl()
176 do_open_permission(struct svc_rqst *rqstp, struct svc_fh *current_fh, struct nfsd4_open *open, int … in do_open_permission() argument
193 status = fh_verify(rqstp, current_fh, S_IFREG, accmode); in do_open_permission()
225 do_open_lookup(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, struct nfsd4_open *open… in do_open_lookup() argument
258 status = do_nfsd_create(rqstp, current_fh, open->op_fname.data, in do_open_lookup()
[all …]
Dvfs.c59 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()
222 if ((host_err = nfsd_cross_mnt(rqstp, &dentry, &exp))) { in nfsd_lookup_dentry()
250 nfsd_lookup(struct svc_rqst *rqstp, struct svc_fh *fhp, const char *name, in nfsd_lookup() argument
[all …]
Dnfssvc.c828 nfsd_acl_init_request(struct svc_rqst *rqstp, in nfsd_acl_init_request() argument
832 struct nfsd_net *nn = net_generic(SVC_NET(rqstp), nfsd_net_id); in nfsd_acl_init_request()
835 if (likely(nfsd_support_acl_version(rqstp->rq_vers) && in nfsd_acl_init_request()
836 nfsd_vers(nn, rqstp->rq_vers, NFSD_TEST))) in nfsd_acl_init_request()
837 return svc_generic_init_request(rqstp, progp, ret); in nfsd_acl_init_request()
841 if (nfsd_support_acl_version(rqstp->rq_vers) && in nfsd_acl_init_request()
851 if (nfsd_support_acl_version(rqstp->rq_vers) && in nfsd_acl_init_request()
873 nfsd_init_request(struct svc_rqst *rqstp, in nfsd_init_request() argument
877 struct nfsd_net *nn = net_generic(SVC_NET(rqstp), nfsd_net_id); in nfsd_init_request()
880 if (likely(nfsd_vers(nn, rqstp->rq_vers, NFSD_TEST))) in nfsd_init_request()
[all …]
Dnfscache.c40 static int nfsd_cache_append(struct svc_rqst *rqstp, struct kvec *vec);
94 nfsd_reply_cache_alloc(struct svc_rqst *rqstp, __wsum csum, in nfsd_reply_cache_alloc() argument
107 rp->c_key.k_xid = rqstp->rq_xid; in nfsd_reply_cache_alloc()
108 rp->c_key.k_proc = rqstp->rq_proc; in nfsd_reply_cache_alloc()
109 rpc_copy_addr((struct sockaddr *)&rp->c_key.k_addr, svc_addr(rqstp)); in nfsd_reply_cache_alloc()
110 rpc_set_port((struct sockaddr *)&rp->c_key.k_addr, rpc_get_port(svc_addr(rqstp))); in nfsd_reply_cache_alloc()
111 rp->c_key.k_prot = rqstp->rq_prot; in nfsd_reply_cache_alloc()
112 rp->c_key.k_vers = rqstp->rq_vers; in nfsd_reply_cache_alloc()
113 rp->c_key.k_len = rqstp->rq_arg.len; in nfsd_reply_cache_alloc()
292 nfsd_cache_csum(struct svc_rqst *rqstp) in nfsd_cache_csum() argument
[all …]
Dnfs4idmap.c492 idmap_lookup(struct svc_rqst *rqstp, in idmap_lookup() argument
502 ret = cache_check(detail, &(*item)->h, &rqstp->rq_chandle); in idmap_lookup()
515 rqst_authname(struct svc_rqst *rqstp) in rqst_authname() argument
519 clp = rqstp->rq_gssclient ? rqstp->rq_gssclient : rqstp->rq_client; in rqst_authname()
524 idmap_name_to_id(struct svc_rqst *rqstp, int type, const char *name, u32 namelen, in idmap_name_to_id() argument
531 struct nfsd_net *nn = net_generic(SVC_NET(rqstp), nfsd_net_id); in idmap_name_to_id()
537 strlcpy(key.authname, rqst_authname(rqstp), sizeof(key.authname)); in idmap_name_to_id()
538 ret = idmap_lookup(rqstp, nametoid_lookup, &key, nn->nametoid_cache, &item); in idmap_name_to_id()
563 struct svc_rqst *rqstp, int type, u32 id) in idmap_id_to_name() argument
571 struct nfsd_net *nn = net_generic(SVC_NET(rqstp), nfsd_net_id); in idmap_id_to_name()
[all …]
Dnfsfh.c63 nfsd_mode_check(struct svc_rqst *rqstp, struct dentry *dentry, in nfsd_mode_check() argument
81 if (rqstp->rq_vers == 4 && mode == S_IFLNK) in nfsd_mode_check()
90 static bool nfsd_originating_port_ok(struct svc_rqst *rqstp, int flags) in nfsd_originating_port_ok() argument
95 if (rqstp->rq_cred.cr_flavor >= RPC_AUTH_GSS) in nfsd_originating_port_ok()
97 return test_bit(RQ_SECURE, &rqstp->rq_flags); in nfsd_originating_port_ok()
100 static __be32 nfsd_setuser_and_check_port(struct svc_rqst *rqstp, in nfsd_setuser_and_check_port() argument
103 int flags = nfsexp_flags(rqstp, exp); in nfsd_setuser_and_check_port()
106 if (!nfsd_originating_port_ok(rqstp, flags)) { in nfsd_setuser_and_check_port()
109 svc_print_addr(rqstp, buf, sizeof(buf))); in nfsd_setuser_and_check_port()
114 return nfserrno(nfsd_setuser(rqstp, exp)); in nfsd_setuser_and_check_port()
[all …]
Dxdr4.h656 struct svc_rqst *rqstp; member
670 struct svc_rqst * rqstp; member
681 struct nfsd4_compoundargs *args = resp->rqstp->rq_argp; in nfsd4_is_solo_sequence()
700 static inline bool nfsd4_last_compound_op(struct svc_rqst *rqstp) in nfsd4_last_compound_op() argument
702 struct nfsd4_compoundres *resp = rqstp->rq_resp; in nfsd4_last_compound_op()
703 struct nfsd4_compoundargs *argp = rqstp->rq_argp; in nfsd4_last_compound_op()
709 int nfsd4_max_reply(struct svc_rqst *rqstp, struct nfsd4_op *op);
731 bool nfsd4_mach_creds_match(struct nfs4_client *cl, struct svc_rqst *rqstp);
742 extern __be32 nfsd4_setclientid(struct svc_rqst *rqstp,
744 extern __be32 nfsd4_setclientid_confirm(struct svc_rqst *rqstp,
[all …]
Dtrace.h54 TP_PROTO(struct svc_rqst *rqstp,
58 TP_ARGS(rqstp, fhp, offset, len),
66 __entry->xid = be32_to_cpu(rqstp->rq_xid);
78 TP_PROTO(struct svc_rqst *rqstp, \
82 TP_ARGS(rqstp, fhp, offset, len))
95 TP_PROTO(struct svc_rqst *rqstp,
99 TP_ARGS(rqstp, fhp, offset, status),
107 __entry->xid = be32_to_cpu(rqstp->rq_xid);
119 TP_PROTO(struct svc_rqst *rqstp, \
123 TP_ARGS(rqstp, fhp, offset, len))
[all …]
Dauth.c8 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()
Dflexfilelayout.c80 nfsd4_ff_proc_getdeviceinfo(struct super_block *sb, struct svc_rqst *rqstp, in nfsd4_ff_proc_getdeviceinfo() argument
97 da->rsize = svc_max_payload(rqstp); in nfsd4_ff_proc_getdeviceinfo()
100 rpc_ntop((struct sockaddr *)&rqstp->rq_daddr, in nfsd4_ff_proc_getdeviceinfo()
102 if (rqstp->rq_daddr.ss_family == AF_INET) { in nfsd4_ff_proc_getdeviceinfo()
105 sin = (struct sockaddr_in *)&rqstp->rq_daddr; in nfsd4_ff_proc_getdeviceinfo()
112 sin6 = (struct sockaddr_in6 *)&rqstp->rq_daddr; in nfsd4_ff_proc_getdeviceinfo()
Dexport.c953 __be32 check_nfsd_access(struct svc_export *exp, struct svc_rqst *rqstp) in check_nfsd_access() argument
959 if (exp->ex_client == rqstp->rq_gssclient) in check_nfsd_access()
963 if (f->pseudoflavor == rqstp->rq_cred.cr_flavor) in check_nfsd_access()
968 if (rqstp->rq_cred.cr_flavor == RPC_AUTH_NULL || in check_nfsd_access()
969 rqstp->rq_cred.cr_flavor == RPC_AUTH_UNIX) in check_nfsd_access()
979 if (nfsd4_spo_must_allow(rqstp)) in check_nfsd_access()
995 rqst_exp_get_by_name(struct svc_rqst *rqstp, struct path *path) in rqst_exp_get_by_name() argument
998 struct nfsd_net *nn = net_generic(SVC_NET(rqstp), nfsd_net_id); in rqst_exp_get_by_name()
1001 if (rqstp->rq_client == NULL) in rqst_exp_get_by_name()
1005 exp = exp_get_by_name(cd, rqstp->rq_client, path, &rqstp->rq_chandle); in rqst_exp_get_by_name()
[all …]
Dnfs4state.c1710 static struct nfsd4_conn *alloc_conn(struct svc_rqst *rqstp, u32 flags) in alloc_conn() argument
1717 svc_xprt_get(rqstp->rq_xprt); in alloc_conn()
1718 conn->cn_xprt = rqstp->rq_xprt; in alloc_conn()
1745 static void nfsd4_init_conn(struct svc_rqst *rqstp, struct nfsd4_conn *conn, struct nfsd4_session *… in nfsd4_init_conn() argument
1758 static struct nfsd4_conn *alloc_conn_from_crses(struct svc_rqst *rqstp, struct nfsd4_create_session… in alloc_conn_from_crses() argument
1764 return alloc_conn(rqstp, dir); in alloc_conn_from_crses()
1800 static void init_session(struct svc_rqst *rqstp, struct nfsd4_session *new, struct nfs4_client *clp… in init_session() argument
1803 struct nfsd_net *nn = net_generic(SVC_NET(rqstp), nfsd_net_id); in init_session()
1822 struct sockaddr *sa = svc_addr(rqstp); in init_session()
2218 static bool svc_rqst_integrity_protected(struct svc_rqst *rqstp) in svc_rqst_integrity_protected() argument
[all …]
/fs/lockd/
Dsvc4proc.c23 nlm4svc_retrieve_args(struct svc_rqst *rqstp, struct nlm_args *argp, in nlm4svc_retrieve_args() argument
36 if (!(host = nlmsvc_lookup_host(rqstp, lock->caller, lock->len)) in nlm4svc_retrieve_args()
43 if ((error = nlm_lookup_file(rqstp, &file, &lock->fh)) != 0) in nlm4svc_retrieve_args()
72 nlm4svc_proc_null(struct svc_rqst *rqstp) in nlm4svc_proc_null() argument
82 __nlm4svc_proc_test(struct svc_rqst *rqstp, struct nlm_res *resp) in __nlm4svc_proc_test() argument
84 struct nlm_args *argp = rqstp->rq_argp; in __nlm4svc_proc_test()
93 if ((resp->status = nlm4svc_retrieve_args(rqstp, argp, &host, &file))) in __nlm4svc_proc_test()
97 resp->status = nlmsvc_testlock(rqstp, file, host, &argp->lock, &resp->lock, &resp->cookie); in __nlm4svc_proc_test()
110 nlm4svc_proc_test(struct svc_rqst *rqstp) in nlm4svc_proc_test() argument
112 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
65 if (!(host = nlmsvc_lookup_host(rqstp, lock->caller, lock->len)) in nlmsvc_retrieve_args()
72 error = cast_status(nlm_lookup_file(rqstp, &file, &lock->fh)); in nlmsvc_retrieve_args()
102 nlmsvc_proc_null(struct svc_rqst *rqstp) in nlmsvc_proc_null() argument
112 __nlmsvc_proc_test(struct svc_rqst *rqstp, struct nlm_res *resp) in __nlmsvc_proc_test() argument
114 struct nlm_args *argp = rqstp->rq_argp; in __nlmsvc_proc_test()
123 if ((resp->status = nlmsvc_retrieve_args(rqstp, argp, &host, &file))) in __nlmsvc_proc_test()
127 …resp->status = cast_status(nlmsvc_testlock(rqstp, file, host, &argp->lock, &resp->lock, &resp->coo… in __nlmsvc_proc_test()
132 ntohl(resp->status), rqstp->rq_vers); in __nlmsvc_proc_test()
[all …]
Dxdr4.c181 nlm4svc_decode_testargs(struct svc_rqst *rqstp, __be32 *p) in nlm4svc_decode_testargs() argument
183 struct nlm_args *argp = rqstp->rq_argp; in nlm4svc_decode_testargs()
195 return xdr_argsize_check(rqstp, p); in nlm4svc_decode_testargs()
199 nlm4svc_encode_testres(struct svc_rqst *rqstp, __be32 *p) in nlm4svc_encode_testres() argument
201 struct nlm_res *resp = rqstp->rq_resp; in nlm4svc_encode_testres()
205 return xdr_ressize_check(rqstp, p); in nlm4svc_encode_testres()
209 nlm4svc_decode_lockargs(struct svc_rqst *rqstp, __be32 *p) in nlm4svc_decode_lockargs() argument
211 struct nlm_args *argp = rqstp->rq_argp; in nlm4svc_decode_lockargs()
226 return xdr_argsize_check(rqstp, p); in nlm4svc_decode_lockargs()
230 nlm4svc_decode_cancargs(struct svc_rqst *rqstp, __be32 *p) in nlm4svc_decode_cancargs() argument
[all …]
Dxdr.c184 nlmsvc_decode_testargs(struct svc_rqst *rqstp, __be32 *p) in nlmsvc_decode_testargs() argument
186 struct nlm_args *argp = rqstp->rq_argp; in nlmsvc_decode_testargs()
198 return xdr_argsize_check(rqstp, p); in nlmsvc_decode_testargs()
202 nlmsvc_encode_testres(struct svc_rqst *rqstp, __be32 *p) in nlmsvc_encode_testres() argument
204 struct nlm_res *resp = rqstp->rq_resp; in nlmsvc_encode_testres()
208 return xdr_ressize_check(rqstp, p); in nlmsvc_encode_testres()
212 nlmsvc_decode_lockargs(struct svc_rqst *rqstp, __be32 *p) in nlmsvc_decode_lockargs() argument
214 struct nlm_args *argp = rqstp->rq_argp; in nlmsvc_decode_lockargs()
229 return xdr_argsize_check(rqstp, p); in nlmsvc_decode_lockargs()
233 nlmsvc_decode_cancargs(struct svc_rqst *rqstp, __be32 *p) in nlmsvc_decode_cancargs() argument
[all …]
/fs/nfs/
Dcallback.c79 struct svc_rqst *rqstp = vrqstp; in nfs4_callback_svc() local
90 err = svc_recv(rqstp, MAX_SCHEDULE_TIMEOUT); in nfs4_callback_svc()
93 svc_process(rqstp); in nfs4_callback_svc()
95 svc_exit_thread(rqstp); in nfs4_callback_svc()
107 struct svc_rqst *rqstp = vrqstp; in nfs41_callback_svc() local
108 struct svc_serv *serv = rqstp->rq_server; in nfs41_callback_svc()
129 error = bc_svc_process(serv, req, rqstp); in nfs41_callback_svc()
139 svc_exit_thread(rqstp); in nfs41_callback_svc()
382 check_gss_callback_principal(struct nfs_client *clp, struct svc_rqst *rqstp) in check_gss_callback_principal() argument
384 char *p = rqstp->rq_cred.cr_principal; in check_gss_callback_principal()
[all …]
Dcallback_xdr.c60 static __be32 nfs4_callback_null(struct svc_rqst *rqstp) in nfs4_callback_null() argument
65 static int nfs4_decode_void(struct svc_rqst *rqstp, __be32 *p) in nfs4_decode_void() argument
67 return xdr_argsize_check(rqstp, p); in nfs4_decode_void()
70 static int nfs4_encode_void(struct svc_rqst *rqstp, __be32 *p) in nfs4_encode_void() argument
72 return xdr_ressize_check(rqstp, p); in nfs4_encode_void()
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
[all …]
Dnfs42xdr.c573 static int nfs4_xdr_dec_allocate(struct rpc_rqst *rqstp, in nfs4_xdr_dec_allocate() argument
584 status = decode_sequence(xdr, &res->seq_res, rqstp); in nfs4_xdr_dec_allocate()
601 static int nfs4_xdr_dec_copy(struct rpc_rqst *rqstp, in nfs4_xdr_dec_copy() argument
612 status = decode_sequence(xdr, &res->seq_res, rqstp); in nfs4_xdr_dec_copy()
636 static int nfs4_xdr_dec_offload_cancel(struct rpc_rqst *rqstp, in nfs4_xdr_dec_offload_cancel() argument
647 status = decode_sequence(xdr, &res->osr_seq_res, rqstp); in nfs4_xdr_dec_offload_cancel()
662 static int nfs4_xdr_dec_deallocate(struct rpc_rqst *rqstp, in nfs4_xdr_dec_deallocate() argument
673 status = decode_sequence(xdr, &res->seq_res, rqstp); in nfs4_xdr_dec_deallocate()
690 static int nfs4_xdr_dec_seek(struct rpc_rqst *rqstp, in nfs4_xdr_dec_seek() argument
701 status = decode_sequence(xdr, &res->seq_res, rqstp); in nfs4_xdr_dec_seek()
[all …]

123