Searched refs:svc_rqst (Results 1 - 65 of 65) sorted by relevance

/linux-4.4.14/include/linux/lockd/
H A Dxdr4.h26 int nlm4svc_decode_testargs(struct svc_rqst *, __be32 *, struct nlm_args *);
27 int nlm4svc_encode_testres(struct svc_rqst *, __be32 *, struct nlm_res *);
28 int nlm4svc_decode_lockargs(struct svc_rqst *, __be32 *, struct nlm_args *);
29 int nlm4svc_decode_cancargs(struct svc_rqst *, __be32 *, struct nlm_args *);
30 int nlm4svc_decode_unlockargs(struct svc_rqst *, __be32 *, struct nlm_args *);
31 int nlm4svc_encode_res(struct svc_rqst *, __be32 *, struct nlm_res *);
32 int nlm4svc_decode_res(struct svc_rqst *, __be32 *, struct nlm_res *);
33 int nlm4svc_encode_void(struct svc_rqst *, __be32 *, void *);
34 int nlm4svc_decode_void(struct svc_rqst *, __be32 *, void *);
35 int nlm4svc_decode_shareargs(struct svc_rqst *, __be32 *, struct nlm_args *);
36 int nlm4svc_encode_shareres(struct svc_rqst *, __be32 *, struct nlm_res *);
37 int nlm4svc_decode_notify(struct svc_rqst *, __be32 *, struct nlm_args *);
38 int nlm4svc_decode_reboot(struct svc_rqst *, __be32 *, struct nlm_reboot *);
H A Dxdr.h23 struct svc_rqst;
98 int nlmsvc_decode_testargs(struct svc_rqst *, __be32 *, struct nlm_args *);
99 int nlmsvc_encode_testres(struct svc_rqst *, __be32 *, struct nlm_res *);
100 int nlmsvc_decode_lockargs(struct svc_rqst *, __be32 *, struct nlm_args *);
101 int nlmsvc_decode_cancargs(struct svc_rqst *, __be32 *, struct nlm_args *);
102 int nlmsvc_decode_unlockargs(struct svc_rqst *, __be32 *, struct nlm_args *);
103 int nlmsvc_encode_res(struct svc_rqst *, __be32 *, struct nlm_res *);
104 int nlmsvc_decode_res(struct svc_rqst *, __be32 *, struct nlm_res *);
105 int nlmsvc_encode_void(struct svc_rqst *, __be32 *, void *);
106 int nlmsvc_decode_void(struct svc_rqst *, __be32 *, void *);
107 int nlmsvc_decode_shareargs(struct svc_rqst *, __be32 *, struct nlm_args *);
108 int nlmsvc_encode_shareres(struct svc_rqst *, __be32 *, struct nlm_res *);
109 int nlmsvc_decode_notify(struct svc_rqst *, __be32 *, struct nlm_args *);
110 int nlmsvc_decode_reboot(struct svc_rqst *, __be32 *, struct nlm_reboot *);
H A Dbind.h20 struct svc_rqst;
26 __be32 (*fopen)(struct svc_rqst *,
H A Dlockd.h230 struct nlm_host *nlmsvc_lookup_host(const struct svc_rqst *rqstp,
266 __be32 nlmsvc_lock(struct svc_rqst *, struct nlm_file *,
270 __be32 nlmsvc_testlock(struct svc_rqst *, struct nlm_file *,
283 __be32 nlm_lookup_file(struct svc_rqst *, struct nlm_file **,
337 static inline int nlm_privileged_requester(const struct svc_rqst *rqstp) nlm_privileged_requester()
/linux-4.4.14/fs/nfsd/
H A Dxdr.h134 int nfssvc_decode_void(struct svc_rqst *, __be32 *, void *);
135 int nfssvc_decode_fhandle(struct svc_rqst *, __be32 *, struct nfsd_fhandle *);
136 int nfssvc_decode_sattrargs(struct svc_rqst *, __be32 *,
138 int nfssvc_decode_diropargs(struct svc_rqst *, __be32 *,
140 int nfssvc_decode_readargs(struct svc_rqst *, __be32 *,
142 int nfssvc_decode_writeargs(struct svc_rqst *, __be32 *,
144 int nfssvc_decode_createargs(struct svc_rqst *, __be32 *,
146 int nfssvc_decode_renameargs(struct svc_rqst *, __be32 *,
148 int nfssvc_decode_readlinkargs(struct svc_rqst *, __be32 *,
150 int nfssvc_decode_linkargs(struct svc_rqst *, __be32 *,
152 int nfssvc_decode_symlinkargs(struct svc_rqst *, __be32 *,
154 int nfssvc_decode_readdirargs(struct svc_rqst *, __be32 *,
156 int nfssvc_encode_void(struct svc_rqst *, __be32 *, void *);
157 int nfssvc_encode_attrstat(struct svc_rqst *, __be32 *, struct nfsd_attrstat *);
158 int nfssvc_encode_diropres(struct svc_rqst *, __be32 *, struct nfsd_diropres *);
159 int nfssvc_encode_readlinkres(struct svc_rqst *, __be32 *, struct nfsd_readlinkres *);
160 int nfssvc_encode_readres(struct svc_rqst *, __be32 *, struct nfsd_readres *);
161 int nfssvc_encode_statfsres(struct svc_rqst *, __be32 *, struct nfsd_statfsres *);
162 int nfssvc_encode_readdirres(struct svc_rqst *, __be32 *, struct nfsd_readdirres *);
167 int nfssvc_release_fhandle(struct svc_rqst *, __be32 *, struct nfsd_fhandle *);
170 __be32 *nfs2svc_encode_fattr(struct svc_rqst *rqstp, __be32 *p, struct svc_fh *fhp, struct kstat *stat);
H A Dxdr3.h188 struct svc_rqst * rqstp;
272 int nfs3svc_decode_fhandle(struct svc_rqst *, __be32 *, struct nfsd_fhandle *);
273 int nfs3svc_decode_sattrargs(struct svc_rqst *, __be32 *,
275 int nfs3svc_decode_diropargs(struct svc_rqst *, __be32 *,
277 int nfs3svc_decode_accessargs(struct svc_rqst *, __be32 *,
279 int nfs3svc_decode_readargs(struct svc_rqst *, __be32 *,
281 int nfs3svc_decode_writeargs(struct svc_rqst *, __be32 *,
283 int nfs3svc_decode_createargs(struct svc_rqst *, __be32 *,
285 int nfs3svc_decode_mkdirargs(struct svc_rqst *, __be32 *,
287 int nfs3svc_decode_mknodargs(struct svc_rqst *, __be32 *,
289 int nfs3svc_decode_renameargs(struct svc_rqst *, __be32 *,
291 int nfs3svc_decode_readlinkargs(struct svc_rqst *, __be32 *,
293 int nfs3svc_decode_linkargs(struct svc_rqst *, __be32 *,
295 int nfs3svc_decode_symlinkargs(struct svc_rqst *, __be32 *,
297 int nfs3svc_decode_readdirargs(struct svc_rqst *, __be32 *,
299 int nfs3svc_decode_readdirplusargs(struct svc_rqst *, __be32 *,
301 int nfs3svc_decode_commitargs(struct svc_rqst *, __be32 *,
303 int nfs3svc_encode_voidres(struct svc_rqst *, __be32 *, void *);
304 int nfs3svc_encode_attrstat(struct svc_rqst *, __be32 *,
306 int nfs3svc_encode_wccstat(struct svc_rqst *, __be32 *,
308 int nfs3svc_encode_diropres(struct svc_rqst *, __be32 *,
310 int nfs3svc_encode_accessres(struct svc_rqst *, __be32 *,
312 int nfs3svc_encode_readlinkres(struct svc_rqst *, __be32 *,
314 int nfs3svc_encode_readres(struct svc_rqst *, __be32 *, struct nfsd3_readres *);
315 int nfs3svc_encode_writeres(struct svc_rqst *, __be32 *, struct nfsd3_writeres *);
316 int nfs3svc_encode_createres(struct svc_rqst *, __be32 *,
318 int nfs3svc_encode_renameres(struct svc_rqst *, __be32 *,
320 int nfs3svc_encode_linkres(struct svc_rqst *, __be32 *,
322 int nfs3svc_encode_readdirres(struct svc_rqst *, __be32 *,
324 int nfs3svc_encode_fsstatres(struct svc_rqst *, __be32 *,
326 int nfs3svc_encode_fsinfores(struct svc_rqst *, __be32 *,
328 int nfs3svc_encode_pathconfres(struct svc_rqst *, __be32 *,
330 int nfs3svc_encode_commitres(struct svc_rqst *, __be32 *,
333 int nfs3svc_release_fhandle(struct svc_rqst *, __be32 *,
335 int nfs3svc_release_fhandle2(struct svc_rqst *, __be32 *,
344 __be32 *nfs3svc_encode_post_op_attr(struct svc_rqst *rqstp, __be32 *p,
H A Dvfs.h44 int nfsd_cross_mnt(struct svc_rqst *rqstp, struct dentry **dpp,
46 __be32 nfsd_lookup(struct svc_rqst *, struct svc_fh *,
48 __be32 nfsd_lookup_dentry(struct svc_rqst *, struct svc_fh *,
51 __be32 nfsd_setattr(struct svc_rqst *, struct svc_fh *,
55 __be32 nfsd4_set_nfs4_label(struct svc_rqst *, struct svc_fh *,
57 __be32 nfsd4_vfs_fallocate(struct svc_rqst *, struct svc_fh *,
60 __be32 nfsd_create(struct svc_rqst *, struct svc_fh *,
64 __be32 nfsd_access(struct svc_rqst *, struct svc_fh *, u32 *, u32 *);
65 __be32 do_nfsd_create(struct svc_rqst *, struct svc_fh *,
69 __be32 nfsd_commit(struct svc_rqst *, struct svc_fh *,
72 __be32 nfsd_open(struct svc_rqst *, struct svc_fh *, umode_t,
75 __be32 nfsd_splice_read(struct svc_rqst *,
79 __be32 nfsd_read(struct svc_rqst *, struct svc_fh *,
81 __be32 nfsd_write(struct svc_rqst *, struct svc_fh *,struct file *,
83 __be32 nfsd_vfs_write(struct svc_rqst *rqstp, struct svc_fh *fhp,
87 __be32 nfsd_readlink(struct svc_rqst *, struct svc_fh *,
89 __be32 nfsd_symlink(struct svc_rqst *, struct svc_fh *,
92 __be32 nfsd_link(struct svc_rqst *, struct svc_fh *,
94 __be32 nfsd_rename(struct svc_rqst *,
97 __be32 nfsd_unlink(struct svc_rqst *, struct svc_fh *, int type,
99 __be32 nfsd_readdir(struct svc_rqst *, struct svc_fh *,
101 __be32 nfsd_statfs(struct svc_rqst *, struct svc_fh *,
104 __be32 nfsd_permission(struct svc_rqst *, struct svc_export *,
H A Dauth.h14 int nfsd_setuser(struct svc_rqst *, struct svc_export *);
H A Dexport.h13 struct svc_rqst;
83 int nfsexp_flags(struct svc_rqst *rqstp, struct svc_export *exp);
84 __be32 check_nfsd_access(struct svc_export *exp, struct svc_rqst *rqstp);
92 struct svc_export * rqst_exp_get_by_name(struct svc_rqst *,
94 struct svc_export * rqst_exp_parent(struct svc_rqst *,
96 struct svc_export * rqst_find_fsidzero_export(struct svc_rqst *);
99 __be32 exp_pseudoroot(struct svc_rqst *, struct svc_fh *);
112 struct svc_export * rqst_exp_find(struct svc_rqst *, int, u32 *);
H A Dnfs2acl.c22 nfsacld_proc_null(struct svc_rqst *rqstp, void *argp, void *resp) nfsacld_proc_null()
30 static __be32 nfsacld_proc_getacl(struct svc_rqst * rqstp, nfsacld_proc_getacl()
90 static __be32 nfsacld_proc_setacl(struct svc_rqst * rqstp, nfsacld_proc_setacl()
144 static __be32 nfsacld_proc_getattr(struct svc_rqst * rqstp, nfsacld_proc_getattr()
161 static __be32 nfsacld_proc_access(struct svc_rqst *rqstp, struct nfsd3_accessargs *argp, nfsacld_proc_access()
182 static int nfsaclsvc_decode_getaclargs(struct svc_rqst *rqstp, __be32 *p, nfsaclsvc_decode_getaclargs()
194 static int nfsaclsvc_decode_setaclargs(struct svc_rqst *rqstp, __be32 *p, nfsaclsvc_decode_setaclargs()
220 static int nfsaclsvc_decode_fhandleargs(struct svc_rqst *rqstp, __be32 *p, nfsaclsvc_decode_fhandleargs()
229 static int nfsaclsvc_decode_accessargs(struct svc_rqst *rqstp, __be32 *p, nfsaclsvc_decode_accessargs()
248 static int nfsaclsvc_encode_voidres(struct svc_rqst *rqstp, __be32 *p, void *dummy) nfsaclsvc_encode_voidres()
254 static int nfsaclsvc_encode_getaclres(struct svc_rqst *rqstp, __be32 *p, nfsaclsvc_encode_getaclres()
299 static int nfsaclsvc_encode_attrstatres(struct svc_rqst *rqstp, __be32 *p, nfsaclsvc_encode_attrstatres()
307 static int nfsaclsvc_encode_accessres(struct svc_rqst *rqstp, __be32 *p, nfsaclsvc_encode_accessres()
318 static int nfsaclsvc_release_getacl(struct svc_rqst *rqstp, __be32 *p, nfsaclsvc_release_getacl()
327 static int nfsaclsvc_release_attrstat(struct svc_rqst *rqstp, __be32 *p, nfsaclsvc_release_attrstat()
334 static int nfsaclsvc_release_access(struct svc_rqst *rqstp, __be32 *p, nfsaclsvc_release_access()
H A Dxdr4.h278 struct svc_rqst *rd_rqstp; /* response */
288 struct svc_rqst *rd_rqstp; /* response */
301 struct svc_rqst *rl_rqstp; /* request */
583 struct svc_rqst *rqstp;
597 struct svc_rqst * rqstp;
618 static inline bool nfsd4_last_compound_op(struct svc_rqst *rqstp) nfsd4_last_compound_op()
626 int nfsd4_max_reply(struct svc_rqst *rqstp, struct nfsd4_op *op);
647 int nfs4svc_encode_voidres(struct svc_rqst *, __be32 *, void *);
648 int nfs4svc_decode_compoundargs(struct svc_rqst *, __be32 *,
650 int nfs4svc_encode_compoundres(struct svc_rqst *, __be32 *,
658 u32 *bmval, struct svc_rqst *, int ignore_crossmnt);
659 extern __be32 nfsd4_setclientid(struct svc_rqst *rqstp,
662 extern __be32 nfsd4_setclientid_confirm(struct svc_rqst *rqstp,
665 extern __be32 nfsd4_exchange_id(struct svc_rqst *rqstp,
667 extern __be32 nfsd4_backchannel_ctl(struct svc_rqst *, struct nfsd4_compound_state *, struct nfsd4_backchannel_ctl *);
668 extern __be32 nfsd4_bind_conn_to_session(struct svc_rqst *, struct nfsd4_compound_state *, struct nfsd4_bind_conn_to_session *);
669 extern __be32 nfsd4_create_session(struct svc_rqst *,
672 extern __be32 nfsd4_sequence(struct svc_rqst *,
676 extern __be32 nfsd4_destroy_session(struct svc_rqst *,
679 extern __be32 nfsd4_destroy_clientid(struct svc_rqst *, struct nfsd4_compound_state *, struct nfsd4_destroy_clientid *);
680 __be32 nfsd4_reclaim_complete(struct svc_rqst *, struct nfsd4_compound_state *, struct nfsd4_reclaim_complete *);
683 extern __be32 nfsd4_process_open2(struct svc_rqst *rqstp,
688 extern __be32 nfsd4_open_confirm(struct svc_rqst *rqstp,
690 extern __be32 nfsd4_close(struct svc_rqst *rqstp,
693 extern __be32 nfsd4_open_downgrade(struct svc_rqst *rqstp,
696 extern __be32 nfsd4_lock(struct svc_rqst *rqstp, struct nfsd4_compound_state *,
698 extern __be32 nfsd4_lockt(struct svc_rqst *rqstp,
701 extern __be32 nfsd4_locku(struct svc_rqst *rqstp,
705 nfsd4_release_lockowner(struct svc_rqst *rqstp,
709 extern __be32 nfsd4_delegreturn(struct svc_rqst *rqstp,
711 extern __be32 nfsd4_renew(struct svc_rqst *rqstp,
713 extern __be32 nfsd4_test_stateid(struct svc_rqst *rqstp,
715 extern __be32 nfsd4_free_stateid(struct svc_rqst *rqstp,
H A Dnfsxdr.c144 encode_fattr(struct svc_rqst *rqstp, __be32 *p, struct svc_fh *fhp, encode_fattr()
200 __be32 *nfs2svc_encode_fattr(struct svc_rqst *rqstp, __be32 *p, struct svc_fh *fhp, struct kstat *stat) nfs2svc_encode_fattr()
209 nfssvc_decode_void(struct svc_rqst *rqstp, __be32 *p, void *dummy) nfssvc_decode_void()
215 nfssvc_decode_fhandle(struct svc_rqst *rqstp, __be32 *p, struct nfsd_fhandle *args) nfssvc_decode_fhandle()
224 nfssvc_decode_sattrargs(struct svc_rqst *rqstp, __be32 *p, nfssvc_decode_sattrargs()
236 nfssvc_decode_diropargs(struct svc_rqst *rqstp, __be32 *p, nfssvc_decode_diropargs()
247 nfssvc_decode_readargs(struct svc_rqst *rqstp, __be32 *p, nfssvc_decode_readargs()
279 nfssvc_decode_writeargs(struct svc_rqst *rqstp, __be32 *p, nfssvc_decode_writeargs()
333 nfssvc_decode_createargs(struct svc_rqst *rqstp, __be32 *p, nfssvc_decode_createargs()
345 nfssvc_decode_renameargs(struct svc_rqst *rqstp, __be32 *p, nfssvc_decode_renameargs()
358 nfssvc_decode_readlinkargs(struct svc_rqst *rqstp, __be32 *p, struct nfsd_readlinkargs *args) nfssvc_decode_readlinkargs()
369 nfssvc_decode_linkargs(struct svc_rqst *rqstp, __be32 *p, nfssvc_decode_linkargs()
381 nfssvc_decode_symlinkargs(struct svc_rqst *rqstp, __be32 *p, nfssvc_decode_symlinkargs()
394 nfssvc_decode_readdirargs(struct svc_rqst *rqstp, __be32 *p, nfssvc_decode_readdirargs()
412 nfssvc_encode_void(struct svc_rqst *rqstp, __be32 *p, void *dummy) nfssvc_encode_void()
418 nfssvc_encode_attrstat(struct svc_rqst *rqstp, __be32 *p, nfssvc_encode_attrstat()
426 nfssvc_encode_diropres(struct svc_rqst *rqstp, __be32 *p, nfssvc_encode_diropres()
435 nfssvc_encode_readlinkres(struct svc_rqst *rqstp, __be32 *p, nfssvc_encode_readlinkres()
451 nfssvc_encode_readres(struct svc_rqst *rqstp, __be32 *p, nfssvc_encode_readres()
470 nfssvc_encode_readdirres(struct svc_rqst *rqstp, __be32 *p, nfssvc_encode_readdirres()
483 nfssvc_encode_statfsres(struct svc_rqst *rqstp, __be32 *p, nfssvc_encode_statfsres()
545 nfssvc_release_fhandle(struct svc_rqst *rqstp, __be32 *p, nfssvc_release_fhandle()
H A Didmap.h55 __be32 nfsd_map_name_to_uid(struct svc_rqst *, const char *, size_t, kuid_t *);
56 __be32 nfsd_map_name_to_gid(struct svc_rqst *, const char *, size_t, kgid_t *);
57 __be32 nfsd4_encode_user(struct xdr_stream *, struct svc_rqst *, kuid_t);
58 __be32 nfsd4_encode_group(struct xdr_stream *, struct svc_rqst *, kgid_t);
H A Dpnfs.h40 __be32 nfsd4_preprocess_layout_stateid(struct svc_rqst *rqstp,
45 __be32 nfsd4_return_file_layouts(struct svc_rqst *rqstp,
48 __be32 nfsd4_return_client_layouts(struct svc_rqst *rqstp,
H A Dnfs4proc.c94 check_attr_support(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, check_attr_support()
130 nfsd4_check_open_attributes(struct svc_rqst *rqstp, nfsd4_check_open_attributes()
162 do_set_nfs4_acl(struct svc_rqst *rqstp, struct svc_fh *fhp, do_set_nfs4_acl()
188 do_open_permission(struct svc_rqst *rqstp, struct svc_fh *current_fh, struct nfsd4_open *open, int accmode) do_open_permission()
237 do_open_lookup(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, struct nfsd4_open *open, struct svc_fh **resfh) do_open_lookup()
316 do_open_fhandle(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, struct nfsd4_open *open) do_open_fhandle()
360 nfsd4_open(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, nfsd4_open()
482 static __be32 nfsd4_open_omfg(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, struct nfsd4_op *op) nfsd4_open_omfg()
498 nfsd4_getfh(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, nfsd4_getfh()
509 nfsd4_putfh(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, nfsd4_putfh()
520 nfsd4_putrootfh(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, nfsd4_putrootfh()
531 nfsd4_restorefh(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, nfsd4_restorefh()
546 nfsd4_savefh(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, nfsd4_savefh()
564 nfsd4_access(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, nfsd4_access()
590 nfsd4_commit(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, nfsd4_commit()
599 nfsd4_create(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, nfsd4_create()
687 nfsd4_getattr(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, nfsd4_getattr()
708 nfsd4_link(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, nfsd4_link()
722 static __be32 nfsd4_do_lookupp(struct svc_rqst *rqstp, struct svc_fh *fh) nfsd4_do_lookupp()
740 nfsd4_lookupp(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, nfsd4_lookupp()
747 nfsd4_lookup(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, nfsd4_lookup()
756 nfsd4_read(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, nfsd4_read()
791 nfsd4_readdir(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, nfsd4_readdir()
816 nfsd4_readlink(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, nfsd4_readlink()
825 nfsd4_remove(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, nfsd4_remove()
842 nfsd4_rename(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, nfsd4_rename()
863 nfsd4_secinfo(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, nfsd4_secinfo()
894 nfsd4_secinfo_no_name(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, nfsd4_secinfo_no_name()
917 nfsd4_setattr(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, nfsd4_setattr()
977 nfsd4_write(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, nfsd4_write()
1014 nfsd4_fallocate(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, nfsd4_fallocate()
1037 nfsd4_allocate(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, nfsd4_allocate()
1044 nfsd4_deallocate(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, nfsd4_deallocate()
1052 nfsd4_seek(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, nfsd4_seek()
1100 _nfsd4_verify(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, _nfsd4_verify()
1158 nfsd4_nverify(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, nfsd4_nverify()
1168 nfsd4_verify(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, nfsd4_verify()
1196 nfsd4_getdeviceinfo(struct svc_rqst *rqstp, nfsd4_getdeviceinfo()
1240 nfsd4_layoutget(struct svc_rqst *rqstp, nfsd4_layoutget()
1320 nfsd4_layoutcommit(struct svc_rqst *rqstp, nfsd4_layoutcommit()
1384 nfsd4_layoutreturn(struct svc_rqst *rqstp, nfsd4_layoutreturn()
1434 nfsd4_proc_null(struct svc_rqst *rqstp, void *argp, void *resp) nfsd4_proc_null()
1445 typedef __be32(*nfsd4op_func)(struct svc_rqst *, struct nfsd4_compound_state *,
1447 typedef u32(*nfsd4op_rsize)(struct svc_rqst *, struct nfsd4_op *op);
1540 static bool need_wrongsec_check(struct svc_rqst *rqstp) need_wrongsec_check()
1574 static void svcxdr_init_encode(struct svc_rqst *rqstp, svcxdr_init_encode()
1597 nfsd4_proc_compound(struct svc_rqst *rqstp, nfsd4_proc_compound()
1757 static inline u32 nfsd4_only_status_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) nfsd4_only_status_rsize()
1762 static inline u32 nfsd4_status_stateid_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) nfsd4_status_stateid_rsize()
1767 static inline u32 nfsd4_commit_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) nfsd4_commit_rsize()
1772 static inline u32 nfsd4_create_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) nfsd4_create_rsize()
1783 static inline u32 nfsd4_getattr_rsize(struct svc_rqst *rqstp, nfsd4_getattr_rsize()
1821 static inline u32 nfsd4_link_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) nfsd4_link_rsize()
1827 static inline u32 nfsd4_lock_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) nfsd4_lock_rsize()
1833 static inline u32 nfsd4_open_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) nfsd4_open_rsize()
1841 static inline u32 nfsd4_read_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) nfsd4_read_rsize()
1851 static inline u32 nfsd4_readdir_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) nfsd4_readdir_rsize()
1862 static inline u32 nfsd4_remove_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) nfsd4_remove_rsize()
1868 static inline u32 nfsd4_rename_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) nfsd4_rename_rsize()
1874 static inline u32 nfsd4_sequence_rsize(struct svc_rqst *rqstp, nfsd4_sequence_rsize()
1881 static inline u32 nfsd4_setattr_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) nfsd4_setattr_rsize()
1886 static inline u32 nfsd4_setclientid_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) nfsd4_setclientid_rsize()
1892 static inline u32 nfsd4_write_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) nfsd4_write_rsize()
1897 static inline u32 nfsd4_exchange_id_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) nfsd4_exchange_id_rsize()
1911 static inline u32 nfsd4_bind_conn_to_session_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) nfsd4_bind_conn_to_session_rsize()
1918 static inline u32 nfsd4_create_session_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) nfsd4_create_session_rsize()
1933 static inline u32 nfsd4_layoutget_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) nfsd4_layoutget_rsize()
1942 static inline u32 nfsd4_layoutcommit_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) nfsd4_layoutcommit_rsize()
1949 static inline u32 nfsd4_layoutreturn_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) nfsd4_layoutreturn_rsize()
2289 int nfsd4_max_reply(struct svc_rqst *rqstp, struct nfsd4_op *op) nfsd4_max_reply()
H A Dnfs3xdr.c164 encode_fattr3(struct svc_rqst *rqstp, __be32 *p, struct svc_fh *fhp, encode_fattr3()
190 encode_saved_post_attr(struct svc_rqst *rqstp, __be32 *p, struct svc_fh *fhp) encode_saved_post_attr()
203 encode_post_op_attr(struct svc_rqst *rqstp, __be32 *p, struct svc_fh *fhp) encode_post_op_attr()
223 nfs3svc_encode_post_op_attr(struct svc_rqst *rqstp, __be32 *p, struct svc_fh *fhp) nfs3svc_encode_post_op_attr()
232 encode_wcc_data(struct svc_rqst *rqstp, __be32 *p, struct svc_fh *fhp) encode_wcc_data()
276 nfs3svc_decode_fhandle(struct svc_rqst *rqstp, __be32 *p, struct nfsd_fhandle *args) nfs3svc_decode_fhandle()
285 nfs3svc_decode_sattrargs(struct svc_rqst *rqstp, __be32 *p, nfs3svc_decode_sattrargs()
303 nfs3svc_decode_diropargs(struct svc_rqst *rqstp, __be32 *p, nfs3svc_decode_diropargs()
314 nfs3svc_decode_accessargs(struct svc_rqst *rqstp, __be32 *p, nfs3svc_decode_accessargs()
326 nfs3svc_decode_readargs(struct svc_rqst *rqstp, __be32 *p, nfs3svc_decode_readargs()
356 nfs3svc_decode_writeargs(struct svc_rqst *rqstp, __be32 *p, nfs3svc_decode_writeargs()
413 nfs3svc_decode_createargs(struct svc_rqst *rqstp, __be32 *p, nfs3svc_decode_createargs()
436 nfs3svc_decode_mkdirargs(struct svc_rqst *rqstp, __be32 *p, nfs3svc_decode_mkdirargs()
448 nfs3svc_decode_symlinkargs(struct svc_rqst *rqstp, __be32 *p, nfs3svc_decode_symlinkargs()
498 nfs3svc_decode_mknodargs(struct svc_rqst *rqstp, __be32 *p, nfs3svc_decode_mknodargs()
520 nfs3svc_decode_renameargs(struct svc_rqst *rqstp, __be32 *p, nfs3svc_decode_renameargs()
533 nfs3svc_decode_readlinkargs(struct svc_rqst *rqstp, __be32 *p, nfs3svc_decode_readlinkargs()
545 nfs3svc_decode_linkargs(struct svc_rqst *rqstp, __be32 *p, nfs3svc_decode_linkargs()
557 nfs3svc_decode_readdirargs(struct svc_rqst *rqstp, __be32 *p, nfs3svc_decode_readdirargs()
574 nfs3svc_decode_readdirplusargs(struct svc_rqst *rqstp, __be32 *p, nfs3svc_decode_readdirplusargs()
600 nfs3svc_decode_commitargs(struct svc_rqst *rqstp, __be32 *p, nfs3svc_decode_commitargs()
620 nfs3svc_encode_voidres(struct svc_rqst *rqstp, __be32 *p, void *dummy) nfs3svc_encode_voidres()
627 nfs3svc_encode_attrstat(struct svc_rqst *rqstp, __be32 *p, nfs3svc_encode_attrstat()
640 nfs3svc_encode_wccstat(struct svc_rqst *rqstp, __be32 *p, nfs3svc_encode_wccstat()
649 nfs3svc_encode_diropres(struct svc_rqst *rqstp, __be32 *p, nfs3svc_encode_diropres()
662 nfs3svc_encode_accessres(struct svc_rqst *rqstp, __be32 *p, nfs3svc_encode_accessres()
673 nfs3svc_encode_readlinkres(struct svc_rqst *rqstp, __be32 *p, nfs3svc_encode_readlinkres()
694 nfs3svc_encode_readres(struct svc_rqst *rqstp, __be32 *p, nfs3svc_encode_readres()
718 nfs3svc_encode_writeres(struct svc_rqst *rqstp, __be32 *p, nfs3svc_encode_writeres()
735 nfs3svc_encode_createres(struct svc_rqst *rqstp, __be32 *p, nfs3svc_encode_createres()
749 nfs3svc_encode_renameres(struct svc_rqst *rqstp, __be32 *p, nfs3svc_encode_renameres()
759 nfs3svc_encode_linkres(struct svc_rqst *rqstp, __be32 *p, nfs3svc_encode_linkres()
769 nfs3svc_encode_readdirres(struct svc_rqst *rqstp, __be32 *p, nfs3svc_encode_readdirres()
1019 nfs3svc_encode_fsstatres(struct svc_rqst *rqstp, __be32 *p, nfs3svc_encode_fsstatres()
1041 nfs3svc_encode_fsinfores(struct svc_rqst *rqstp, __be32 *p, nfs3svc_encode_fsinfores()
1065 nfs3svc_encode_pathconfres(struct svc_rqst *rqstp, __be32 *p, nfs3svc_encode_pathconfres()
1084 nfs3svc_encode_commitres(struct svc_rqst *rqstp, __be32 *p, nfs3svc_encode_commitres()
1102 nfs3svc_release_fhandle(struct svc_rqst *rqstp, __be32 *p, nfs3svc_release_fhandle()
1110 nfs3svc_release_fhandle2(struct svc_rqst *rqstp, __be32 *p, nfs3svc_release_fhandle2()
H A Dacl.h40 struct svc_rqst;
54 int nfsd4_get_nfs4_acl(struct svc_rqst *rqstp, struct dentry *dentry,
56 __be32 nfsd4_set_nfs4_acl(struct svc_rqst *rqstp, struct svc_fh *fhp,
H A Dnfs3proc.c34 nfsd3_proc_null(struct svc_rqst *rqstp, void *argp, void *resp) nfsd3_proc_null()
43 nfsd3_proc_getattr(struct svc_rqst *rqstp, struct nfsd_fhandle *argp, nfsd3_proc_getattr()
66 nfsd3_proc_setattr(struct svc_rqst *rqstp, struct nfsd3_sattrargs *argp, nfsd3_proc_setattr()
84 nfsd3_proc_lookup(struct svc_rqst *rqstp, struct nfsd3_diropargs *argp, nfsd3_proc_lookup()
108 nfsd3_proc_access(struct svc_rqst *rqstp, struct nfsd3_accessargs *argp, nfsd3_proc_access()
127 nfsd3_proc_readlink(struct svc_rqst *rqstp, struct nfsd3_readlinkargs *argp, nfsd3_proc_readlink()
145 nfsd3_proc_read(struct svc_rqst *rqstp, struct nfsd3_readargs *argp, nfsd3_proc_read()
181 nfsd3_proc_write(struct svc_rqst *rqstp, struct nfsd3_writeargs *argp, nfsd3_proc_write()
210 nfsd3_proc_create(struct svc_rqst *rqstp, struct nfsd3_createargs *argp, nfsd3_proc_create()
247 nfsd3_proc_mkdir(struct svc_rqst *rqstp, struct nfsd3_createargs *argp, nfsd3_proc_mkdir()
267 nfsd3_proc_symlink(struct svc_rqst *rqstp, struct nfsd3_symlinkargs *argp, nfsd3_proc_symlink()
288 nfsd3_proc_mknod(struct svc_rqst *rqstp, struct nfsd3_mknodargs *argp, nfsd3_proc_mknod()
325 nfsd3_proc_remove(struct svc_rqst *rqstp, struct nfsd3_diropargs *argp, nfsd3_proc_remove()
346 nfsd3_proc_rmdir(struct svc_rqst *rqstp, struct nfsd3_diropargs *argp, nfsd3_proc_rmdir()
363 nfsd3_proc_rename(struct svc_rqst *rqstp, struct nfsd3_renameargs *argp, nfsd3_proc_rename()
385 nfsd3_proc_link(struct svc_rqst *rqstp, struct nfsd3_linkargs *argp, nfsd3_proc_link()
408 nfsd3_proc_readdir(struct svc_rqst *rqstp, struct nfsd3_readdirargs *argp, nfsd3_proc_readdir()
444 nfsd3_proc_readdirplus(struct svc_rqst *rqstp, struct nfsd3_readdirargs *argp, nfsd3_proc_readdirplus()
511 nfsd3_proc_fsstat(struct svc_rqst * rqstp, struct nfsd_fhandle *argp, nfsd3_proc_fsstat()
528 nfsd3_proc_fsinfo(struct svc_rqst * rqstp, struct nfsd_fhandle *argp, nfsd3_proc_fsinfo()
571 nfsd3_proc_pathconf(struct svc_rqst * rqstp, struct nfsd_fhandle *argp, nfsd3_proc_pathconf()
614 nfsd3_proc_commit(struct svc_rqst * rqstp, struct nfsd3_commitargs *argp, nfsd3_proc_commit()
H A Dauth.c7 int nfsexp_flags(struct svc_rqst *rqstp, struct svc_export *exp) nfsexp_flags()
20 int nfsd_setuser(struct svc_rqst *rqstp, struct svc_export *exp) nfsd_setuser()
H A Dcache.h82 int nfsd_cache_lookup(struct svc_rqst *);
83 void nfsd_cache_update(struct svc_rqst *, int, __be32 *);
H A Dnfs3acl.c21 nfsd3_proc_null(struct svc_rqst *rqstp, void *argp, void *resp) nfsd3_proc_null()
29 static __be32 nfsd3_proc_getacl(struct svc_rqst * rqstp, nfsd3_proc_getacl()
83 static __be32 nfsd3_proc_setacl(struct svc_rqst * rqstp, nfsd3_proc_setacl()
128 static int nfs3svc_decode_getaclargs(struct svc_rqst *rqstp, __be32 *p, nfs3svc_decode_getaclargs()
140 static int nfs3svc_decode_setaclargs(struct svc_rqst *rqstp, __be32 *p, nfs3svc_decode_setaclargs()
171 static int nfs3svc_encode_getaclres(struct svc_rqst *rqstp, __be32 *p, nfs3svc_encode_getaclres()
216 static int nfs3svc_encode_setaclres(struct svc_rqst *rqstp, __be32 *p, nfs3svc_encode_setaclres()
227 static int nfs3svc_release_getacl(struct svc_rqst *rqstp, __be32 *p, nfs3svc_release_getacl()
H A Dnfsproc.c13 typedef struct svc_rqst svc_rqst; typedef in typeref:struct:svc_rqst
20 nfsd_proc_null(struct svc_rqst *rqstp, void *argp, void *resp) nfsd_proc_null()
42 nfsd_proc_getattr(struct svc_rqst *rqstp, struct nfsd_fhandle *argp, nfsd_proc_getattr()
59 nfsd_proc_setattr(struct svc_rqst *rqstp, struct nfsd_sattrargs *argp, nfsd_proc_setattr()
127 nfsd_proc_lookup(struct svc_rqst *rqstp, struct nfsd_diropargs *argp, nfsd_proc_lookup()
147 nfsd_proc_readlink(struct svc_rqst *rqstp, struct nfsd_readlinkargs *argp, nfsd_proc_readlink()
167 nfsd_proc_read(struct svc_rqst *rqstp, struct nfsd_readargs *argp, nfsd_proc_read()
205 nfsd_proc_write(struct svc_rqst *rqstp, struct nfsd_writeargs *argp, nfsd_proc_write()
231 nfsd_proc_create(struct svc_rqst *rqstp, struct nfsd_createargs *argp, nfsd_proc_create()
389 nfsd_proc_remove(struct svc_rqst *rqstp, struct nfsd_diropargs *argp, nfsd_proc_remove()
404 nfsd_proc_rename(struct svc_rqst *rqstp, struct nfsd_renameargs *argp, nfsd_proc_rename()
422 nfsd_proc_link(struct svc_rqst *rqstp, struct nfsd_linkargs *argp, nfsd_proc_link()
442 nfsd_proc_symlink(struct svc_rqst *rqstp, struct nfsd_symlinkargs *argp, nfsd_proc_symlink()
472 nfsd_proc_mkdir(struct svc_rqst *rqstp, struct nfsd_createargs *argp, nfsd_proc_mkdir()
496 nfsd_proc_rmdir(struct svc_rqst *rqstp, struct nfsd_diropargs *argp, nfsd_proc_rmdir()
512 nfsd_proc_readdir(struct svc_rqst *rqstp, struct nfsd_readdirargs *argp, nfsd_proc_readdir()
552 nfsd_proc_statfs(struct svc_rqst * rqstp, struct nfsd_fhandle *argp, nfsd_proc_statfs()
H A Dvfs.c83 nfsd_cross_mnt(struct svc_rqst *rqstp, struct dentry **dpp, nfsd_cross_mnt()
142 static int nfsd_lookup_parent(struct svc_rqst *rqstp, struct dentry *dparent, struct svc_export **exp, struct dentry **dentryp) nfsd_lookup_parent()
181 nfsd_lookup_dentry(struct svc_rqst *rqstp, struct svc_fh *fhp, nfsd_lookup_dentry()
252 nfsd_lookup(struct svc_rqst *rqstp, struct svc_fh *fhp, const char *name, nfsd_lookup()
328 nfsd_get_write_access(struct svc_rqst *rqstp, struct svc_fh *fhp, nfsd_get_write_access()
362 nfsd_setattr(struct svc_rqst *rqstp, struct svc_fh *fhp, struct iattr *iap, nfsd_setattr()
475 __be32 nfsd4_set_nfs4_label(struct svc_rqst *rqstp, struct svc_fh *fhp, nfsd4_set_nfs4_label()
494 __be32 nfsd4_set_nfs4_label(struct svc_rqst *rqstp, struct svc_fh *fhp, nfsd4_set_nfs4_label()
501 __be32 nfsd4_vfs_fallocate(struct svc_rqst *rqstp, struct svc_fh *fhp, nfsd4_vfs_fallocate()
562 nfsd_access(struct svc_rqst *rqstp, struct svc_fh *fhp, u32 *access, u32 *supported) nfsd_access()
637 nfsd_open(struct svc_rqst *rqstp, struct svc_fh *fhp, umode_t type, nfsd_open()
783 * Grab and keep cached pages associated with a file in the svc_rqst
791 struct svc_rqst *rqstp = sd->u.data; nfsd_splice_actor()
834 __be32 nfsd_splice_read(struct svc_rqst *rqstp, nfsd_splice_read()
864 nfsd_vfs_read(struct svc_rqst *rqstp, struct file *file, nfsd_vfs_read()
911 nfsd_vfs_write(struct svc_rqst *rqstp, struct svc_fh *fhp, struct file *file, nfsd_vfs_write()
979 __be32 nfsd_read(struct svc_rqst *rqstp, struct svc_fh *fhp, nfsd_read()
1005 nfsd_write(struct svc_rqst *rqstp, struct svc_fh *fhp, struct file *file, nfsd_write()
1043 nfsd_commit(struct svc_rqst *rqstp, struct svc_fh *fhp, nfsd_commit()
1078 nfsd_create_setattr(struct svc_rqst *rqstp, struct svc_fh *resfhp, nfsd_create_setattr()
1122 nfsd_create(struct svc_rqst *rqstp, struct svc_fh *fhp, nfsd_create()
1256 do_nfsd_create(struct svc_rqst *rqstp, struct svc_fh *fhp, do_nfsd_create()
1426 nfsd_readlink(struct svc_rqst *rqstp, struct svc_fh *fhp, char *buf, int *lenp) nfsd_readlink()
1472 nfsd_symlink(struct svc_rqst *rqstp, struct svc_fh *fhp, nfsd_symlink()
1527 nfsd_link(struct svc_rqst *rqstp, struct svc_fh *ffhp, nfsd_link()
1600 nfsd_rename(struct svc_rqst *rqstp, struct svc_fh *ffhp, char *fname, int flen, nfsd_rename()
1696 nfsd_unlink(struct svc_rqst *rqstp, struct svc_fh *fhp, int type, nfsd_unlink()
1877 nfsd_readdir(struct svc_rqst *rqstp, struct svc_fh *fhp, loff_t *offsetp, nfsd_readdir()
1914 nfsd_statfs(struct svc_rqst *rqstp, struct svc_fh *fhp, struct kstatfs *stat, int access) nfsd_statfs()
1930 static int exp_rdonly(struct svc_rqst *rqstp, struct svc_export *exp) exp_rdonly()
1939 nfsd_permission(struct svc_rqst *rqstp, struct svc_export *exp, nfsd_permission()
H A Dnfs4idmap.c491 idmap_lookup(struct svc_rqst *rqstp, idmap_lookup()
514 rqst_authname(struct svc_rqst *rqstp) rqst_authname()
523 idmap_name_to_id(struct svc_rqst *rqstp, int type, const char *name, u32 namelen, idmap_name_to_id()
562 struct svc_rqst *rqstp, int type, u32 id) idmap_id_to_name()
589 numeric_name_to_id(struct svc_rqst *rqstp, int type, const char *name, u32 namelen, u32 *id) numeric_name_to_id()
605 do_name_to_id(struct svc_rqst *rqstp, int type, const char *name, u32 namelen, u32 *id) do_name_to_id()
618 struct svc_rqst *rqstp, int type, u32 id) encode_name_from_id()
626 nfsd_map_name_to_uid(struct svc_rqst *rqstp, const char *name, size_t namelen, nfsd_map_name_to_uid()
639 nfsd_map_name_to_gid(struct svc_rqst *rqstp, const char *name, size_t namelen, nfsd_map_name_to_gid()
651 __be32 nfsd4_encode_user(struct xdr_stream *xdr, struct svc_rqst *rqstp, nfsd4_encode_user()
658 __be32 nfsd4_encode_group(struct xdr_stream *xdr, struct svc_rqst *rqstp, nfsd4_encode_group()
H A Dlockd.c27 nlm_fopen(struct svc_rqst *rqstp, struct nfs_fh *f, struct file **filp) nlm_fopen()
H A Dnfscache.c65 static int nfsd_cache_append(struct svc_rqst *rqstp, struct kvec *vec);
285 nfsd_cache_csum(struct svc_rqst *rqstp) nfsd_cache_csum()
315 nfsd_cache_match(struct svc_rqst *rqstp, __wsum csum, struct svc_cacherep *rp) nfsd_cache_match()
344 nfsd_cache_search(struct nfsd_drc_bucket *b, struct svc_rqst *rqstp, nfsd_cache_search()
381 nfsd_cache_lookup(struct svc_rqst *rqstp) nfsd_cache_lookup()
510 nfsd_cache_update(struct svc_rqst *rqstp, int cachetype, __be32 *statp) nfsd_cache_update()
571 nfsd_cache_append(struct svc_rqst *rqstp, struct kvec *data) nfsd_cache_append()
H A Dnfsfh.c62 nfsd_mode_check(struct svc_rqst *rqstp, umode_t mode, umode_t requested) nfsd_mode_check()
83 static __be32 nfsd_setuser_and_check_port(struct svc_rqst *rqstp, nfsd_setuser_and_check_port()
100 static inline __be32 check_pseudo_root(struct svc_rqst *rqstp, check_pseudo_root()
135 static __be32 nfsd_set_fh_dentry(struct svc_rqst *rqstp, struct svc_fh *fhp) nfsd_set_fh_dentry()
304 fh_verify(struct svc_rqst *rqstp, struct svc_fh *fhp, umode_t type, int access) fh_verify()
H A Dnfs4state.c1489 static struct nfsd4_conn *alloc_conn(struct svc_rqst *rqstp, u32 flags) alloc_conn()
1524 static void nfsd4_init_conn(struct svc_rqst *rqstp, struct nfsd4_conn *conn, struct nfsd4_session *ses) nfsd4_init_conn()
1537 static struct nfsd4_conn *alloc_conn_from_crses(struct svc_rqst *rqstp, struct nfsd4_create_session *cses) alloc_conn_from_crses()
1579 static void init_session(struct svc_rqst *rqstp, struct nfsd4_session *new, struct nfs4_client *clp, struct nfsd4_create_session *cses) init_session()
1950 static bool svc_rqst_integrity_protected(struct svc_rqst *rqstp) svc_rqst_integrity_protected()
1962 static bool mach_creds_match(struct nfs4_client *cl, struct svc_rqst *rqstp) mach_creds_match()
2026 struct svc_rqst *rqstp, nfs4_verifier *verf) create_client()
2178 gen_callback(struct nfs4_client *clp, struct nfsd4_setclientid *se, struct svc_rqst *rqstp) gen_callback()
2346 nfsd4_exchange_id(struct svc_rqst *rqstp, nfsd4_exchange_id()
2604 nfsd4_create_session(struct svc_rqst *rqstp, nfsd4_create_session()
2732 __be32 nfsd4_backchannel_ctl(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, struct nfsd4_backchannel_ctl *bc) nfsd4_backchannel_ctl()
2751 __be32 nfsd4_bind_conn_to_session(struct svc_rqst *rqstp, nfsd4_bind_conn_to_session()
2794 nfsd4_destroy_session(struct svc_rqst *r, nfsd4_destroy_session()
2875 static bool nfsd4_session_too_many_ops(struct svc_rqst *rqstp, struct nfsd4_session *session) nfsd4_session_too_many_ops()
2882 static bool nfsd4_request_too_big(struct svc_rqst *rqstp, nfsd4_request_too_big()
2891 nfsd4_sequence(struct svc_rqst *rqstp, nfsd4_sequence()
3028 nfsd4_destroy_clientid(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, struct nfsd4_destroy_clientid *dc) nfsd4_destroy_clientid()
3069 nfsd4_reclaim_complete(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, struct nfsd4_reclaim_complete *rc) nfsd4_reclaim_complete()
3106 nfsd4_setclientid(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, nfsd4_setclientid()
3164 nfsd4_setclientid_confirm(struct svc_rqst *rqstp, nfsd4_setclientid_confirm()
3900 nfsd4_truncate(struct svc_rqst *rqstp, struct svc_fh *fh, nfsd4_truncate()
3914 static __be32 nfs4_get_vfs_file(struct svc_rqst *rqstp, struct nfs4_file *fp, nfs4_get_vfs_file()
3980 nfs4_upgrade_open(struct svc_rqst *rqstp, struct nfs4_file *fp, struct svc_fh *cur_fh, struct nfs4_ol_stateid *stp, struct nfsd4_open *open) nfs4_upgrade_open()
4267 nfsd4_process_open2(struct svc_rqst *rqstp, struct svc_fh *current_fh, struct nfsd4_open *open) nfsd4_process_open2()
4403 nfsd4_renew(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, nfsd4_renew()
4766 nfs4_check_file(struct svc_rqst *rqstp, struct svc_fh *fhp, struct nfs4_stid *s, nfs4_check_file()
4799 nfs4_preprocess_stateid_op(struct svc_rqst *rqstp, nfs4_preprocess_stateid_op()
4862 nfsd4_test_stateid(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, nfsd4_test_stateid()
4876 nfsd4_free_stateid(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, nfsd4_free_stateid()
5015 nfsd4_open_confirm(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, nfsd4_open_confirm()
5083 nfsd4_open_downgrade(struct svc_rqst *rqstp, nfsd4_open_downgrade()
5153 nfsd4_close(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, nfsd4_close()
5183 nfsd4_delegreturn(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, nfsd4_delegreturn()
5518 nfsd4_lock(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, nfsd4_lock()
5707 static __be32 nfsd_test_lock(struct svc_rqst *rqstp, struct svc_fh *fhp, struct file_lock *lock) nfsd_test_lock()
5722 nfsd4_lockt(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, nfsd4_lockt()
5795 nfsd4_locku(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, nfsd4_locku()
5901 nfsd4_release_lockowner(struct svc_rqst *rqstp, nfsd4_release_lockowner()
H A Dnfs4layouts.c236 nfsd4_preprocess_layout_stateid(struct svc_rqst *rqstp, nfsd4_preprocess_layout_stateid()
460 nfsd4_return_file_layouts(struct svc_rqst *rqstp, nfsd4_return_file_layouts()
503 nfsd4_return_client_layouts(struct svc_rqst *rqstp, nfsd4_return_client_layouts()
H A Dexport.c938 __be32 check_nfsd_access(struct svc_export *exp, struct svc_rqst *rqstp) check_nfsd_access()
970 rqst_exp_get_by_name(struct svc_rqst *rqstp, struct path *path) rqst_exp_get_by_name()
1001 rqst_exp_find(struct svc_rqst *rqstp, int fsid_type, u32 *fsidv) rqst_exp_find()
1034 rqst_exp_parent(struct svc_rqst *rqstp, struct path *path) rqst_exp_parent()
1050 struct svc_export *rqst_find_fsidzero_export(struct svc_rqst *rqstp) rqst_find_fsidzero_export()
1065 exp_pseudoroot(struct svc_rqst *rqstp, struct svc_fh *fhp) exp_pseudoroot()
H A Dnfssvc.c577 struct svc_rqst *rqstp = (struct svc_rqst *) vrqstp; nfsd()
660 nfsd_dispatch(struct svc_rqst *rqstp, __be32 *statp) nfsd_dispatch()
H A Dnfsd.h76 int nfsd_dispatch(struct svc_rqst *rqstp, __be32 *statp);
108 static inline int nfsd_v4client(struct svc_rqst *rq) nfsd_v4client()
H A Dnfsfh.h161 __be32 fh_verify(struct svc_rqst *, struct svc_fh *, umode_t, int);
H A Dnfs4acl.c129 nfsd4_get_nfs4_acl(struct svc_rqst *rqstp, struct dentry *dentry, nfsd4_get_nfs4_acl()
755 nfsd4_set_nfs4_acl(struct svc_rqst *rqstp, struct svc_fh *fhp, nfsd4_set_nfs4_acl()
H A Dnfs4xdr.c2081 struct svc_rqst *rqstp, const struct path *path) nfsd4_encode_fsloc_fsroot()
2098 struct svc_rqst *rqstp, struct svc_export *exp) nfsd4_encode_fs_locations()
2135 nfsd4_encode_aclname(struct xdr_stream *xdr, struct svc_rqst *rqstp, nfsd4_encode_aclname()
2174 nfsd4_encode_security_label(struct xdr_stream *xdr, struct svc_rqst *rqstp, nfsd4_encode_security_label()
2194 nfsd4_encode_security_label(struct xdr_stream *xdr, struct svc_rqst *rqstp, nfsd4_encode_security_label()
2273 struct svc_rqst *rqstp, int ignore_crossmnt) nfsd4_encode_fattr()
2813 struct svc_rqst *rqstp, int ignore_crossmnt) nfsd4_encode_fattr_to_buf()
4334 struct svc_rqst *rqstp = resp->rqstp; nfsd4_encode_operation()
4422 nfs4svc_encode_voidres(struct svc_rqst *rqstp, __be32 *p, void *dummy) nfs4svc_encode_voidres()
4429 struct svc_rqst *rqstp = rq; nfsd4_release_compoundargs()
4447 nfs4svc_decode_compoundargs(struct svc_rqst *rqstp, __be32 *p, struct nfsd4_compoundargs *args) nfs4svc_decode_compoundargs()
4468 nfs4svc_encode_compoundres(struct svc_rqst *rqstp, __be32 *p, struct nfsd4_compoundres *resp) nfs4svc_encode_compoundres()
H A Dstate.h580 extern __be32 nfs4_preprocess_stateid_op(struct svc_rqst *rqstp,
/linux-4.4.14/fs/lockd/
H A Dxdr.c185 nlmsvc_decode_testargs(struct svc_rqst *rqstp, __be32 *p, nlm_args *argp) nlmsvc_decode_testargs()
202 nlmsvc_encode_testres(struct svc_rqst *rqstp, __be32 *p, struct nlm_res *resp) nlmsvc_encode_testres()
210 nlmsvc_decode_lockargs(struct svc_rqst *rqstp, __be32 *p, nlm_args *argp) nlmsvc_decode_lockargs()
230 nlmsvc_decode_cancargs(struct svc_rqst *rqstp, __be32 *p, nlm_args *argp) nlmsvc_decode_cancargs()
246 nlmsvc_decode_unlockargs(struct svc_rqst *rqstp, __be32 *p, nlm_args *argp) nlmsvc_decode_unlockargs()
256 nlmsvc_decode_shareargs(struct svc_rqst *rqstp, __be32 *p, nlm_args *argp) nlmsvc_decode_shareargs()
277 nlmsvc_encode_shareres(struct svc_rqst *rqstp, __be32 *p, struct nlm_res *resp) nlmsvc_encode_shareres()
287 nlmsvc_encode_res(struct svc_rqst *rqstp, __be32 *p, struct nlm_res *resp) nlmsvc_encode_res()
296 nlmsvc_decode_notify(struct svc_rqst *rqstp, __be32 *p, struct nlm_args *argp) nlmsvc_decode_notify()
308 nlmsvc_decode_reboot(struct svc_rqst *rqstp, __be32 *p, struct nlm_reboot *argp) nlmsvc_decode_reboot()
319 nlmsvc_decode_res(struct svc_rqst *rqstp, __be32 *p, struct nlm_res *resp) nlmsvc_decode_res()
328 nlmsvc_decode_void(struct svc_rqst *rqstp, __be32 *p, void *dummy) nlmsvc_decode_void()
334 nlmsvc_encode_void(struct svc_rqst *rqstp, __be32 *p, void *dummy) nlmsvc_encode_void()
H A Dxdr4.c182 nlm4svc_decode_testargs(struct svc_rqst *rqstp, __be32 *p, nlm_args *argp) nlm4svc_decode_testargs()
199 nlm4svc_encode_testres(struct svc_rqst *rqstp, __be32 *p, struct nlm_res *resp) nlm4svc_encode_testres()
207 nlm4svc_decode_lockargs(struct svc_rqst *rqstp, __be32 *p, nlm_args *argp) nlm4svc_decode_lockargs()
227 nlm4svc_decode_cancargs(struct svc_rqst *rqstp, __be32 *p, nlm_args *argp) nlm4svc_decode_cancargs()
243 nlm4svc_decode_unlockargs(struct svc_rqst *rqstp, __be32 *p, nlm_args *argp) nlm4svc_decode_unlockargs()
253 nlm4svc_decode_shareargs(struct svc_rqst *rqstp, __be32 *p, nlm_args *argp) nlm4svc_decode_shareargs()
274 nlm4svc_encode_shareres(struct svc_rqst *rqstp, __be32 *p, struct nlm_res *resp) nlm4svc_encode_shareres()
284 nlm4svc_encode_res(struct svc_rqst *rqstp, __be32 *p, struct nlm_res *resp) nlm4svc_encode_res()
293 nlm4svc_decode_notify(struct svc_rqst *rqstp, __be32 *p, struct nlm_args *argp) nlm4svc_decode_notify()
305 nlm4svc_decode_reboot(struct svc_rqst *rqstp, __be32 *p, struct nlm_reboot *argp) nlm4svc_decode_reboot()
316 nlm4svc_decode_res(struct svc_rqst *rqstp, __be32 *p, struct nlm_res *resp) nlm4svc_decode_res()
325 nlm4svc_decode_void(struct svc_rqst *rqstp, __be32 *p, void *dummy) nlm4svc_decode_void()
331 nlm4svc_encode_void(struct svc_rqst *rqstp, __be32 *p, void *dummy) nlm4svc_encode_void()
H A Dsvc4proc.c22 nlm4svc_retrieve_args(struct svc_rqst *rqstp, struct nlm_args *argp, nlm4svc_retrieve_args()
65 nlm4svc_proc_null(struct svc_rqst *rqstp, void *argp, void *resp) nlm4svc_proc_null()
75 nlm4svc_proc_test(struct svc_rqst *rqstp, struct nlm_args *argp, nlm4svc_proc_test()
102 nlm4svc_proc_lock(struct svc_rqst *rqstp, struct nlm_args *argp, nlm4svc_proc_lock()
144 nlm4svc_proc_cancel(struct svc_rqst *rqstp, struct nlm_args *argp, nlm4svc_proc_cancel()
177 nlm4svc_proc_unlock(struct svc_rqst *rqstp, struct nlm_args *argp, nlm4svc_proc_unlock()
211 nlm4svc_proc_granted(struct svc_rqst *rqstp, struct nlm_args *argp, nlm4svc_proc_granted()
246 static __be32 nlm4svc_callback(struct svc_rqst *rqstp, u32 proc, struct nlm_args *argp, nlm4svc_callback()
247 __be32 (*func)(struct svc_rqst *, struct nlm_args *, struct nlm_res *)) nlm4svc_callback()
276 static __be32 nlm4svc_proc_test_msg(struct svc_rqst *rqstp, struct nlm_args *argp, nlm4svc_proc_test_msg()
283 static __be32 nlm4svc_proc_lock_msg(struct svc_rqst *rqstp, struct nlm_args *argp, nlm4svc_proc_lock_msg()
290 static __be32 nlm4svc_proc_cancel_msg(struct svc_rqst *rqstp, struct nlm_args *argp, nlm4svc_proc_cancel_msg()
297 static __be32 nlm4svc_proc_unlock_msg(struct svc_rqst *rqstp, struct nlm_args *argp, nlm4svc_proc_unlock_msg()
304 static __be32 nlm4svc_proc_granted_msg(struct svc_rqst *rqstp, struct nlm_args *argp, nlm4svc_proc_granted_msg()
315 nlm4svc_proc_share(struct svc_rqst *rqstp, struct nlm_args *argp, nlm4svc_proc_share()
348 nlm4svc_proc_unshare(struct svc_rqst *rqstp, struct nlm_args *argp, nlm4svc_proc_unshare()
381 nlm4svc_proc_nm_lock(struct svc_rqst *rqstp, struct nlm_args *argp, nlm4svc_proc_nm_lock()
394 nlm4svc_proc_free_all(struct svc_rqst *rqstp, struct nlm_args *argp, nlm4svc_proc_free_all()
412 nlm4svc_proc_sm_notify(struct svc_rqst *rqstp, struct nlm_reboot *argp, nlm4svc_proc_sm_notify()
432 nlm4svc_proc_granted_res(struct svc_rqst *rqstp, struct nlm_res *argp, nlm4svc_proc_granted_res()
H A Dsvcproc.c51 nlmsvc_retrieve_args(struct svc_rqst *rqstp, struct nlm_args *argp, nlmsvc_retrieve_args()
95 nlmsvc_proc_null(struct svc_rqst *rqstp, void *argp, void *resp) nlmsvc_proc_null()
105 nlmsvc_proc_test(struct svc_rqst *rqstp, struct nlm_args *argp, nlmsvc_proc_test()
133 nlmsvc_proc_lock(struct svc_rqst *rqstp, struct nlm_args *argp, nlmsvc_proc_lock()
175 nlmsvc_proc_cancel(struct svc_rqst *rqstp, struct nlm_args *argp, nlmsvc_proc_cancel()
209 nlmsvc_proc_unlock(struct svc_rqst *rqstp, struct nlm_args *argp, nlmsvc_proc_unlock()
244 nlmsvc_proc_granted(struct svc_rqst *rqstp, struct nlm_args *argp, nlmsvc_proc_granted()
287 static __be32 nlmsvc_callback(struct svc_rqst *rqstp, u32 proc, struct nlm_args *argp, nlmsvc_callback()
288 __be32 (*func)(struct svc_rqst *, struct nlm_args *, struct nlm_res *)) nlmsvc_callback()
317 static __be32 nlmsvc_proc_test_msg(struct svc_rqst *rqstp, struct nlm_args *argp, nlmsvc_proc_test_msg()
324 static __be32 nlmsvc_proc_lock_msg(struct svc_rqst *rqstp, struct nlm_args *argp, nlmsvc_proc_lock_msg()
331 static __be32 nlmsvc_proc_cancel_msg(struct svc_rqst *rqstp, struct nlm_args *argp, nlmsvc_proc_cancel_msg()
339 nlmsvc_proc_unlock_msg(struct svc_rqst *rqstp, struct nlm_args *argp, nlmsvc_proc_unlock_msg()
347 nlmsvc_proc_granted_msg(struct svc_rqst *rqstp, struct nlm_args *argp, nlmsvc_proc_granted_msg()
358 nlmsvc_proc_share(struct svc_rqst *rqstp, struct nlm_args *argp, nlmsvc_proc_share()
391 nlmsvc_proc_unshare(struct svc_rqst *rqstp, struct nlm_args *argp, nlmsvc_proc_unshare()
424 nlmsvc_proc_nm_lock(struct svc_rqst *rqstp, struct nlm_args *argp, nlmsvc_proc_nm_lock()
437 nlmsvc_proc_free_all(struct svc_rqst *rqstp, struct nlm_args *argp, nlmsvc_proc_free_all()
455 nlmsvc_proc_sm_notify(struct svc_rqst *rqstp, struct nlm_reboot *argp, nlmsvc_proc_sm_notify()
475 nlmsvc_proc_granted_res(struct svc_rqst *rqstp, struct nlm_res *argp, nlmsvc_proc_granted_res()
H A Dsvc.c53 static struct svc_rqst *nlmsvc_rqst;
131 struct svc_rqst *rqstp = vrqstp; lockd()
296 "lockd_up: svc_rqst allocation failed, error=%d\n", lockd_start_svc()
547 static int lockd_authenticate(struct svc_rqst *rqstp) lockd_authenticate()
H A Dsvclock.c215 nlmsvc_create_block(struct svc_rqst *rqstp, struct nlm_host *host, nlmsvc_create_block()
372 nlmsvc_defer_lock_rqst(struct svc_rqst *rqstp, struct nlm_block *block) nlmsvc_defer_lock_rqst()
398 nlmsvc_lock(struct svc_rqst *rqstp, struct nlm_file *file, nlmsvc_lock()
505 nlmsvc_testlock(struct svc_rqst *rqstp, struct nlm_file *file, nlmsvc_testlock()
H A Dsvcsubs.c83 nlm_lookup_file(struct svc_rqst *rqstp, struct nlm_file **result, nlm_lookup_file()
H A Dhost.c321 struct nlm_host *nlmsvc_lookup_host(const struct svc_rqst *rqstp, nlmsvc_lookup_host()
/linux-4.4.14/include/linux/sunrpc/
H A Dsvcsock.h55 int svc_recv(struct svc_rqst *, long);
56 int svc_send(struct svc_rqst *);
57 void svc_drop(struct svc_rqst *);
H A Dsvc.h150 extern u32 svc_max_payload(const struct svc_rqst *rqstp);
227 struct svc_rqst { struct
295 #define SVC_NET(svc_rqst) (svc_rqst->rq_xprt->xpt_net)
300 static inline struct sockaddr_in *svc_addr_in(const struct svc_rqst *rqst) svc_addr_in()
305 static inline struct sockaddr_in6 *svc_addr_in6(const struct svc_rqst *rqst) svc_addr_in6()
310 static inline struct sockaddr *svc_addr(const struct svc_rqst *rqst) svc_addr()
315 static inline struct sockaddr_in *svc_daddr_in(const struct svc_rqst *rqst) svc_daddr_in()
320 static inline struct sockaddr_in6 *svc_daddr_in6(const struct svc_rqst *rqst) svc_daddr_in6()
325 static inline struct sockaddr *svc_daddr(const struct svc_rqst *rqst) svc_daddr()
334 xdr_argsize_check(struct svc_rqst *rqstp, __be32 *p) xdr_argsize_check()
343 xdr_ressize_check(struct svc_rqst *rqstp, __be32 *p) xdr_ressize_check()
353 static inline void svc_free_res_pages(struct svc_rqst *rqstp) svc_free_res_pages()
390 int (*pg_authenticate)(struct svc_rqst *);
411 int (*vs_dispatch)(struct svc_rqst *, __be32 *);
417 typedef __be32 (*svc_procfunc)(struct svc_rqst *, void *argp, void *resp);
461 struct svc_rqst *svc_rqst_alloc(struct svc_serv *serv,
463 struct svc_rqst *svc_prepare_thread(struct svc_serv *serv,
465 void svc_rqst_free(struct svc_rqst *);
466 void svc_exit_thread(struct svc_rqst *);
475 int svc_process(struct svc_rqst *);
477 struct svc_rqst *);
482 void svc_reserve(struct svc_rqst *rqstp, int space);
484 char * svc_print_addr(struct svc_rqst *, char *, size_t);
495 static inline void svc_reserve_auth(struct svc_rqst *rqstp, int space) svc_reserve_auth()
H A Dsvcauth.h46 struct svc_rqst; /* forward decl */
112 * Givens a pending request (struct svc_rqst), finds and assigns
119 int (*accept)(struct svc_rqst *rq, __be32 *authp);
120 int (*release)(struct svc_rqst *rq);
122 int (*set_client)(struct svc_rqst *rq);
141 extern int svc_authenticate(struct svc_rqst *rqstp, __be32 *authp);
142 extern int svc_authorise(struct svc_rqst *rqstp);
143 extern int svc_set_client(struct svc_rqst *rqstp);
156 extern int svcauth_unix_set_client(struct svc_rqst *rqstp);
H A Dsvc_rdma.h152 struct svc_rqst *,
185 extern int svc_rdma_xdr_decode_req(struct rpcrdma_msg **, struct svc_rqst *);
200 extern int svc_rdma_recvfrom(struct svc_rqst *);
201 extern int rdma_read_chunk_lcl(struct svcxprt_rdma *, struct svc_rqst *,
204 extern int rdma_read_chunk_frmr(struct svcxprt_rdma *, struct svc_rqst *,
209 extern int svc_rdma_sendto(struct svc_rqst *);
229 extern void svc_rdma_prep_reply_hdr(struct svc_rqst *);
H A Dbc_xprt.h49 static inline int svc_is_backchannel(const struct svc_rqst *rqstp) svc_is_backchannel()
62 static inline int svc_is_backchannel(const struct svc_rqst *rqstp) svc_is_backchannel()
H A Dsvc_xprt.h21 int (*xpo_recvfrom)(struct svc_rqst *);
22 void (*xpo_prep_reply_hdr)(struct svc_rqst *);
23 int (*xpo_sendto)(struct svc_rqst *);
24 void (*xpo_release_rqst)(struct svc_rqst *);
27 int (*xpo_secure_port)(struct svc_rqst *);
122 void svc_xprt_copy_addrs(struct svc_rqst *rqstp, struct svc_xprt *xprt);
H A Dxdr.h37 * (client side) or svc_rqst pointer (server side).
/linux-4.4.14/fs/nfs/
H A Dcallback.c34 struct svc_rqst *rqst;
76 struct svc_rqst *rqstp = vrqstp; nfs4_callback_svc()
95 static struct svc_rqst * nfs4_callback_up()
108 struct svc_rqst *rqstp = vrqstp; nfs41_callback_svc()
145 static struct svc_rqst * nfs41_callback_up()
148 struct svc_rqst *rqstp; nfs41_callback_up()
159 struct svc_rqst **rqstpp, int (**callback_svc)(void *vrqstp)) nfs_minorversion_callback_svc_setup()
177 struct svc_rqst **rqstpp, int (**callback_svc)(void *vrqstp)) nfs_minorversion_callback_svc_setup()
192 struct svc_rqst *rqstp; nfs_callback_start_svc()
394 check_gss_callback_principal(struct nfs_client *clp, struct svc_rqst *rqstp) check_gss_callback_principal()
442 static int nfs_callback_authenticate(struct svc_rqst *rqstp) nfs_callback_authenticate()
H A Dcallback_xdr.c47 typedef __be32 (*callback_decode_arg_t)(struct svc_rqst *, struct xdr_stream *, void *);
48 typedef __be32 (*callback_encode_res_t)(struct svc_rqst *, struct xdr_stream *, void *);
60 static __be32 nfs4_callback_null(struct svc_rqst *rqstp, void *argp, void *resp) nfs4_callback_null()
65 static int nfs4_decode_void(struct svc_rqst *rqstp, __be32 *p, void *dummy) nfs4_decode_void()
70 static int nfs4_encode_void(struct svc_rqst *rqstp, __be32 *p, void *dummy) nfs4_encode_void()
196 static __be32 decode_getattr_args(struct svc_rqst *rqstp, struct xdr_stream *xdr, struct cb_getattrargs *args) decode_getattr_args()
209 static __be32 decode_recall_args(struct svc_rqst *rqstp, struct xdr_stream *xdr, struct cb_recallargs *args) decode_recall_args()
231 static __be32 decode_layoutrecall_args(struct svc_rqst *rqstp, decode_layoutrecall_args()
291 __be32 decode_devicenotify_args(struct svc_rqst *rqstp, decode_devicenotify_args()
432 static __be32 decode_cb_sequence_args(struct svc_rqst *rqstp, decode_cb_sequence_args()
494 static __be32 decode_recallany_args(struct svc_rqst *rqstp, decode_recallany_args()
513 static __be32 decode_recallslot_args(struct svc_rqst *rqstp, decode_recallslot_args()
651 static __be32 encode_getattr_res(struct svc_rqst *rqstp, struct xdr_stream *xdr, const struct cb_getattrres *res) encode_getattr_res()
692 static __be32 encode_cb_sequence_res(struct svc_rqst *rqstp, encode_cb_sequence_res()
823 static __be32 process_op(int nop, struct svc_rqst *rqstp, process_op()
887 static __be32 nfs4_callback_compound(struct svc_rqst *rqstp, void *argp, void *resp) nfs4_callback_compound()
H A Dcallback.h182 extern int check_gss_callback_principal(struct nfs_client *, struct svc_rqst *);
/linux-4.4.14/net/sunrpc/
H A Dsvcauth.c37 svc_authenticate(struct svc_rqst *rqstp, __be32 *authp) svc_authenticate()
64 int svc_set_client(struct svc_rqst *rqstp) svc_set_client()
74 int svc_authorise(struct svc_rqst *rqstp) svc_authorise()
H A Dsvc.c547 svc_init_buffer(struct svc_rqst *rqstp, unsigned int size, int node) svc_init_buffer()
576 svc_release_buffer(struct svc_rqst *rqstp) svc_release_buffer()
585 struct svc_rqst * svc_rqst_alloc()
588 struct svc_rqst *rqstp; svc_rqst_alloc()
617 struct svc_rqst * svc_prepare_thread()
620 struct svc_rqst *rqstp; svc_prepare_thread()
672 struct svc_rqst *rqstp; choose_victim()
678 rqstp = list_entry(pool->sp_all_threads.next, struct svc_rqst, rq_all); choose_victim()
705 struct svc_rqst *rqstp; svc_set_num_threads()
766 svc_rqst_free(struct svc_rqst *rqstp) svc_rqst_free()
777 svc_exit_thread(struct svc_rqst *rqstp) svc_exit_thread()
1046 void svc_printk(struct svc_rqst *rqstp, const char *fmt, ...) svc_printk()
1062 static __printf(2,3) void svc_printk(struct svc_rqst *rqstp, const char *fmt, ...) {} svc_printk()
1069 svc_process_common(struct svc_rqst *rqstp, struct kvec *argv, struct kvec *resv) svc_process_common()
1295 svc_process(struct svc_rqst *rqstp) svc_process()
1346 struct svc_rqst *rqstp) bc_svc_process()
1356 /* Build the svc_rqst used by the common processing routine */ bc_svc_process()
1422 u32 svc_max_payload(const struct svc_rqst *rqstp) svc_max_payload()
H A Dsvcsock.c64 static int svc_udp_recvfrom(struct svc_rqst *);
65 static int svc_udp_sendto(struct svc_rqst *);
120 static void svc_release_skb(struct svc_rqst *rqstp) svc_release_skb()
141 static void svc_set_cmsg_data(struct svc_rqst *rqstp, struct cmsghdr *cmh) svc_set_cmsg_data()
234 static int svc_sendto(struct svc_rqst *rqstp, struct xdr_buf *xdr) svc_sendto()
317 static int svc_recvfrom(struct svc_rqst *rqstp, struct kvec *iov, int nr, svc_recvfrom()
343 static int svc_partial_recvfrom(struct svc_rqst *rqstp, svc_partial_recvfrom()
397 static int svc_sock_secure_port(struct svc_rqst *rqstp) svc_sock_secure_port()
507 static int svc_udp_get_dest_address4(struct svc_rqst *rqstp, svc_udp_get_dest_address4()
524 static int svc_udp_get_dest_address6(struct svc_rqst *rqstp, svc_udp_get_dest_address6()
546 static int svc_udp_get_dest_address(struct svc_rqst *rqstp, svc_udp_get_dest_address()
562 static int svc_udp_recvfrom(struct svc_rqst *rqstp) svc_udp_recvfrom()
675 svc_udp_sendto(struct svc_rqst *rqstp) svc_udp_sendto()
687 static void svc_udp_prep_reply_hdr(struct svc_rqst *rqstp) svc_udp_prep_reply_hdr()
937 static unsigned int svc_tcp_restore_pages(struct svc_sock *svsk, struct svc_rqst *rqstp) svc_tcp_restore_pages()
956 static void svc_tcp_save_pages(struct svc_sock *svsk, struct svc_rqst *rqstp) svc_tcp_save_pages()
995 static int svc_tcp_recv_record(struct svc_sock *svsk, struct svc_rqst *rqstp) svc_tcp_recv_record()
1035 static int receive_cb_reply(struct svc_sock *svsk, struct svc_rqst *rqstp) receive_cb_reply()
1107 static int svc_tcp_recvfrom(struct svc_rqst *rqstp) svc_tcp_recvfrom()
1212 static int svc_tcp_sendto(struct svc_rqst *rqstp) svc_tcp_sendto()
1243 static void svc_tcp_prep_reply_hdr(struct svc_rqst *rqstp) svc_tcp_prep_reply_hdr()
H A Dsvc_xprt.c23 static int svc_deferred_recv(struct svc_rqst *rqstp);
286 void svc_xprt_copy_addrs(struct svc_rqst *rqstp, struct svc_xprt *xprt) svc_xprt_copy_addrs()
302 * @rqstp: svc_rqst struct containing address to print
307 char *svc_print_addr(struct svc_rqst *rqstp, char *buf, size_t len) svc_print_addr()
325 struct svc_rqst *rqstp = NULL; svc_xprt_do_enqueue()
455 void svc_reserve(struct svc_rqst *rqstp, int space) svc_reserve()
471 static void svc_xprt_release(struct svc_rqst *rqstp) svc_xprt_release()
510 struct svc_rqst *rqstp; svc_wake_up()
600 static int svc_alloc_arg(struct svc_rqst *rqstp) svc_alloc_arg()
643 rqst_should_sleep(struct svc_rqst *rqstp) rqst_should_sleep()
666 static struct svc_xprt *svc_get_next_xprt(struct svc_rqst *rqstp, long timeout) svc_get_next_xprt()
741 static int svc_handle_xprt(struct svc_rqst *rqstp, struct svc_xprt *xprt) svc_handle_xprt()
791 int svc_recv(struct svc_rqst *rqstp, long timeout) svc_recv()
853 void svc_drop(struct svc_rqst *rqstp) svc_drop()
863 int svc_send(struct svc_rqst *rqstp) svc_send()
1111 struct svc_rqst *rqstp = container_of(req, struct svc_rqst, rq_chandle); svc_defer()
1152 static int svc_deferred_recv(struct svc_rqst *rqstp) svc_deferred_recv()
H A Dsvcauth_unix.c628 static struct group_info *unix_gid_find(kuid_t uid, struct svc_rqst *rqstp) unix_gid_find()
655 svcauth_unix_set_client(struct svc_rqst *rqstp) svcauth_unix_set_client()
725 svcauth_null_accept(struct svc_rqst *rqstp, __be32 *authp) svcauth_null_accept()
765 svcauth_null_release(struct svc_rqst *rqstp) svcauth_null_release()
789 svcauth_unix_accept(struct svc_rqst *rqstp, __be32 *authp) svcauth_unix_accept()
848 svcauth_unix_release(struct svc_rqst *rqstp) svcauth_unix_release()
/linux-4.4.14/include/trace/events/
H A Dsunrpc.h453 TP_PROTO(struct svc_rqst *rqst, int status),
478 TP_PROTO(struct svc_rqst *rqst, int status),
503 TP_PROTO(struct svc_rqst *rqst, int status),
507 TP_PROTO(struct svc_rqst *rqst, int status),
526 TP_PROTO(struct svc_xprt *xprt, struct svc_rqst *rqst),
/linux-4.4.14/net/sunrpc/xprtrdma/
H A Dsvc_rdma_recvfrom.c58 static void rdma_build_arg_xdr(struct svc_rqst *rqstp, rdma_build_arg_xdr()
120 struct svc_rqst *rqstp, rdma_read_chunk_lcl()
213 struct svc_rqst *rqstp, rdma_read_chunk_frmr()
371 rdma_copy_tail(struct svc_rqst *rqstp, struct svc_rdma_op_ctxt *head, rdma_copy_tail()
418 struct svc_rqst *rqstp, rdma_read_chunks()
511 static int rdma_read_complete(struct svc_rqst *rqstp, rdma_read_complete()
575 int svc_rdma_recvfrom(struct svc_rqst *rqstp) svc_rdma_recvfrom()
H A Dsvc_rdma_sendto.c215 static int send_write(struct svcxprt_rdma *xprt, struct svc_rqst *rqstp, send_write()
308 struct svc_rqst *rqstp, send_write_chunks()
373 struct svc_rqst *rqstp, send_reply_chunks()
452 struct svc_rqst *rqstp, send_reply()
565 void svc_rdma_prep_reply_hdr(struct svc_rqst *rqstp) svc_rdma_prep_reply_hdr()
569 int svc_rdma_sendto(struct svc_rqst *rqstp) svc_rdma_sendto()
H A Dsvc_rdma_transport.c65 static void svc_rdma_release_rqst(struct svc_rqst *);
70 static int svc_rdma_secure_port(struct svc_rqst *);
1133 static void svc_rdma_release_rqst(struct svc_rqst *rqstp) svc_rdma_release_rqst()
1252 static int svc_rdma_secure_port(struct svc_rqst *rqstp) svc_rdma_secure_port()
H A Dsvc_rdma_marshal.c149 struct svc_rqst *rqstp) svc_rdma_xdr_decode_req()
/linux-4.4.14/net/sunrpc/auth_gss/
H A Dsvcauth_gss.c659 gss_verify_header(struct svc_rqst *rqstp, struct rsc *rsci, gss_verify_header()
705 gss_write_null_verf(struct svc_rqst *rqstp) gss_write_null_verf()
719 gss_write_verf(struct svc_rqst *rqstp, struct gss_ctx *ctx_id, u32 seq) gss_write_verf()
827 unwrap_integ_data(struct svc_rqst *rqstp, struct xdr_buf *buf, u32 seq, struct gss_ctx *ctx) unwrap_integ_data()
886 unwrap_priv_data(struct svc_rqst *rqstp, struct xdr_buf *buf, u32 seq, struct gss_ctx *ctx) unwrap_priv_data()
946 svcauth_gss_set_client(struct svc_rqst *rqstp) svcauth_gss_set_client()
972 gss_write_init_verf(struct cache_detail *cd, struct svc_rqst *rqstp, gss_write_init_verf()
1049 gss_read_proxy_verf(struct svc_rqst *rqstp, gss_read_proxy_verf()
1100 static int svcauth_gss_legacy_init(struct svc_rqst *rqstp, svcauth_gss_legacy_init()
1209 static int svcauth_gss_proxy_init(struct svc_rqst *rqstp, svcauth_gss_proxy_init()
1397 svcauth_gss_accept(struct svc_rqst *rqstp, __be32 *authp) svcauth_gss_accept()
1578 svcauth_gss_wrap_resp_integ(struct svc_rqst *rqstp) svcauth_gss_wrap_resp_integ()
1625 svcauth_gss_wrap_resp_priv(struct svc_rqst *rqstp) svcauth_gss_wrap_resp_priv()
1690 svcauth_gss_release(struct svc_rqst *rqstp) svcauth_gss_release()

Completed in 845 milliseconds