/kernel/linux/linux-5.10/fs/nfsd/ |
H A D | export.h | 49 struct svc_export { struct 68 * svc_export for a given client. There can be several per export, 86 int nfsexp_flags(struct svc_rqst *rqstp, struct svc_export *exp); 87 __be32 check_nfsd_access(struct svc_export *exp, struct svc_rqst *rqstp); 95 struct svc_export * rqst_exp_get_by_name(struct svc_rqst *, 97 struct svc_export * rqst_exp_parent(struct svc_rqst *, 99 struct svc_export * rqst_find_fsidzero_export(struct svc_rqst *); 105 static inline void exp_put(struct svc_export *exp) in exp_put() 110 static inline struct svc_export *exp_get(struct svc_export *ex [all...] |
H A D | export.c | 336 struct svc_export *exp = container_of(ref, struct svc_export, h.ref); in svc_export_put() 354 struct svc_export *exp = container_of(h, struct svc_export, h); in svc_export_request() 368 static struct svc_export *svc_export_update(struct svc_export *new, 369 struct svc_export *old); 370 static struct svc_export *svc_export_lookup(struct svc_export *); 475 static int secinfo_parse(char **mesg, char *buf, struct svc_export *ex [all...] |
H A D | nfsfh.c | 30 struct svc_export *exp = expv; in nfsd_acceptable() 102 struct svc_export *exp) in nfsd_setuser_and_check_port() 119 struct dentry *dentry, struct svc_export *exp) in check_pseudo_root() 157 struct svc_export *exp; in nfsd_set_fh_dentry() 330 struct svc_export *exp; in fh_verify() 415 static void _fh_update(struct svc_fh *fhp, struct svc_export *exp, in _fh_update() 436 struct svc_export *exp, in _fh_update_old() 446 static bool is_root_export(struct svc_export *exp) in is_root_export() 451 static struct super_block *exp_sb(struct svc_export *exp) in exp_sb() 456 static bool fsid_type_ok_for_exp(u8 fsid_type, struct svc_export *ex [all...] |
H A D | vfs.h | 46 struct svc_export **expp); 51 struct svc_export **, struct dentry **); 54 int nfsd_mountpoint(struct dentry *, struct svc_export *); 132 __be32 nfsd_permission(struct svc_rqst *, struct svc_export *,
|
H A D | pnfs.h | 71 void nfsd4_setup_layout_type(struct svc_export *exp); 81 static inline void nfsd4_setup_layout_type(struct svc_export *exp) in nfsd4_setup_layout_type()
|
H A D | auth.c | 8 int nfsexp_flags(struct svc_rqst *rqstp, struct svc_export *exp) in nfsexp_flags() 21 int nfsd_setuser(struct svc_rqst *rqstp, struct svc_export *exp) in nfsd_setuser()
|
H A D | auth.h | 15 int nfsd_setuser(struct svc_rqst *, struct svc_export *);
|
H A D | nfsfh.h | 34 struct svc_export * fh_export; /* export pointer */ 168 __be32 fh_compose(struct svc_fh *, struct svc_export *, struct dentry *, struct svc_fh *);
|
H A D | vfs.c | 60 struct svc_export **expp) in nfsd_cross_mnt() 62 struct svc_export *exp = *expp, *exp2 = NULL; in nfsd_cross_mnt() 124 static int nfsd_lookup_parent(struct svc_rqst *rqstp, struct dentry *dparent, struct svc_export **exp, struct dentry **dentryp) in nfsd_lookup_parent() 126 struct svc_export *exp2; in nfsd_lookup_parent() 155 int nfsd_mountpoint(struct dentry *dentry, struct svc_export *exp) in nfsd_mountpoint() 175 struct svc_export **exp_ret, struct dentry **dentry_ret) in nfsd_lookup_dentry() 177 struct svc_export *exp; in nfsd_lookup_dentry() 253 struct svc_export *exp; in nfsd_lookup() 668 struct svc_export *export; in nfsd_access() 989 struct svc_export *ex in nfsd_vfs_write() [all...] |
H A D | xdr4.h | 354 struct svc_export *si_exp; /* response */ 359 struct svc_export *sin_exp; /* response */ 792 struct svc_fh *fhp, struct svc_export *exp,
|
H A D | trace.h | 135 TP_PROTO(const struct svc_export *key, 156 TP_PROTO(const struct svc_export *key),
|
H A D | nfs4xdr.c | 2296 struct svc_export *exp) in encode_change() 2513 struct svc_export *exp_ps; in nfsd4_encode_fsloc_fsroot() 2528 struct svc_rqst *rqstp, struct svc_export *exp) in nfsd4_encode_fs_locations() 2645 static int get_parent_attributes(struct svc_export *exp, struct kstat *stat) in get_parent_attributes() 2699 struct svc_export *exp, in nfsd4_encode_fattr() 3266 struct svc_fh *fhp, struct svc_export *exp, in nfsd4_encode_fattr_to_buf() 3294 struct svc_export *exp = cd->rd_fhp->fh_export; in nfsd4_encode_dirent_fattr() 4067 nfsd4_do_encode_secinfo(struct xdr_stream *xdr, struct svc_export *exp) in nfsd4_do_encode_secinfo()
|
H A D | nfs4proc.c | 102 struct svc_export *exp = cstate->current_fh.fh_export; in check_attr_support() 894 struct svc_export *exp; in nfsd4_secinfo() 1826 nfsd4_layout_verify(struct svc_export *exp, unsigned int layout_type) in nfsd4_layout_verify() 1850 struct svc_export *exp; in nfsd4_getdeviceinfo()
|
/kernel/linux/linux-6.6/fs/nfsd/ |
H A D | export.c | 352 struct svc_export *exp = container_of(ref, struct svc_export, h.ref); in svc_export_put() 371 struct svc_export *exp = container_of(h, struct svc_export, h); in svc_export_request() 385 static struct svc_export *svc_export_update(struct svc_export *new, 386 struct svc_export *old); 387 static struct svc_export *svc_export_lookup(struct svc_export *); 504 static int secinfo_parse(char **mesg, char *buf, struct svc_export *ex [all...] |
H A D | export.h | 63 struct svc_export { struct 84 * svc_export for a given client. There can be several per export, 102 int nfsexp_flags(struct svc_rqst *rqstp, struct svc_export *exp); 103 __be32 check_nfsd_access(struct svc_export *exp, struct svc_rqst *rqstp); 111 struct svc_export * rqst_exp_get_by_name(struct svc_rqst *, 113 struct svc_export * rqst_exp_parent(struct svc_rqst *, 115 struct svc_export * rqst_find_fsidzero_export(struct svc_rqst *); 120 static inline void exp_put(struct svc_export *exp) in exp_put() 125 static inline struct svc_export *exp_get(struct svc_export *ex [all...] |
H A D | nfsfh.c | 30 struct svc_export *exp = expv; in nfsd_acceptable() 103 struct svc_export *exp) in nfsd_setuser_and_check_port() 120 struct dentry *dentry, struct svc_export *exp) in check_pseudo_root() 158 struct svc_export *exp; in nfsd_set_fh_dentry() 330 struct svc_export *exp = NULL; in fh_verify() 410 static void _fh_update(struct svc_fh *fhp, struct svc_export *exp, in _fh_update() 430 static bool is_root_export(struct svc_export *exp) in is_root_export() 435 static struct super_block *exp_sb(struct svc_export *exp) in exp_sb() 440 static bool fsid_type_ok_for_exp(u8 fsid_type, struct svc_export *exp) in fsid_type_ok_for_exp() 465 static void set_version_and_fsid_type(struct svc_fh *fhp, struct svc_export *ex [all...] |
H A D | stats.h | 61 static inline void nfsd_stats_fh_stale_inc(struct svc_export *exp) in nfsd_stats_fh_stale_inc() 68 static inline void nfsd_stats_io_read_add(struct svc_export *exp, s64 amount) in nfsd_stats_io_read_add() 75 static inline void nfsd_stats_io_write_add(struct svc_export *exp, s64 amount) in nfsd_stats_io_write_add()
|
H A D | vfs.h | 65 struct svc_export **expp); 70 struct svc_export **, struct dentry **); 73 int nfsd_mountpoint(struct dentry *, struct svc_export *); 147 __be32 nfsd_permission(struct svc_rqst *, struct svc_export *,
|
H A D | pnfs.h | 71 void nfsd4_setup_layout_type(struct svc_export *exp); 81 static inline void nfsd4_setup_layout_type(struct svc_export *exp) in nfsd4_setup_layout_type()
|
H A D | auth.c | 8 int nfsexp_flags(struct svc_rqst *rqstp, struct svc_export *exp) in nfsexp_flags() 21 int nfsd_setuser(struct svc_rqst *rqstp, struct svc_export *exp) in nfsd_setuser()
|
H A D | auth.h | 15 int nfsd_setuser(struct svc_rqst *, struct svc_export *);
|
H A D | nfsfh.h | 82 struct svc_export * fh_export; /* export pointer */ 218 __be32 fh_compose(struct svc_fh *, struct svc_export *, struct dentry *, struct svc_fh *);
|
H A D | vfs.c | 123 struct svc_export **expp) in nfsd_cross_mnt() 125 struct svc_export *exp = *expp, *exp2 = NULL; in nfsd_cross_mnt() 191 static int nfsd_lookup_parent(struct svc_rqst *rqstp, struct dentry *dparent, struct svc_export **exp, struct dentry **dentryp) in nfsd_lookup_parent() 193 struct svc_export *exp2; in nfsd_lookup_parent() 222 int nfsd_mountpoint(struct dentry *dentry, struct svc_export *exp) in nfsd_mountpoint() 242 struct svc_export **exp_ret, struct dentry **dentry_ret) in nfsd_lookup_dentry() 244 struct svc_export *exp; in nfsd_lookup_dentry() 314 struct svc_export *exp; in nfsd_lookup() 756 struct svc_export *export; in nfsd_access() 1119 struct svc_export *ex in nfsd_vfs_write() [all...] |
H A D | xdr4.h | 353 struct svc_export *si_exp; /* response */ 358 struct svc_export *sin_exp; /* response */ 784 struct svc_fh *fhp, struct svc_export *exp,
|
H A D | nfs4xdr.c | 2534 struct svc_export *exp) in encode_change() 2758 struct svc_export *exp_ps; in nfsd4_encode_fsloc_fsroot() 2773 struct svc_rqst *rqstp, struct svc_export *exp) in nfsd4_encode_fs_locations() 2890 static int nfsd4_get_mounted_on_ino(struct svc_export *exp, u64 *pino) in nfsd4_get_mounted_on_ino() 2947 struct svc_export *exp, in nfsd4_encode_fattr() 3508 struct svc_fh *fhp, struct svc_export *exp, in nfsd4_encode_fattr_to_buf() 3536 struct svc_export *exp = cd->rd_fhp->fh_export; in nfsd4_encode_dirent_fattr() 4341 nfsd4_do_encode_secinfo(struct xdr_stream *xdr, struct svc_export *exp) in nfsd4_do_encode_secinfo()
|