Home
last modified time | relevance | path

Searched refs:svc_fh (Results 1 – 25 of 28) sorted by relevance

12

/linux-6.1.9/fs/nfsd/
Dvfs.h65 __be32 nfsd_lookup(struct svc_rqst *, struct svc_fh *,
66 const char *, unsigned int, struct svc_fh *);
67 __be32 nfsd_lookup_dentry(struct svc_rqst *, struct svc_fh *,
70 __be32 nfsd_setattr(struct svc_rqst *, struct svc_fh *,
74 __be32 nfsd4_vfs_fallocate(struct svc_rqst *, struct svc_fh *,
81 __be32 nfsd_create_locked(struct svc_rqst *, struct svc_fh *,
83 struct svc_fh *res);
84 __be32 nfsd_create(struct svc_rqst *, struct svc_fh *,
86 int type, dev_t rdev, struct svc_fh *res);
87 __be32 nfsd_access(struct svc_rqst *, struct svc_fh *, u32 *, u32 *);
[all …]
Dxdr3.h14 struct svc_fh fh;
21 struct svc_fh fh;
27 struct svc_fh fh;
32 struct svc_fh fh;
38 svc_fh fh;
47 struct svc_fh fh;
56 struct svc_fh fh;
65 struct svc_fh ffh;
68 struct svc_fh tfh;
74 struct svc_fh ffh;
[all …]
Dxdr.h12 struct svc_fh fh;
16 struct svc_fh fh;
21 struct svc_fh fh;
27 struct svc_fh fh;
33 svc_fh fh;
40 struct svc_fh fh;
47 struct svc_fh ffh;
50 struct svc_fh tfh;
56 struct svc_fh ffh;
57 struct svc_fh tfh;
[all …]
Dnfsfh.h78 typedef struct svc_fh { struct
108 } svc_fh; argument
129 extern enum fsid_source fsid_source(const struct svc_fh *fhp);
212 extern char * SVCFH_fmt(struct svc_fh *fhp);
217 __be32 fh_verify(struct svc_rqst *, struct svc_fh *, umode_t, int);
218 __be32 fh_compose(struct svc_fh *, struct svc_export *, struct dentry *, struct svc_fh *);
219 __be32 fh_update(struct svc_fh *);
220 void fh_put(struct svc_fh *);
222 static __inline__ struct svc_fh *
223 fh_copy(struct svc_fh *dst, struct svc_fh *src) in fh_copy()
[all …]
Dnfsfh.c154 static __be32 nfsd_set_fh_dentry(struct svc_rqst *rqstp, struct svc_fh *fhp) in nfsd_set_fh_dentry()
328 fh_verify(struct svc_rqst *rqstp, struct svc_fh *fhp, umode_t type, int access) in fh_verify()
410 static void _fh_update(struct svc_fh *fhp, struct svc_export *exp, in _fh_update()
462 static void set_version_and_fsid_type(struct svc_fh *fhp, struct svc_export *exp, struct svc_fh *re… in set_version_and_fsid_type()
517 fh_compose(struct svc_fh *fhp, struct svc_export *exp, struct dentry *dentry, in fh_compose()
518 struct svc_fh *ref_fh) in fh_compose()
583 fh_update(struct svc_fh *fhp) in fh_update()
614 void fh_fill_pre_attrs(struct svc_fh *fhp) in fh_fill_pre_attrs()
646 void fh_fill_post_attrs(struct svc_fh *fhp) in fh_fill_post_attrs()
676 void fh_fill_both_attrs(struct svc_fh *fhp) in fh_fill_both_attrs()
[all …]
Dvfs.c173 nfsd_lookup_dentry(struct svc_rqst *rqstp, struct svc_fh *fhp, in nfsd_lookup_dentry()
244 nfsd_lookup(struct svc_rqst *rqstp, struct svc_fh *fhp, const char *name, in nfsd_lookup()
245 unsigned int len, struct svc_fh *resfh) in nfsd_lookup()
287 commit_metadata(struct svc_fh *fhp) in commit_metadata()
330 nfsd_get_write_access(struct svc_rqst *rqstp, struct svc_fh *fhp, in nfsd_get_write_access()
403 nfsd_setattr(struct svc_rqst *rqstp, struct svc_fh *fhp, in nfsd_setattr()
604 __be32 nfsd4_vfs_fallocate(struct svc_rqst *rqstp, struct svc_fh *fhp, in nfsd4_vfs_fallocate()
676 nfsd_access(struct svc_rqst *rqstp, struct svc_fh *fhp, u32 *access, u32 *supported) in nfsd_access()
750 __nfsd_open(struct svc_rqst *rqstp, struct svc_fh *fhp, umode_t type, in __nfsd_open()
807 nfsd_open(struct svc_rqst *rqstp, struct svc_fh *fhp, umode_t type, in nfsd_open()
[all …]
Dfilecache.h59 __be32 nfsd_file_acquire_gc(struct svc_rqst *rqstp, struct svc_fh *fhp,
61 __be32 nfsd_file_acquire(struct svc_rqst *rqstp, struct svc_fh *fhp,
63 __be32 nfsd_file_acquire_opened(struct svc_rqst *rqstp, struct svc_fh *fhp,
Dxdr4.h54 struct svc_fh current_fh;
55 struct svc_fh save_fh;
134 struct svc_fh *ga_fhp; /* response */
308 struct svc_fh *rd_fhp; /* response */
319 struct svc_fh * rd_fhp; /* response */
332 struct svc_fh * rl_fhp; /* request */
646 struct svc_fh * getfh;
778 set_change_info(struct nfsd4_change_info *cinfo, struct svc_fh *fhp) in set_change_info()
795 struct svc_fh *fhp, struct svc_export *exp,
822 struct svc_fh *current_fh, struct nfsd4_open *open);
Dpnfs.h32 __be32 (*proc_layoutget)(struct inode *, const struct svc_fh *fhp,
65 int nfsd4_set_deviceid(struct nfsd4_deviceid *id, const struct svc_fh *fhp,
Dnfs3xdr.c20 static const struct svc_fh nfs3svc_null_fh = {
81 svcxdr_decode_nfs_fh3(struct xdr_stream *xdr, struct svc_fh *fhp) in svcxdr_decode_nfs_fh3()
123 svcxdr_encode_nfs_fh3(struct xdr_stream *xdr, const struct svc_fh *fhp) in svcxdr_encode_nfs_fh3()
140 svcxdr_encode_post_op_fh3(struct xdr_stream *xdr, const struct svc_fh *fhp) in svcxdr_encode_post_op_fh3()
202 svcxdr_decode_diropargs3(struct xdr_stream *xdr, struct svc_fh *fhp, in svcxdr_decode_diropargs3()
339 const struct svc_fh *fhp, const struct kstat *stat) in svcxdr_encode_fattr3()
390 svcxdr_encode_wcc_attr(struct xdr_stream *xdr, const struct svc_fh *fhp) in svcxdr_encode_wcc_attr()
405 svcxdr_encode_pre_op_attr(struct xdr_stream *xdr, const struct svc_fh *fhp) in svcxdr_encode_pre_op_attr()
430 const struct svc_fh *fhp) in svcxdr_encode_post_op_attr()
462 const struct svc_fh *fhp) in svcxdr_encode_wcc_data()
[all …]
Dexport.h14 struct svc_fh;
117 __be32 exp_pseudoroot(struct svc_rqst *, struct svc_fh *);
Dacl.h39 struct svc_fh;
Dtrace.h194 const struct svc_fh *fhp,
231 const struct svc_fh *fhp,
275 struct svc_fh *fhp,
296 struct svc_fh *fhp, \
396 struct svc_fh *fhp,
420 struct svc_fh *fhp, \
437 struct svc_fh *fhp,
461 struct svc_fh *fhp, \
470 TP_PROTO(struct svc_fh *fhp,
492 struct svc_fh *src_fhp,
[all …]
Dnfs4proc.c132 fh_dup2(struct svc_fh *dst, struct svc_fh *src) in fh_dup2()
142 do_open_permission(struct svc_rqst *rqstp, struct svc_fh *current_fh, struct nfsd4_open *open, int … in do_open_permission()
161 static __be32 nfsd_check_obj_isreg(struct svc_fh *fh) in nfsd_check_obj_isreg()
179 …ner_reply_cache(struct nfsd4_compound_state *cstate, struct nfsd4_open *open, struct svc_fh *resfh) in nfsd4_set_open_owner_reply_cache()
194 nfsd4_vfs_create(struct svc_fh *fhp, struct dentry *child, in nfsd4_vfs_create()
232 nfsd4_create_file(struct svc_rqst *rqstp, struct svc_fh *fhp, in nfsd4_create_file()
233 struct svc_fh *resfhp, struct nfsd4_open *open) in nfsd4_create_file()
384 …c_rqst *rqstp, struct nfsd4_compound_state *cstate, struct nfsd4_open *open, struct svc_fh **resfh) in do_open_lookup()
386 struct svc_fh *current_fh = &cstate->current_fh; in do_open_lookup()
390 *resfh = kmalloc(sizeof(struct svc_fh), GFP_KERNEL); in do_open_lookup()
[all …]
Dnfsxdr.c59 svcxdr_decode_fhandle(struct xdr_stream *xdr, struct svc_fh *fhp) in svcxdr_decode_fhandle()
74 svcxdr_encode_fhandle(struct xdr_stream *xdr, const struct svc_fh *fhp) in svcxdr_encode_fhandle()
122 svcxdr_decode_diropargs(struct xdr_stream *xdr, struct svc_fh *fhp, in svcxdr_decode_diropargs()
215 const struct svc_fh *fhp, const struct kstat *stat) in svcxdr_encode_fattr()
Dlockd.c33 struct svc_fh fh; in nlm_fopen()
Dnfs3acl.c34 svc_fh *fh; in nfsd3_proc_getacl()
90 svc_fh *fh; in nfsd3_proc_setacl()
Dnfs2acl.c36 svc_fh *fh; in nfsacld_proc_getacl()
98 svc_fh *fh; in nfsacld_proc_setacl()
Dflexfilelayout.c22 nfsd4_ff_proc_layoutget(struct inode *inode, const struct svc_fh *fhp, in nfsd4_ff_proc_layoutget()
Dfilecache.c1061 nfsd_file_do_acquire(struct svc_rqst *rqstp, struct svc_fh *fhp, in nfsd_file_do_acquire()
1197 nfsd_file_acquire_gc(struct svc_rqst *rqstp, struct svc_fh *fhp, in nfsd_file_acquire_gc()
1218 nfsd_file_acquire(struct svc_rqst *rqstp, struct svc_fh *fhp, in nfsd_file_acquire()
1240 nfsd_file_acquire_opened(struct svc_rqst *rqstp, struct svc_fh *fhp, in nfsd_file_acquire_opened()
Dnfsproc.c57 struct svc_fh *fhp; in nfsd_proc_setattr()
264 svc_fh *dirfhp = &argp->fh; in nfsd_proc_create()
265 svc_fh *newfhp = &resp->fh; in nfsd_proc_create()
483 struct svc_fh newfh; in nfsd_proc_symlink()
Dnfs4state.c724 static unsigned int file_hashval(struct svc_fh *fh) in file_hashval()
4278 static void nfsd4_init_file(struct svc_fh *fh, unsigned int hashval, in nfsd4_init_file()
4687 find_file_locked(struct svc_fh *fh, unsigned int hashval) in find_file_locked()
4701 static struct nfs4_file *insert_file(struct nfs4_file *new, struct svc_fh *fh, in insert_file()
4726 static struct nfs4_file * find_file(struct svc_fh *fh) in find_file()
4738 find_or_add_file(struct nfs4_file *new, struct svc_fh *fh) in find_or_add_file()
4757 nfs4_share_conflict(struct svc_fh *current_fh, unsigned int deny_type) in nfs4_share_conflict()
5142 nfsd4_truncate(struct svc_rqst *rqstp, struct svc_fh *fh, in nfsd4_truncate()
5160 struct svc_fh *cur_fh, struct nfs4_ol_stateid *stp, in nfs4_get_vfs_file()
5248 struct svc_fh *cur_fh, struct nfs4_ol_stateid *stp, in nfs4_upgrade_open()
[all …]
Dnfs3proc.c235 nfsd3_create_file(struct svc_rqst *rqstp, struct svc_fh *fhp, in nfsd3_create_file()
236 struct svc_fh *resfhp, struct nfsd3_createargs *argp) in nfsd3_create_file()
358 svc_fh *dirfhp, *newfhp; in nfsd3_proc_create()
Dblocklayout.c20 nfsd4_block_proc_layoutget(struct inode *inode, const struct svc_fh *fhp, in nfsd4_block_proc_layoutget()
Dnfs4layouts.c56 nfsd4_alloc_devid_map(const struct svc_fh *fhp) in nfsd4_alloc_devid_map()
112 nfsd4_set_deviceid(struct nfsd4_deviceid *id, const struct svc_fh *fhp, in nfsd4_set_deviceid()

12