Home
last modified time | relevance | path

Searched refs:svc_rqst (Results 1 – 25 of 46) sorted by relevance

12

/linux/fs/nfsd/
H A Dvfs.h76 int nfsd_cross_mnt(struct svc_rqst *rqstp, struct dentry **dpp,
78 __be32 nfsd_lookup(struct svc_rqst *, struct svc_fh *,
80 __be32 nfsd_lookup_dentry(struct svc_rqst *, struct svc_fh *,
83 __be32 nfsd_setattr(struct svc_rqst *, struct svc_fh *,
87 __be32 nfsd4_vfs_fallocate(struct svc_rqst *, struct svc_fh *,
89 __be32 nfsd4_clone_file_range(struct svc_rqst *rqstp,
94 __be32 nfsd_create_locked(struct svc_rqst *, struct svc_fh *,
97 __be32 nfsd_create(struct svc_rqst *, struct svc_fh *,
100 __be32 nfsd_access(struct svc_rqst *, struct svc_fh *, u32 *, u32 *);
101 __be32 nfsd_create_setattr(struct svc_rqst *rqstp, struct svc_fh *fhp,
[all …]
H A Dxdr3.h183 struct svc_rqst * rqstp;
268 bool nfs3svc_decode_fhandleargs(struct svc_rqst *rqstp, struct xdr_stream *xdr);
269 bool nfs3svc_decode_sattrargs(struct svc_rqst *rqstp, struct xdr_stream *xdr);
270 bool nfs3svc_decode_diropargs(struct svc_rqst *rqstp, struct xdr_stream *xdr);
271 bool nfs3svc_decode_accessargs(struct svc_rqst *rqstp, struct xdr_stream *xdr);
272 bool nfs3svc_decode_readargs(struct svc_rqst *rqstp, struct xdr_stream *xdr);
273 bool nfs3svc_decode_writeargs(struct svc_rqst *rqstp, struct xdr_stream *xdr);
274 bool nfs3svc_decode_createargs(struct svc_rqst *rqstp, struct xdr_stream *xdr);
275 bool nfs3svc_decode_mkdirargs(struct svc_rqst *rqstp, struct xdr_stream *xdr);
276 bool nfs3svc_decode_mknodargs(struct svc_rqst *rqstp, struct xdr_stream *xdr);
[all …]
H A Dxdr.h144 bool nfssvc_decode_fhandleargs(struct svc_rqst *rqstp, struct xdr_stream *xdr);
145 bool nfssvc_decode_sattrargs(struct svc_rqst *rqstp, struct xdr_stream *xdr);
146 bool nfssvc_decode_diropargs(struct svc_rqst *rqstp, struct xdr_stream *xdr);
147 bool nfssvc_decode_readargs(struct svc_rqst *rqstp, struct xdr_stream *xdr);
148 bool nfssvc_decode_writeargs(struct svc_rqst *rqstp, struct xdr_stream *xdr);
149 bool nfssvc_decode_createargs(struct svc_rqst *rqstp, struct xdr_stream *xdr);
150 bool nfssvc_decode_renameargs(struct svc_rqst *rqstp, struct xdr_stream *xdr);
151 bool nfssvc_decode_linkargs(struct svc_rqst *rqstp, struct xdr_stream *xdr);
152 bool nfssvc_decode_symlinkargs(struct svc_rqst *rqstp, struct xdr_stream *xdr);
153 bool nfssvc_decode_readdirargs(struct svc_rqst *rqstp, struct xdr_stream *xdr);
[all …]
H A Dxdr4.h405 struct svc_rqst *op_rqstp;
430 struct svc_rqst *rd_rqstp; /* response */
441 struct svc_rqst *rd_rqstp; /* response */
454 struct svc_rqst *rl_rqstp; /* request */
910 struct svc_rqst *rqstp;
925 struct svc_rqst * rqstp;
935 static inline bool nfsd4_last_compound_op(struct svc_rqst *rqstp) in nfsd4_last_compound_op()
944 int nfsd4_max_reply(struct svc_rqst *rqstp, struct nfsd4_op *op);
949 bool nfsd4_mach_creds_match(struct nfs4_client *cl, struct svc_rqst *rqstp);
950 bool nfs4svc_decode_compoundargs(struct svc_rqst *rqstp, struct xdr_stream *xdr);
[all …]
H A Dexport.h16 struct svc_rqst;
105 __be32 check_xprtsec_policy(struct svc_export *exp, struct svc_rqst *rqstp);
106 __be32 check_security_flavor(struct svc_export *exp, struct svc_rqst *rqstp,
108 __be32 check_nfsd_access(struct svc_export *exp, struct svc_rqst *rqstp,
119 struct svc_export * rqst_exp_get_by_name(struct svc_rqst *,
121 struct svc_export * rqst_exp_parent(struct svc_rqst *,
123 struct svc_export * rqst_find_fsidzero_export(struct svc_rqst *);
126 __be32 exp_pseudoroot(struct svc_rqst *, struct svc_fh *);
H A Dnfs4proc.c152 do_open_permission(struct svc_rqst *rqstp, struct svc_fh *current_fh, struct nfsd4_open *open, int … in do_open_permission()
248 nfsd4_create_file(struct svc_rqst *rqstp, struct svc_fh *fhp, in nfsd4_create_file()
448 do_open_lookup(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, struct nfsd4_open *open… in do_open_lookup()
515 do_open_fhandle(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, struct nfsd4_open *ope… in do_open_fhandle()
556 nfsd4_open(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, in nfsd4_open()
688 static __be32 nfsd4_open_omfg(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, struct n… in nfsd4_open_omfg()
704 nfsd4_getfh(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, in nfsd4_getfh()
712 nfsd4_putfh(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, in nfsd4_putfh()
733 nfsd4_putrootfh(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, in nfsd4_putrootfh()
742 nfsd4_restorefh(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, in nfsd4_restorefh()
[all …]
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 Dnfs3acl.c20 nfsd3_proc_null(struct svc_rqst *rqstp) in nfsd3_proc_null()
28 static __be32 nfsd3_proc_getacl(struct svc_rqst *rqstp) in nfsd3_proc_getacl()
87 static __be32 nfsd3_proc_setacl(struct svc_rqst *rqstp) in nfsd3_proc_setacl()
133 nfs3svc_decode_getaclargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfs3svc_decode_getaclargs()
146 nfs3svc_decode_setaclargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfs3svc_decode_setaclargs()
172 nfs3svc_encode_getaclres(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfs3svc_encode_getaclres()
206 nfs3svc_encode_setaclres(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfs3svc_encode_setaclres()
217 static void nfs3svc_release_getacl(struct svc_rqst *rqstp) in nfs3svc_release_getacl()
H A Dnfs4idmap.c507 idmap_lookup(struct svc_rqst *rqstp, in idmap_lookup()
530 rqst_authname(struct svc_rqst *rqstp) in rqst_authname()
539 idmap_name_to_id(struct svc_rqst *rqstp, int type, const char *name, u32 namelen, in idmap_name_to_id()
578 struct svc_rqst *rqstp, int type, u32 id) in idmap_id_to_name()
610 numeric_name_to_id(struct svc_rqst *rqstp, int type, const char *name, u32 namelen, u32 *id) in numeric_name_to_id()
626 do_name_to_id(struct svc_rqst *rqstp, int type, const char *name, u32 namelen, u32 *id) in do_name_to_id()
639 struct svc_rqst *rqstp, int type, u32 id) in encode_name_from_id()
655 __be32 nfsd_map_name_to_uid(struct svc_rqst *rqstp, const char *name, in nfsd_map_name_to_uid()
692 __be32 nfsd_map_name_to_gid(struct svc_rqst *rqstp, const char *name, in nfsd_map_name_to_gid()
720 __be32 nfsd4_encode_user(struct xdr_stream *xdr, struct svc_rqst *rqstp, in nfsd4_encode_user()
[all …]
H A Dflexfilelayout.c23 nfsd4_ff_proc_layoutget(struct svc_rqst *rqstp, struct inode *inode, in nfsd4_ff_proc_layoutget()
81 nfsd4_ff_proc_getdeviceinfo(struct super_block *sb, struct svc_rqst *rqstp, in nfsd4_ff_proc_getdeviceinfo()
129 nfsd4_ff_proc_layoutcommit(struct inode *inode, struct svc_rqst *rqstp, in nfsd4_ff_proc_layoutcommit()
H A Dcache.h85 int nfsd_cache_lookup(struct svc_rqst *rqstp, unsigned int start,
87 void nfsd_cache_update(struct svc_rqst *rqstp, struct nfsd_cacherep *rp,
H A Dtrace.h60 const struct svc_rqst *rqstp
88 TP_PROTO(const struct svc_rqst *rqstp), \
148 const struct svc_rqst *rqst,
194 const struct svc_rqst *rqstp,
222 const struct svc_rqst *rqstp,
244 const struct svc_rqst *rqstp, \
265 const struct svc_rqst *rqstp,
303 const struct svc_rqst *rqstp,
347 TP_PROTO(struct svc_rqst *rqstp,
368 TP_PROTO(struct svc_rqst *rqstp, \
[all …]
H A Dnfssvc.c46 static __be32 nfsd_acl_init_request(struct svc_rqst *,
55 static __be32 nfsd_init_request(struct svc_rqst *,
589 struct svc_rqst *nfsd_current_rqst(void) in nfsd_current_rqst()
805 nfsd_acl_init_request(struct svc_rqst *rqstp, in nfsd_acl_init_request()
850 nfsd_init_request(struct svc_rqst *rqstp, in nfsd_init_request()
885 struct svc_rqst *rqstp = (struct svc_rqst *) vrqstp; in nfsd()
973 int nfsd_dispatch(struct svc_rqst *rqstp) in nfsd_dispatch()
1061 bool nfssvc_decode_voidarg(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfssvc_decode_voidarg()
1075 bool nfssvc_encode_voidres(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfssvc_encode_voidres()
/linux/include/linux/sunrpc/
H A Dsvcauth.h57 struct svc_rqst; /* forward decl */
145 enum svc_auth_status (*accept)(struct svc_rqst *rqstp);
146 int (*release)(struct svc_rqst *rqstp);
148 enum svc_auth_status (*set_client)(struct svc_rqst *rqstp);
149 rpc_authflavor_t (*pseudoflavor)(struct svc_rqst *rqstp);
154 extern rpc_authflavor_t svc_auth_flavor(struct svc_rqst *rqstp);
155 extern int svc_authorise(struct svc_rqst *rqstp);
156 extern enum svc_auth_status svc_set_client(struct svc_rqst *rqstp);
170 extern enum svc_auth_status svcauth_unix_set_client(struct svc_rqst *rqstp);
H A Dsvc_xprt.h22 int (*xpo_recvfrom)(struct svc_rqst *);
23 int (*xpo_sendto)(struct svc_rqst *);
24 int (*xpo_result_payload)(struct svc_rqst *, unsigned int,
176 void svc_xprt_copy_addrs(struct svc_rqst *rqstp, struct svc_xprt *xprt);
/linux/fs/lockd/
H A Dsvcproc.c65 nlmsvc_retrieve_args(struct svc_rqst *rqstp, struct nlm_args *argp, in nlmsvc_retrieve_args()
127 nlmsvc_proc_null(struct svc_rqst *rqstp) in nlmsvc_proc_null()
137 __nlmsvc_proc_test(struct svc_rqst *rqstp, struct nlm_res *resp) in __nlmsvc_proc_test()
168 nlmsvc_proc_test(struct svc_rqst *rqstp) in nlmsvc_proc_test()
174 __nlmsvc_proc_lock(struct svc_rqst *rqstp, struct nlm_res *resp) in __nlmsvc_proc_lock()
206 nlmsvc_proc_lock(struct svc_rqst *rqstp) in nlmsvc_proc_lock()
212 __nlmsvc_proc_cancel(struct svc_rqst *rqstp, struct nlm_res *resp) in __nlmsvc_proc_cancel()
245 nlmsvc_proc_cancel(struct svc_rqst *rqstp) in nlmsvc_proc_cancel()
254 __nlmsvc_proc_unlock(struct svc_rqst *rqstp, struct nlm_res *resp) in __nlmsvc_proc_unlock()
287 nlmsvc_proc_unlock(struct svc_rqst *rqstp) in nlmsvc_proc_unlock()
[all …]
H A Dsvc4proc.c128 nlm4svc_lookup_host(struct svc_rqst *rqstp, string caller, bool monitored) in nlm4svc_lookup_host()
145 nlm4svc_lookup_file(struct svc_rqst *rqstp, struct nlm_host *host, in nlm4svc_lookup_file()
213 nlm4svc_proc_null(struct svc_rqst *rqstp) in nlm4svc_proc_null()
247 static __be32 nlm4svc_proc_test(struct svc_rqst *rqstp) in nlm4svc_proc_test()
296 nlm4svc_do_lock(struct svc_rqst *rqstp, bool monitored) in nlm4svc_do_lock()
374 nlm4svc_proc_lock(struct svc_rqst *rqstp) in nlm4svc_proc_lock()
406 nlm4svc_proc_cancel(struct svc_rqst *rqstp) in nlm4svc_proc_cancel()
469 nlm4svc_proc_unlock(struct svc_rqst *rqstp) in nlm4svc_proc_unlock()
524 nlm4svc_proc_granted(struct svc_rqst *rqstp) in nlm4svc_proc_granted()
565 nlm4svc_callback(struct svc_rqst *rqstp, struct nlm_host *host, u32 proc, in nlm4svc_callback()
[all …]
H A Dlockd.h278 struct nlm_host *nlmsvc_lookup_host(const struct svc_rqst *rqstp,
315 __be32 nlmsvc_lock(struct svc_rqst *, struct nlm_file *,
319 __be32 nlmsvc_testlock(struct svc_rqst *rqstp, struct nlm_file *file,
323 void nlmsvc_retry_blocked(struct svc_rqst *rqstp);
329 int nlmsvc_dispatch(struct svc_rqst *rqstp);
334 __be32 nlm_lookup_file(struct svc_rqst *, struct nlm_file **,
396 static inline int nlm_privileged_requester(const struct svc_rqst *rqstp) in nlm_privileged_requester()
/linux/net/sunrpc/
H A Dsvc.c637 svc_init_buffer(struct svc_rqst *rqstp, const struct svc_serv *serv, int node) in svc_init_buffer()
667 svc_release_buffer(struct svc_rqst *rqstp) in svc_rqst_free()
687 svc_rqst_free(struct svc_rqst *rqstp) in svc_prepare_thread()
700 static struct svc_rqst * in svc_prepare_thread()
703 struct svc_rqst *rqstp; in svc_prepare_thread()
763 struct svc_rqst *rqstp;
769 rqstp = llist_entry(ln, struct svc_rqst, rq_idle);
798 struct svc_rqst *rqstp; in svc_new_thread()
959 * @rqstp: svc_rqst with pages to replace in svc_rqst_replace_page()
969 bool svc_rqst_replace_page(struct svc_rqst *rqst
[all...]
H A Dsvc_xprt.c31 static int svc_deferred_recv(struct svc_rqst *rqstp);
382 void svc_xprt_copy_addrs(struct svc_rqst *rqstp, struct svc_xprt *xprt) in svc_xprt_copy_addrs()
398 * @rqstp: svc_rqst struct containing address to print
403 char *svc_print_addr(struct svc_rqst *rqstp, char *buf, size_t len) in svc_print_addr()
417 static bool svc_xprt_reserve_slot(struct svc_rqst *rqstp, struct svc_xprt *xprt) in svc_xprt_reserve_slot()
428 static void svc_xprt_release_slot(struct svc_rqst *rqstp) in svc_xprt_release_slot()
521 void svc_reserve(struct svc_rqst *rqstp, int space) in svc_reserve()
545 static void svc_xprt_release(struct svc_rqst *rqstp) in svc_xprt_release()
653 static bool svc_fill_pages(struct svc_rqst *rqstp, struct page **pages, in svc_alloc_arg()
675 static bool svc_alloc_arg(struct svc_rqst *rqst in svc_alloc_arg()
[all...]
H A Dsunrpc.h40 struct svc_rqst;
45 enum svc_auth_status svc_authenticate(struct svc_rqst *rqstp);
H A Dsvcauth.c76 enum svc_auth_status svc_authenticate(struct svc_rqst *rqstp) in svc_authenticate()
113 enum svc_auth_status svc_set_client(struct svc_rqst *rqstp) in svc_set_client()
126 int svc_authorise(struct svc_rqst *rqstp) in svc_authorise()
169 rpc_authflavor_t svc_auth_flavor(struct svc_rqst *rqstp) in svc_auth_flavor()
H A Dsvcsock.c91 static int svc_udp_recvfrom(struct svc_rqst *);
92 static int svc_udp_sendto(struct svc_rqst *);
167 static void svc_set_cmsg_data(struct svc_rqst *rqstp, struct cmsghdr *cmh) in svc_set_cmsg_data()
198 static int svc_sock_result_payload(struct svc_rqst *rqstp, unsigned int offset, in svc_sock_result_payload()
339 static ssize_t svc_tcp_read_msg(struct svc_rqst *rqstp, size_t buflen, in svc_tcp_read_msg()
390 static void svc_sock_secure_port(struct svc_rqst *rqstp) in svc_sock_setbufsize()
536 static int svc_udp_get_dest_address4(struct svc_rqst *rqstp,
553 static int svc_udp_get_dest_address6(struct svc_rqst *rqstp,
575 static int svc_udp_get_dest_address(struct svc_rqst *rqstp,
598 static int svc_udp_recvfrom(struct svc_rqst *rqst
[all...]
/linux/fs/nfs/
H A Dcallback_xdr.c52 __be32 (*decode_args)(struct svc_rqst *, struct xdr_stream *, void *);
53 __be32 (*encode_res)(struct svc_rqst *, struct xdr_stream *,
60 static __be32 nfs4_callback_null(struct svc_rqst *rqstp) in nfs4_callback_null()
69 static bool nfs4_encode_void(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfs4_encode_void()
176 static __be32 decode_getattr_args(struct svc_rqst *rqstp, in decode_getattr_args()
188 static __be32 decode_recall_args(struct svc_rqst *rqstp, in decode_recall_args()
211 static __be32 decode_layoutrecall_args(struct svc_rqst *rqstp, in decode_layoutrecall_args()
255 __be32 decode_devicenotify_args(struct svc_rqst *rqstp, in decode_devicenotify_args()
395 static __be32 decode_cb_sequence_args(struct svc_rqst *rqstp, in decode_cb_sequence_args()
442 static __be32 decode_recallany_args(struct svc_rqst *rqstp, in decode_recallany_args()
[all …]
/linux/include/trace/events/
H A Drpcgss.h177 const struct svc_rqst *rqstp,
204 const struct svc_rqst *rqstp, \
216 const struct svc_rqst *rqstp
236 const struct svc_rqst *rqstp
256 const struct svc_rqst *rqstp,
284 const struct svc_rqst *rqstp,
315 const struct svc_rqst *rqstp,
491 const struct svc_rqst *rqstp,
514 const struct svc_rqst *rqstp, \
524 const struct svc_rqst *rqstp,

12