/linux-4.1.27/fs/nfsd/ |
D | xdr3.h | 188 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 *, [all …]
|
D | vfs.h | 44 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 *, [all …]
|
D | xdr.h | 134 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 *, [all …]
|
D | xdr4.h | 277 struct svc_rqst *rd_rqstp; /* response */ 287 struct svc_rqst *rd_rqstp; /* response */ 300 struct svc_rqst *rl_rqstp; /* request */ 582 struct svc_rqst *rqstp; 596 struct svc_rqst * rqstp; 617 static inline bool nfsd4_last_compound_op(struct svc_rqst *rqstp) in nfsd4_last_compound_op() 625 int nfsd4_max_reply(struct svc_rqst *rqstp, struct nfsd4_op *op); 646 int nfs4svc_encode_voidres(struct svc_rqst *, __be32 *, void *); 647 int nfs4svc_decode_compoundargs(struct svc_rqst *, __be32 *, 649 int nfs4svc_encode_compoundres(struct svc_rqst *, __be32 *, [all …]
|
D | export.h | 12 struct svc_rqst; 82 int nfsexp_flags(struct svc_rqst *rqstp, struct svc_export *exp); 83 __be32 check_nfsd_access(struct svc_export *exp, struct svc_rqst *rqstp); 91 struct svc_export * rqst_exp_get_by_name(struct svc_rqst *, 93 struct svc_export * rqst_exp_parent(struct svc_rqst *, 95 struct svc_export * rqst_find_fsidzero_export(struct svc_rqst *); 98 __be32 exp_pseudoroot(struct svc_rqst *, struct svc_fh *); 111 struct svc_export * rqst_exp_find(struct svc_rqst *, int, u32 *);
|
D | nfs2acl.c | 22 nfsacld_proc_null(struct svc_rqst *rqstp, void *argp, void *resp) in nfsacld_proc_null() 30 static __be32 nfsacld_proc_getacl(struct svc_rqst * rqstp, in nfsacld_proc_getacl() 90 static __be32 nfsacld_proc_setacl(struct svc_rqst * rqstp, in nfsacld_proc_setacl() 144 static __be32 nfsacld_proc_getattr(struct svc_rqst * rqstp, in nfsacld_proc_getattr() 161 static __be32 nfsacld_proc_access(struct svc_rqst *rqstp, struct nfsd3_accessargs *argp, in nfsacld_proc_access() 182 static int nfsaclsvc_decode_getaclargs(struct svc_rqst *rqstp, __be32 *p, in nfsaclsvc_decode_getaclargs() 194 static int nfsaclsvc_decode_setaclargs(struct svc_rqst *rqstp, __be32 *p, in nfsaclsvc_decode_setaclargs() 220 static int nfsaclsvc_decode_fhandleargs(struct svc_rqst *rqstp, __be32 *p, in nfsaclsvc_decode_fhandleargs() 229 static int nfsaclsvc_decode_accessargs(struct svc_rqst *rqstp, __be32 *p, in nfsaclsvc_decode_accessargs() 248 static int nfsaclsvc_encode_voidres(struct svc_rqst *rqstp, __be32 *p, void *dummy) in nfsaclsvc_encode_voidres() [all …]
|
D | nfs4proc.c | 94 check_attr_support(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, in check_attr_support() 130 nfsd4_check_open_attributes(struct svc_rqst *rqstp, in nfsd4_check_open_attributes() 162 do_set_nfs4_acl(struct svc_rqst *rqstp, struct svc_fh *fhp, in do_set_nfs4_acl() 188 do_open_permission(struct svc_rqst *rqstp, struct svc_fh *current_fh, struct nfsd4_open *open, int … in do_open_permission() 237 do_open_lookup(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, struct nfsd4_open *open… in do_open_lookup() 316 do_open_fhandle(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, struct nfsd4_open *ope… in do_open_fhandle() 360 nfsd4_open(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, in nfsd4_open() 484 static __be32 nfsd4_open_omfg(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, struct n… in nfsd4_open_omfg() 500 nfsd4_getfh(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, in nfsd4_getfh() 511 nfsd4_putfh(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, in nfsd4_putfh() [all …]
|
D | nfsxdr.c | 144 encode_fattr(struct svc_rqst *rqstp, __be32 *p, struct svc_fh *fhp, in encode_fattr() 200 __be32 *nfs2svc_encode_fattr(struct svc_rqst *rqstp, __be32 *p, struct svc_fh *fhp, struct kstat *s… in nfs2svc_encode_fattr() 209 nfssvc_decode_void(struct svc_rqst *rqstp, __be32 *p, void *dummy) in nfssvc_decode_void() 215 nfssvc_decode_fhandle(struct svc_rqst *rqstp, __be32 *p, struct nfsd_fhandle *args) in nfssvc_decode_fhandle() 224 nfssvc_decode_sattrargs(struct svc_rqst *rqstp, __be32 *p, in nfssvc_decode_sattrargs() 236 nfssvc_decode_diropargs(struct svc_rqst *rqstp, __be32 *p, in nfssvc_decode_diropargs() 247 nfssvc_decode_readargs(struct svc_rqst *rqstp, __be32 *p, in nfssvc_decode_readargs() 279 nfssvc_decode_writeargs(struct svc_rqst *rqstp, __be32 *p, in nfssvc_decode_writeargs() 333 nfssvc_decode_createargs(struct svc_rqst *rqstp, __be32 *p, in nfssvc_decode_createargs() 345 nfssvc_decode_renameargs(struct svc_rqst *rqstp, __be32 *p, in nfssvc_decode_renameargs() [all …]
|
D | idmap.h | 57 __be32 nfsd_map_name_to_uid(struct svc_rqst *, const char *, size_t, kuid_t *); 58 __be32 nfsd_map_name_to_gid(struct svc_rqst *, const char *, size_t, kgid_t *); 59 __be32 nfsd4_encode_user(struct xdr_stream *, struct svc_rqst *, kuid_t); 60 __be32 nfsd4_encode_group(struct xdr_stream *, struct svc_rqst *, kgid_t);
|
D | nfs3xdr.c | 164 encode_fattr3(struct svc_rqst *rqstp, __be32 *p, struct svc_fh *fhp, in encode_fattr3() 190 encode_saved_post_attr(struct svc_rqst *rqstp, __be32 *p, struct svc_fh *fhp) in encode_saved_post_attr() 203 encode_post_op_attr(struct svc_rqst *rqstp, __be32 *p, struct svc_fh *fhp) in encode_post_op_attr() 223 nfs3svc_encode_post_op_attr(struct svc_rqst *rqstp, __be32 *p, struct svc_fh *fhp) in nfs3svc_encode_post_op_attr() 232 encode_wcc_data(struct svc_rqst *rqstp, __be32 *p, struct svc_fh *fhp) in encode_wcc_data() 276 nfs3svc_decode_fhandle(struct svc_rqst *rqstp, __be32 *p, struct nfsd_fhandle *args) in nfs3svc_decode_fhandle() 285 nfs3svc_decode_sattrargs(struct svc_rqst *rqstp, __be32 *p, in nfs3svc_decode_sattrargs() 303 nfs3svc_decode_diropargs(struct svc_rqst *rqstp, __be32 *p, in nfs3svc_decode_diropargs() 314 nfs3svc_decode_accessargs(struct svc_rqst *rqstp, __be32 *p, in nfs3svc_decode_accessargs() 326 nfs3svc_decode_readargs(struct svc_rqst *rqstp, __be32 *p, in nfs3svc_decode_readargs() [all …]
|
D | acl.h | 40 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,
|
D | nfsproc.c | 13 typedef struct svc_rqst svc_rqst; typedef 20 nfsd_proc_null(struct svc_rqst *rqstp, void *argp, void *resp) in nfsd_proc_null() 42 nfsd_proc_getattr(struct svc_rqst *rqstp, struct nfsd_fhandle *argp, in nfsd_proc_getattr() 59 nfsd_proc_setattr(struct svc_rqst *rqstp, struct nfsd_sattrargs *argp, in nfsd_proc_setattr() 79 nfsd_proc_lookup(struct svc_rqst *rqstp, struct nfsd_diropargs *argp, in nfsd_proc_lookup() 99 nfsd_proc_readlink(struct svc_rqst *rqstp, struct nfsd_readlinkargs *argp, in nfsd_proc_readlink() 119 nfsd_proc_read(struct svc_rqst *rqstp, struct nfsd_readargs *argp, in nfsd_proc_read() 157 nfsd_proc_write(struct svc_rqst *rqstp, struct nfsd_writeargs *argp, in nfsd_proc_write() 183 nfsd_proc_create(struct svc_rqst *rqstp, struct nfsd_createargs *argp, in nfsd_proc_create() 341 nfsd_proc_remove(struct svc_rqst *rqstp, struct nfsd_diropargs *argp, in nfsd_proc_remove() [all …]
|
D | nfs3acl.c | 21 nfsd3_proc_null(struct svc_rqst *rqstp, void *argp, void *resp) in nfsd3_proc_null() 29 static __be32 nfsd3_proc_getacl(struct svc_rqst * rqstp, in nfsd3_proc_getacl() 83 static __be32 nfsd3_proc_setacl(struct svc_rqst * rqstp, in nfsd3_proc_setacl() 128 static int nfs3svc_decode_getaclargs(struct svc_rqst *rqstp, __be32 *p, in nfs3svc_decode_getaclargs() 140 static int nfs3svc_decode_setaclargs(struct svc_rqst *rqstp, __be32 *p, in nfs3svc_decode_setaclargs() 171 static int nfs3svc_encode_getaclres(struct svc_rqst *rqstp, __be32 *p, in nfs3svc_encode_getaclres() 216 static int nfs3svc_encode_setaclres(struct svc_rqst *rqstp, __be32 *p, in nfs3svc_encode_setaclres() 227 static int nfs3svc_release_getacl(struct svc_rqst *rqstp, __be32 *p, in nfs3svc_release_getacl()
|
D | nfs3proc.c | 34 nfsd3_proc_null(struct svc_rqst *rqstp, void *argp, void *resp) in nfsd3_proc_null() 43 nfsd3_proc_getattr(struct svc_rqst *rqstp, struct nfsd_fhandle *argp, in nfsd3_proc_getattr() 66 nfsd3_proc_setattr(struct svc_rqst *rqstp, struct nfsd3_sattrargs *argp, in nfsd3_proc_setattr() 84 nfsd3_proc_lookup(struct svc_rqst *rqstp, struct nfsd3_diropargs *argp, in nfsd3_proc_lookup() 108 nfsd3_proc_access(struct svc_rqst *rqstp, struct nfsd3_accessargs *argp, in nfsd3_proc_access() 127 nfsd3_proc_readlink(struct svc_rqst *rqstp, struct nfsd3_readlinkargs *argp, in nfsd3_proc_readlink() 145 nfsd3_proc_read(struct svc_rqst *rqstp, struct nfsd3_readargs *argp, in nfsd3_proc_read() 181 nfsd3_proc_write(struct svc_rqst *rqstp, struct nfsd3_writeargs *argp, in nfsd3_proc_write() 210 nfsd3_proc_create(struct svc_rqst *rqstp, struct nfsd3_createargs *argp, in nfsd3_proc_create() 247 nfsd3_proc_mkdir(struct svc_rqst *rqstp, struct nfsd3_createargs *argp, in nfsd3_proc_mkdir() [all …]
|
D | pnfs.h | 40 __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,
|
D | vfs.c | 83 nfsd_cross_mnt(struct svc_rqst *rqstp, struct dentry **dpp, in nfsd_cross_mnt() 142 static int nfsd_lookup_parent(struct svc_rqst *rqstp, struct dentry *dparent, struct svc_export **e… in nfsd_lookup_parent() 181 nfsd_lookup_dentry(struct svc_rqst *rqstp, struct svc_fh *fhp, in nfsd_lookup_dentry() 252 nfsd_lookup(struct svc_rqst *rqstp, struct svc_fh *fhp, const char *name, in nfsd_lookup() 364 nfsd_get_write_access(struct svc_rqst *rqstp, struct svc_fh *fhp, in nfsd_get_write_access() 398 nfsd_setattr(struct svc_rqst *rqstp, struct svc_fh *fhp, struct iattr *iap, in nfsd_setattr() 511 __be32 nfsd4_set_nfs4_label(struct svc_rqst *rqstp, struct svc_fh *fhp, in nfsd4_set_nfs4_label() 530 __be32 nfsd4_set_nfs4_label(struct svc_rqst *rqstp, struct svc_fh *fhp, in nfsd4_set_nfs4_label() 537 __be32 nfsd4_vfs_fallocate(struct svc_rqst *rqstp, struct svc_fh *fhp, in nfsd4_vfs_fallocate() 603 nfsd_access(struct svc_rqst *rqstp, struct svc_fh *fhp, u32 *access, u32 *supported) in nfsd_access() [all …]
|
D | nfs4idmap.c | 494 idmap_lookup(struct svc_rqst *rqstp, in idmap_lookup() 517 rqst_authname(struct svc_rqst *rqstp) in rqst_authname() 526 idmap_name_to_id(struct svc_rqst *rqstp, int type, const char *name, u32 namelen, in idmap_name_to_id() 565 struct svc_rqst *rqstp, int type, u32 id) in idmap_id_to_name() 592 numeric_name_to_id(struct svc_rqst *rqstp, int type, const char *name, u32 namelen, u32 *id) in numeric_name_to_id() 608 do_name_to_id(struct svc_rqst *rqstp, int type, const char *name, u32 namelen, u32 *id) in do_name_to_id() 621 struct svc_rqst *rqstp, int type, u32 id) in encode_name_from_id() 629 nfsd_map_name_to_uid(struct svc_rqst *rqstp, const char *name, size_t namelen, in nfsd_map_name_to_uid() 642 nfsd_map_name_to_gid(struct svc_rqst *rqstp, const char *name, size_t namelen, in nfsd_map_name_to_gid() 654 __be32 nfsd4_encode_user(struct xdr_stream *xdr, struct svc_rqst *rqstp, in nfsd4_encode_user() [all …]
|
D | cache.h | 82 int nfsd_cache_lookup(struct svc_rqst *); 83 void nfsd_cache_update(struct svc_rqst *, int, __be32 *);
|
D | nfscache.c | 65 static int nfsd_cache_append(struct svc_rqst *rqstp, struct kvec *vec); 313 nfsd_cache_csum(struct svc_rqst *rqstp) in nfsd_cache_csum() 343 nfsd_cache_match(struct svc_rqst *rqstp, __wsum csum, struct svc_cacherep *rp) in nfsd_cache_match() 372 nfsd_cache_search(struct nfsd_drc_bucket *b, struct svc_rqst *rqstp, in nfsd_cache_search() 409 nfsd_cache_lookup(struct svc_rqst *rqstp) in nfsd_cache_lookup() 538 nfsd_cache_update(struct svc_rqst *rqstp, int cachetype, __be32 *statp) in nfsd_cache_update() 599 nfsd_cache_append(struct svc_rqst *rqstp, struct kvec *data) in nfsd_cache_append()
|
D | auth.c | 7 int nfsexp_flags(struct svc_rqst *rqstp, struct svc_export *exp) in nfsexp_flags() 20 int nfsd_setuser(struct svc_rqst *rqstp, struct svc_export *exp) in nfsd_setuser()
|
D | auth.h | 14 int nfsd_setuser(struct svc_rqst *, struct svc_export *);
|
D | nfsfh.c | 62 nfsd_mode_check(struct svc_rqst *rqstp, umode_t mode, umode_t requested) in nfsd_mode_check() 83 static __be32 nfsd_setuser_and_check_port(struct svc_rqst *rqstp, in nfsd_setuser_and_check_port() 100 static inline __be32 check_pseudo_root(struct svc_rqst *rqstp, in check_pseudo_root() 135 static __be32 nfsd_set_fh_dentry(struct svc_rqst *rqstp, struct svc_fh *fhp) in nfsd_set_fh_dentry() 304 fh_verify(struct svc_rqst *rqstp, struct svc_fh *fhp, umode_t type, int access) in fh_verify()
|
D | lockd.c | 27 nlm_fopen(struct svc_rqst *rqstp, struct nfs_fh *f, struct file **filp) in nlm_fopen()
|
D | nfs4state.c | 1471 static struct nfsd4_conn *alloc_conn(struct svc_rqst *rqstp, u32 flags) in alloc_conn() 1506 static void nfsd4_init_conn(struct svc_rqst *rqstp, struct nfsd4_conn *conn, struct nfsd4_session *… in nfsd4_init_conn() 1519 static struct nfsd4_conn *alloc_conn_from_crses(struct svc_rqst *rqstp, struct nfsd4_create_session… in alloc_conn_from_crses() 1561 static void init_session(struct svc_rqst *rqstp, struct nfsd4_session *new, struct nfs4_client *clp… in init_session() 1932 static bool svc_rqst_integrity_protected(struct svc_rqst *rqstp) in svc_rqst_integrity_protected() 1944 static bool mach_creds_match(struct nfs4_client *cl, struct svc_rqst *rqstp) in mach_creds_match() 2008 struct svc_rqst *rqstp, nfs4_verifier *verf) in create_client() 2160 gen_callback(struct nfs4_client *clp, struct nfsd4_setclientid *se, struct svc_rqst *rqstp) in gen_callback() 2320 nfsd4_exchange_id(struct svc_rqst *rqstp, in nfsd4_exchange_id() 2578 nfsd4_create_session(struct svc_rqst *rqstp, in nfsd4_create_session() [all …]
|
D | nfssvc.c | 568 struct svc_rqst *rqstp = (struct svc_rqst *) vrqstp; in nfsd() 651 nfsd_dispatch(struct svc_rqst *rqstp, __be32 *statp) in nfsd_dispatch()
|
D | nfsd.h | 76 int nfsd_dispatch(struct svc_rqst *rqstp, __be32 *statp); 108 static inline int nfsd_v4client(struct svc_rqst *rq) in nfsd_v4client()
|
D | export.c | 938 __be32 check_nfsd_access(struct svc_export *exp, struct svc_rqst *rqstp) in check_nfsd_access() 970 rqst_exp_get_by_name(struct svc_rqst *rqstp, struct path *path) in rqst_exp_get_by_name() 1001 rqst_exp_find(struct svc_rqst *rqstp, int fsid_type, u32 *fsidv) in rqst_exp_find() 1034 rqst_exp_parent(struct svc_rqst *rqstp, struct path *path) in rqst_exp_parent() 1050 struct svc_export *rqst_find_fsidzero_export(struct svc_rqst *rqstp) in rqst_find_fsidzero_export() 1065 exp_pseudoroot(struct svc_rqst *rqstp, struct svc_fh *fhp) in exp_pseudoroot()
|
D | nfs4layouts.c | 234 nfsd4_preprocess_layout_stateid(struct svc_rqst *rqstp, in nfsd4_preprocess_layout_stateid() 457 nfsd4_return_file_layouts(struct svc_rqst *rqstp, in nfsd4_return_file_layouts() 502 nfsd4_return_client_layouts(struct svc_rqst *rqstp, in nfsd4_return_client_layouts()
|
D | nfsfh.h | 161 __be32 fh_verify(struct svc_rqst *, struct svc_fh *, umode_t, int);
|
D | nfs4xdr.c | 2080 struct svc_rqst *rqstp, const struct path *path) in nfsd4_encode_fsloc_fsroot() 2097 struct svc_rqst *rqstp, struct svc_export *exp) in nfsd4_encode_fs_locations() 2134 nfsd4_encode_aclname(struct xdr_stream *xdr, struct svc_rqst *rqstp, in nfsd4_encode_aclname() 2173 nfsd4_encode_security_label(struct xdr_stream *xdr, struct svc_rqst *rqstp, in nfsd4_encode_security_label() 2193 nfsd4_encode_security_label(struct xdr_stream *xdr, struct svc_rqst *rqstp, in nfsd4_encode_security_label() 2239 struct svc_rqst *rqstp, int ignore_crossmnt) in nfsd4_encode_fattr() 2797 struct svc_rqst *rqstp, int ignore_crossmnt) in nfsd4_encode_fattr_to_buf() 4314 struct svc_rqst *rqstp = resp->rqstp; in nfsd4_encode_operation() 4402 nfs4svc_encode_voidres(struct svc_rqst *rqstp, __be32 *p, void *dummy) in nfs4svc_encode_voidres() 4409 struct svc_rqst *rqstp = rq; in nfsd4_release_compoundargs() [all …]
|
D | nfs4acl.c | 139 nfsd4_get_nfs4_acl(struct svc_rqst *rqstp, struct dentry *dentry, in nfsd4_get_nfs4_acl() 767 nfsd4_set_nfs4_acl(struct svc_rqst *rqstp, struct svc_fh *fhp, in nfsd4_set_nfs4_acl()
|
/linux-4.1.27/include/linux/lockd/ |
D | xdr4.h | 26 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 *); [all …]
|
D | xdr.h | 23 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 *); [all …]
|
D | bind.h | 20 struct svc_rqst; 26 __be32 (*fopen)(struct svc_rqst *,
|
D | lockd.h | 229 struct nlm_host *nlmsvc_lookup_host(const struct svc_rqst *rqstp, 262 __be32 nlmsvc_lock(struct svc_rqst *, struct nlm_file *, 266 __be32 nlmsvc_testlock(struct svc_rqst *, struct nlm_file *, 279 __be32 nlm_lookup_file(struct svc_rqst *, struct nlm_file **, 333 static inline int nlm_privileged_requester(const struct svc_rqst *rqstp) in nlm_privileged_requester()
|
/linux-4.1.27/include/linux/sunrpc/ |
D | svc.h | 145 extern u32 svc_max_payload(const struct svc_rqst *rqstp); 222 struct svc_rqst { struct 290 #define SVC_NET(svc_rqst) (svc_rqst->rq_xprt->xpt_net) argument 295 static inline struct sockaddr_in *svc_addr_in(const struct svc_rqst *rqst) in svc_addr_in() 300 static inline struct sockaddr_in6 *svc_addr_in6(const struct svc_rqst *rqst) in svc_addr_in6() 305 static inline struct sockaddr *svc_addr(const struct svc_rqst *rqst) in svc_addr() 310 static inline struct sockaddr_in *svc_daddr_in(const struct svc_rqst *rqst) in svc_daddr_in() 315 static inline struct sockaddr_in6 *svc_daddr_in6(const struct svc_rqst *rqst) in svc_daddr_in6() 320 static inline struct sockaddr *svc_daddr(const struct svc_rqst *rqst) in svc_daddr() 329 xdr_argsize_check(struct svc_rqst *rqstp, __be32 *p) in xdr_argsize_check() [all …]
|
D | svcauth.h | 46 struct svc_rqst; /* forward decl */ 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);
|
D | svc_rdma.h | 153 struct svc_rqst *, 184 extern int svc_rdma_xdr_decode_req(struct rpcrdma_msg **, struct svc_rqst *); 185 extern int svc_rdma_xdr_decode_deferred_req(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 *); 230 extern void svc_rdma_prep_reply_hdr(struct svc_rqst *);
|
D | svc_xprt.h | 21 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 *); 121 void svc_xprt_copy_addrs(struct svc_rqst *rqstp, struct svc_xprt *xprt);
|
D | svcsock.h | 55 int svc_recv(struct svc_rqst *, long); 56 int svc_send(struct svc_rqst *); 57 void svc_drop(struct svc_rqst *);
|
D | bc_xprt.h | 45 static inline int svc_is_backchannel(const struct svc_rqst *rqstp) in svc_is_backchannel() 58 static inline int svc_is_backchannel(const struct svc_rqst *rqstp) in svc_is_backchannel()
|
/linux-4.1.27/fs/lockd/ |
D | svc4proc.c | 22 nlm4svc_retrieve_args(struct svc_rqst *rqstp, struct nlm_args *argp, in nlm4svc_retrieve_args() 65 nlm4svc_proc_null(struct svc_rqst *rqstp, void *argp, void *resp) in nlm4svc_proc_null() 75 nlm4svc_proc_test(struct svc_rqst *rqstp, struct nlm_args *argp, in nlm4svc_proc_test() 102 nlm4svc_proc_lock(struct svc_rqst *rqstp, struct nlm_args *argp, in nlm4svc_proc_lock() 144 nlm4svc_proc_cancel(struct svc_rqst *rqstp, struct nlm_args *argp, in nlm4svc_proc_cancel() 177 nlm4svc_proc_unlock(struct svc_rqst *rqstp, struct nlm_args *argp, in nlm4svc_proc_unlock() 211 nlm4svc_proc_granted(struct svc_rqst *rqstp, struct nlm_args *argp, in nlm4svc_proc_granted() 246 static __be32 nlm4svc_callback(struct svc_rqst *rqstp, u32 proc, struct nlm_args *argp, in nlm4svc_callback() 247 __be32 (*func)(struct svc_rqst *, struct nlm_args *, struct nlm_res *)) in nlm4svc_callback() argument 276 static __be32 nlm4svc_proc_test_msg(struct svc_rqst *rqstp, struct nlm_args *argp, in nlm4svc_proc_test_msg() [all …]
|
D | svcproc.c | 51 nlmsvc_retrieve_args(struct svc_rqst *rqstp, struct nlm_args *argp, in nlmsvc_retrieve_args() 95 nlmsvc_proc_null(struct svc_rqst *rqstp, void *argp, void *resp) in nlmsvc_proc_null() 105 nlmsvc_proc_test(struct svc_rqst *rqstp, struct nlm_args *argp, in nlmsvc_proc_test() 133 nlmsvc_proc_lock(struct svc_rqst *rqstp, struct nlm_args *argp, in nlmsvc_proc_lock() 175 nlmsvc_proc_cancel(struct svc_rqst *rqstp, struct nlm_args *argp, in nlmsvc_proc_cancel() 209 nlmsvc_proc_unlock(struct svc_rqst *rqstp, struct nlm_args *argp, in nlmsvc_proc_unlock() 244 nlmsvc_proc_granted(struct svc_rqst *rqstp, struct nlm_args *argp, in nlmsvc_proc_granted() 287 static __be32 nlmsvc_callback(struct svc_rqst *rqstp, u32 proc, struct nlm_args *argp, in nlmsvc_callback() 288 __be32 (*func)(struct svc_rqst *, struct nlm_args *, struct nlm_res *)) in nlmsvc_callback() argument 317 static __be32 nlmsvc_proc_test_msg(struct svc_rqst *rqstp, struct nlm_args *argp, in nlmsvc_proc_test_msg() [all …]
|
D | xdr4.c | 182 nlm4svc_decode_testargs(struct svc_rqst *rqstp, __be32 *p, nlm_args *argp) in nlm4svc_decode_testargs() 199 nlm4svc_encode_testres(struct svc_rqst *rqstp, __be32 *p, struct nlm_res *resp) in nlm4svc_encode_testres() 207 nlm4svc_decode_lockargs(struct svc_rqst *rqstp, __be32 *p, nlm_args *argp) in nlm4svc_decode_lockargs() 227 nlm4svc_decode_cancargs(struct svc_rqst *rqstp, __be32 *p, nlm_args *argp) in nlm4svc_decode_cancargs() 243 nlm4svc_decode_unlockargs(struct svc_rqst *rqstp, __be32 *p, nlm_args *argp) in nlm4svc_decode_unlockargs() 253 nlm4svc_decode_shareargs(struct svc_rqst *rqstp, __be32 *p, nlm_args *argp) in nlm4svc_decode_shareargs() 274 nlm4svc_encode_shareres(struct svc_rqst *rqstp, __be32 *p, struct nlm_res *resp) in nlm4svc_encode_shareres() 284 nlm4svc_encode_res(struct svc_rqst *rqstp, __be32 *p, struct nlm_res *resp) in nlm4svc_encode_res() 293 nlm4svc_decode_notify(struct svc_rqst *rqstp, __be32 *p, struct nlm_args *argp) in nlm4svc_decode_notify() 305 nlm4svc_decode_reboot(struct svc_rqst *rqstp, __be32 *p, struct nlm_reboot *argp) in nlm4svc_decode_reboot() [all …]
|
D | xdr.c | 185 nlmsvc_decode_testargs(struct svc_rqst *rqstp, __be32 *p, nlm_args *argp) in nlmsvc_decode_testargs() 202 nlmsvc_encode_testres(struct svc_rqst *rqstp, __be32 *p, struct nlm_res *resp) in nlmsvc_encode_testres() 210 nlmsvc_decode_lockargs(struct svc_rqst *rqstp, __be32 *p, nlm_args *argp) in nlmsvc_decode_lockargs() 230 nlmsvc_decode_cancargs(struct svc_rqst *rqstp, __be32 *p, nlm_args *argp) in nlmsvc_decode_cancargs() 246 nlmsvc_decode_unlockargs(struct svc_rqst *rqstp, __be32 *p, nlm_args *argp) in nlmsvc_decode_unlockargs() 256 nlmsvc_decode_shareargs(struct svc_rqst *rqstp, __be32 *p, nlm_args *argp) in nlmsvc_decode_shareargs() 277 nlmsvc_encode_shareres(struct svc_rqst *rqstp, __be32 *p, struct nlm_res *resp) in nlmsvc_encode_shareres() 287 nlmsvc_encode_res(struct svc_rqst *rqstp, __be32 *p, struct nlm_res *resp) in nlmsvc_encode_res() 296 nlmsvc_decode_notify(struct svc_rqst *rqstp, __be32 *p, struct nlm_args *argp) in nlmsvc_decode_notify() 308 nlmsvc_decode_reboot(struct svc_rqst *rqstp, __be32 *p, struct nlm_reboot *argp) in nlmsvc_decode_reboot() [all …]
|
D | svc.c | 53 static struct svc_rqst *nlmsvc_rqst; 131 struct svc_rqst *rqstp = vrqstp; in lockd() 542 static int lockd_authenticate(struct svc_rqst *rqstp) in lockd_authenticate()
|
D | svclock.c | 215 nlmsvc_create_block(struct svc_rqst *rqstp, struct nlm_host *host, in nlmsvc_create_block() 372 nlmsvc_defer_lock_rqst(struct svc_rqst *rqstp, struct nlm_block *block) in nlmsvc_defer_lock_rqst() 398 nlmsvc_lock(struct svc_rqst *rqstp, struct nlm_file *file, in nlmsvc_lock() 505 nlmsvc_testlock(struct svc_rqst *rqstp, struct nlm_file *file, in nlmsvc_testlock()
|
D | svcsubs.c | 83 nlm_lookup_file(struct svc_rqst *rqstp, struct nlm_file **result, in nlm_lookup_file()
|
D | host.c | 320 struct nlm_host *nlmsvc_lookup_host(const struct svc_rqst *rqstp, in nlmsvc_lookup_host()
|
/linux-4.1.27/fs/nfs/ |
D | callback.c | 34 struct svc_rqst *rqst; 76 struct svc_rqst *rqstp = vrqstp; in nfs4_callback_svc() 95 static struct svc_rqst * 119 struct svc_rqst *rqstp = vrqstp; in nfs41_callback_svc() 156 static struct svc_rqst * 159 struct svc_rqst *rqstp; in nfs41_callback_up() 174 struct svc_rqst **rqstpp, int (**callback_svc)(void *vrqstp)) in nfs_minorversion_callback_svc_setup() 197 struct svc_rqst **rqstpp, int (**callback_svc)(void *vrqstp)) in nfs_minorversion_callback_svc_setup() 212 struct svc_rqst *rqstp; in nfs_callback_start_svc() 418 check_gss_callback_principal(struct nfs_client *clp, struct svc_rqst *rqstp) in check_gss_callback_principal() [all …]
|
D | callback_xdr.c | 45 typedef __be32 (*callback_decode_arg_t)(struct svc_rqst *, struct xdr_stream *, void *); 46 typedef __be32 (*callback_encode_res_t)(struct svc_rqst *, struct xdr_stream *, void *); 58 static __be32 nfs4_callback_null(struct svc_rqst *rqstp, void *argp, void *resp) in nfs4_callback_null() 63 static int nfs4_decode_void(struct svc_rqst *rqstp, __be32 *p, void *dummy) in nfs4_decode_void() 68 static int nfs4_encode_void(struct svc_rqst *rqstp, __be32 *p, void *dummy) in nfs4_encode_void() 194 static __be32 decode_getattr_args(struct svc_rqst *rqstp, struct xdr_stream *xdr, struct cb_getattr… in decode_getattr_args() 208 static __be32 decode_recall_args(struct svc_rqst *rqstp, struct xdr_stream *xdr, struct cb_recallar… in decode_recall_args() 231 static __be32 decode_layoutrecall_args(struct svc_rqst *rqstp, in decode_layoutrecall_args() 292 __be32 decode_devicenotify_args(struct svc_rqst *rqstp, in decode_devicenotify_args() 434 static __be32 decode_cb_sequence_args(struct svc_rqst *rqstp, in decode_cb_sequence_args() [all …]
|
D | callback.h | 190 extern int check_gss_callback_principal(struct nfs_client *, struct svc_rqst *);
|
/linux-4.1.27/net/sunrpc/ |
D | svc_xprt.c | 23 static int svc_deferred_recv(struct svc_rqst *rqstp); 287 void svc_xprt_copy_addrs(struct svc_rqst *rqstp, struct svc_xprt *xprt) in svc_xprt_copy_addrs() 308 char *svc_print_addr(struct svc_rqst *rqstp, char *buf, size_t len) in svc_print_addr() 326 struct svc_rqst *rqstp = NULL; in svc_xprt_do_enqueue() 455 void svc_reserve(struct svc_rqst *rqstp, int space) in svc_reserve() 471 static void svc_xprt_release(struct svc_rqst *rqstp) in svc_xprt_release() 510 struct svc_rqst *rqstp; in svc_wake_up() 600 static int svc_alloc_arg(struct svc_rqst *rqstp) in svc_alloc_arg() 643 rqst_should_sleep(struct svc_rqst *rqstp) in rqst_should_sleep() 666 static struct svc_xprt *svc_get_next_xprt(struct svc_rqst *rqstp, long timeout) in svc_get_next_xprt() [all …]
|
D | svcsock.c | 64 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) in svc_release_skb() 141 static void svc_set_cmsg_data(struct svc_rqst *rqstp, struct cmsghdr *cmh) in svc_set_cmsg_data() 234 static int svc_sendto(struct svc_rqst *rqstp, struct xdr_buf *xdr) in svc_sendto() 317 static int svc_recvfrom(struct svc_rqst *rqstp, struct kvec *iov, int nr, in svc_recvfrom() 343 static int svc_partial_recvfrom(struct svc_rqst *rqstp, in svc_partial_recvfrom() 397 static int svc_sock_secure_port(struct svc_rqst *rqstp) in svc_sock_secure_port() 482 static int svc_udp_get_dest_address4(struct svc_rqst *rqstp, in svc_udp_get_dest_address4() 499 static int svc_udp_get_dest_address6(struct svc_rqst *rqstp, in svc_udp_get_dest_address6() [all …]
|
D | svcauth.c | 37 svc_authenticate(struct svc_rqst *rqstp, __be32 *authp) in svc_authenticate() 64 int svc_set_client(struct svc_rqst *rqstp) in svc_set_client() 74 int svc_authorise(struct svc_rqst *rqstp) in svc_authorise()
|
D | svc.c | 568 svc_init_buffer(struct svc_rqst *rqstp, unsigned int size, int node) in svc_init_buffer() 597 svc_release_buffer(struct svc_rqst *rqstp) in svc_release_buffer() 606 struct svc_rqst * 609 struct svc_rqst *rqstp; in svc_prepare_thread() 681 struct svc_rqst *rqstp; in choose_victim() 687 rqstp = list_entry(pool->sp_all_threads.next, struct svc_rqst, rq_all); in choose_victim() 714 struct svc_rqst *rqstp; in svc_set_num_threads() 775 svc_exit_thread(struct svc_rqst *rqstp) in svc_exit_thread() 1049 void svc_printk(struct svc_rqst *rqstp, const char *fmt, ...) in svc_printk() 1065 static __printf(2,3) void svc_printk(struct svc_rqst *rqstp, const char *fmt, ...) {} in svc_printk() [all …]
|
D | svcauth_unix.c | 628 static struct group_info *unix_gid_find(kuid_t uid, struct svc_rqst *rqstp) in unix_gid_find() 655 svcauth_unix_set_client(struct svc_rqst *rqstp) in svcauth_unix_set_client() 725 svcauth_null_accept(struct svc_rqst *rqstp, __be32 *authp) in svcauth_null_accept() 765 svcauth_null_release(struct svc_rqst *rqstp) in svcauth_null_release() 789 svcauth_unix_accept(struct svc_rqst *rqstp, __be32 *authp) in svcauth_unix_accept() 848 svcauth_unix_release(struct svc_rqst *rqstp) in svcauth_unix_release()
|
/linux-4.1.27/net/sunrpc/xprtrdma/ |
D | svc_rdma_sendto.c | 142 static int send_write(struct svcxprt_rdma *xprt, struct svc_rqst *rqstp, in send_write() 235 struct svc_rqst *rqstp, in send_write_chunks() 298 struct svc_rqst *rqstp, in send_reply_chunks() 377 struct svc_rqst *rqstp, in send_reply() 490 void svc_rdma_prep_reply_hdr(struct svc_rqst *rqstp) in svc_rdma_prep_reply_hdr() 494 int svc_rdma_sendto(struct svc_rqst *rqstp) in svc_rdma_sendto()
|
D | svc_rdma_recvfrom.c | 58 static void rdma_build_arg_xdr(struct svc_rqst *rqstp, in rdma_build_arg_xdr() 129 struct svc_rqst *rqstp, in rdma_read_chunk_lcl() 223 struct svc_rqst *rqstp, in rdma_read_chunk_frmr() 374 rdma_copy_tail(struct svc_rqst *rqstp, struct svc_rdma_op_ctxt *head, in rdma_copy_tail() 421 struct svc_rqst *rqstp, in rdma_read_chunks() 514 static int rdma_read_complete(struct svc_rqst *rqstp, in rdma_read_complete() 578 int svc_rdma_recvfrom(struct svc_rqst *rqstp) in svc_rdma_recvfrom()
|
D | svc_rdma_marshal.c | 149 struct svc_rqst *rqstp) in svc_rdma_xdr_decode_req() 214 int svc_rdma_xdr_decode_deferred_req(struct svc_rqst *rqstp) in svc_rdma_xdr_decode_deferred_req()
|
D | svc_rdma_transport.c | 64 static void svc_rdma_release_rqst(struct svc_rqst *); 69 static int svc_rdma_secure_port(struct svc_rqst *); 1101 static void svc_rdma_release_rqst(struct svc_rqst *rqstp) in svc_rdma_release_rqst() 1220 static int svc_rdma_secure_port(struct svc_rqst *rqstp) in svc_rdma_secure_port()
|
/linux-4.1.27/net/sunrpc/auth_gss/ |
D | svcauth_gss.c | 659 gss_verify_header(struct svc_rqst *rqstp, struct rsc *rsci, in gss_verify_header() 705 gss_write_null_verf(struct svc_rqst *rqstp) in gss_write_null_verf() 719 gss_write_verf(struct svc_rqst *rqstp, struct gss_ctx *ctx_id, u32 seq) in gss_write_verf() 827 unwrap_integ_data(struct svc_rqst *rqstp, struct xdr_buf *buf, u32 seq, struct gss_ctx *ctx) in unwrap_integ_data() 886 unwrap_priv_data(struct svc_rqst *rqstp, struct xdr_buf *buf, u32 seq, struct gss_ctx *ctx) in unwrap_priv_data() 946 svcauth_gss_set_client(struct svc_rqst *rqstp) in svcauth_gss_set_client() 972 gss_write_init_verf(struct cache_detail *cd, struct svc_rqst *rqstp, in gss_write_init_verf() 1049 gss_read_proxy_verf(struct svc_rqst *rqstp, in gss_read_proxy_verf() 1100 static int svcauth_gss_legacy_init(struct svc_rqst *rqstp, in svcauth_gss_legacy_init() 1209 static int svcauth_gss_proxy_init(struct svc_rqst *rqstp, in svcauth_gss_proxy_init() [all …]
|
/linux-4.1.27/include/trace/events/ |
D | sunrpc.h | 453 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),
|