Home
last modified time | relevance | path

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

/linux/fs/nfsd/
H A Dvfs.h81 __be32 nfsd_lookup(struct svc_rqst *, struct svc_fh *,
82 const char *, unsigned int, struct svc_fh *);
83 __be32 nfsd_lookup_dentry(struct svc_rqst *, struct svc_fh *,
86 __be32 nfsd_setattr(struct svc_rqst *, struct svc_fh *,
90 __be32 nfsd4_vfs_fallocate(struct svc_rqst *, struct svc_fh *,
97 __be32 nfsd_create_locked(struct svc_rqst *, struct svc_fh *,
99 struct svc_fh *res);
100 __be32 nfsd_create(struct svc_rqst *, struct svc_fh *,
102 int type, dev_t rdev, struct svc_fh *res);
103 __be32 nfsd_access(struct svc_rqst *, struct svc_fh *, u32 *, u32 *);
[all …]
H A Dxdr3.h15 struct svc_fh fh;
22 struct svc_fh fh;
28 struct svc_fh fh;
33 struct svc_fh fh;
39 svc_fh fh;
48 struct svc_fh fh;
57 struct svc_fh fh;
66 struct svc_fh ffh;
69 struct svc_fh tfh;
75 struct svc_fh ffh;
[all …]
H A Dnfsfh.h81 typedef struct svc_fh { struct
113 } svc_fh; argument
136 extern enum fsid_source fsid_source(const struct svc_fh *fhp);
219 extern char * SVCFH_fmt(struct svc_fh *fhp);
224 __be32 fh_verify(struct svc_rqst *, struct svc_fh *, umode_t, int);
226 struct svc_fh *, umode_t, int);
227 __be32 fh_getattr(const struct svc_fh *fhp, struct kstat *stat);
228 __be32 fh_compose(struct svc_fh *, struct svc_export *, struct dentry *, struct svc_fh *);
229 __be32 fh_update(struct svc_fh *);
230 void fh_put(struct svc_fh *);
[all …]
H A Dxdr.h13 struct svc_fh fh;
17 struct svc_fh fh;
22 struct svc_fh fh;
28 struct svc_fh fh;
34 svc_fh fh;
41 struct svc_fh fh;
48 struct svc_fh ffh;
51 struct svc_fh tfh;
57 struct svc_fh ffh;
58 struct svc_fh tfh;
[all …]
H A Dfilecache.h78 __be32 nfsd_file_acquire_gc(struct svc_rqst *rqstp, struct svc_fh *fhp,
80 __be32 nfsd_file_acquire(struct svc_rqst *rqstp, struct svc_fh *fhp,
82 __be32 nfsd_file_acquire_opened(struct svc_rqst *rqstp, struct svc_fh *fhp,
86 struct auth_domain *client, struct svc_fh *fhp,
88 __be32 nfsd_file_acquire_dir(struct svc_rqst *rqstp, struct svc_fh *fhp,
H A Dnfsfh.c177 static bool fh_verify_mac(struct svc_fh *fhp, struct net *net) in fh_verify_mac()
203 struct svc_fh *fhp) in nfsd_set_fh_dentry()
388 struct svc_fh *fhp, umode_t type, int access) in __fh_verify()
502 struct auth_domain *client, struct svc_fh *fhp, in fh_verify_local()
537 fh_verify(struct svc_rqst *rqstp, struct svc_fh *fhp, umode_t type, int access) in fh_verify()
551 static void _fh_update(struct svc_fh *fhp, struct svc_export *exp, in _fh_update()
611 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()
666 fh_compose(struct svc_fh *fhp, struct svc_export *exp, struct dentry *dentry, in fh_compose()
667 struct svc_fh *ref_fh) in fh_compose()
732 fh_update(struct svc_fh *fhp) in fh_update()
[all …]
H A Dvfs.c245 nfsd_lookup_dentry(struct svc_rqst *rqstp, struct svc_fh *fhp, in nfsd_lookup_dentry()
317 nfsd_lookup(struct svc_rqst *rqstp, struct svc_fh *fhp, const char *name, in nfsd_lookup()
318 unsigned int len, struct svc_fh *resfh) in nfsd_lookup()
378 commit_metadata(struct svc_fh *fhp) in commit_metadata()
423 nfsd_may_truncate(struct svc_rqst *rqstp, struct svc_fh *fhp, in nfsd_may_truncate()
436 nfsd_get_write_access(struct svc_fh *fhp) in nfsd_get_write_access()
505 nfsd_setattr(struct svc_rqst *rqstp, struct svc_fh *fhp, in nfsd_setattr()
759 __be32 nfsd4_vfs_fallocate(struct svc_rqst *rqstp, struct svc_fh *fhp, in nfsd4_vfs_fallocate()
831 nfsd_access(struct svc_rqst *rqstp, struct svc_fh *fhp, u32 *access, u32 *supported) in nfsd_access()
906 __nfsd_open(struct svc_fh *fhp, umode_t type, int may_flags, struct file **filp) in __nfsd_open()
[all …]
H A 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()
336 const struct svc_fh *fhp, const struct kstat *stat) in svcxdr_encode_fattr3()
387 svcxdr_encode_wcc_attr(struct xdr_stream *xdr, const struct svc_fh *fhp) in svcxdr_encode_wcc_attr()
402 svcxdr_encode_pre_op_attr(struct xdr_stream *xdr, const struct svc_fh *fhp) in svcxdr_encode_pre_op_attr()
427 const struct svc_fh *fhp) in svcxdr_encode_post_op_attr()
459 const struct svc_fh *fhp) in svcxdr_encode_wcc_data()
[all …]
H A Dxdr4.h182 struct svc_fh current_fh;
183 struct svc_fh save_fh;
264 struct svc_fh *ga_fhp; /* response */
431 struct svc_fh *rd_fhp; /* response */
455 struct svc_fh * rd_fhp; /* response */
469 struct svc_fh * rl_fhp; /* request */
861 struct svc_fh * getfh;
980 struct svc_fh *fhp, struct svc_export *exp,
1013 struct svc_fh *current_fh, struct nfsd4_open *open);
H A Dtrace.h268 const struct svc_fh *fhp,
306 const struct svc_fh *fhp,
350 struct svc_fh *fhp,
371 struct svc_fh *fhp, \
473 struct svc_fh *fhp,
497 struct svc_fh *fhp, \
519 struct svc_fh *fhp,
543 struct svc_fh *fhp, \
552 TP_PROTO(struct svc_fh *fhp,
574 struct svc_fh *src_fhp,
[all …]
H A Dfilecache.c1141 nfsd_file_get_dio_attrs(const struct svc_fh *fhp, struct nfsd_file *nf) in nfsd_file_get_dio_attrs()
1173 struct svc_fh *fhp, in nfsd_file_do_acquire()
1332 nfsd_file_acquire_gc(struct svc_rqst *rqstp, struct svc_fh *fhp, in nfsd_file_acquire_gc()
1357 nfsd_file_acquire(struct svc_rqst *rqstp, struct svc_fh *fhp, in nfsd_file_acquire()
1393 struct auth_domain *client, struct svc_fh *fhp, in nfsd_file_acquire_local()
1429 nfsd_file_acquire_opened(struct svc_rqst *rqstp, struct svc_fh *fhp, in nfsd_file_acquire_opened()
1455 nfsd_file_acquire_dir(struct svc_rqst *rqstp, struct svc_fh *fhp, in nfsd_file_acquire_dir()
H A Dnfs4proc.c143 fh_dup2(struct svc_fh *dst, struct svc_fh *src) in fh_dup2()
153 do_open_permission(struct svc_rqst *rqstp, struct svc_fh *current_fh, struct nfsd4_open *open, int … in do_open_permission()
172 static __be32 nfsd_check_obj_isreg(struct svc_fh *fh, u32 minor_version) in nfsd_check_obj_isreg()
191 …ner_reply_cache(struct nfsd4_compound_state *cstate, struct nfsd4_open *open, struct svc_fh *resfh) in nfsd4_set_open_owner_reply_cache()
206 nfsd4_vfs_create(struct svc_fh *fhp, struct dentry **child, in nfsd4_vfs_create()
249 nfsd4_create_file(struct svc_rqst *rqstp, struct svc_fh *fhp, in nfsd4_create_file()
250 struct svc_fh *resfhp, struct nfsd4_open *open) in nfsd4_create_file()
433 set_change_info(struct nfsd4_change_info *cinfo, struct svc_fh *fhp) in set_change_info()
456 …c_rqst *rqstp, struct nfsd4_compound_state *cstate, struct nfsd4_open *open, struct svc_fh **resfh) in do_open_lookup()
458 struct svc_fh *current_fh = &cstate->current_fh; in do_open_lookup()
[all …]
H A Dlockd.c34 struct svc_fh fh; in nlm_fopen()
H A Dnfsxdr.c71 svcxdr_decode_fhandle(struct xdr_stream *xdr, struct svc_fh *fhp) in svcxdr_decode_fhandle()
86 svcxdr_encode_fhandle(struct xdr_stream *xdr, const struct svc_fh *fhp) in svcxdr_encode_fhandle()
134 svcxdr_decode_diropargs(struct xdr_stream *xdr, struct svc_fh *fhp, in svcxdr_decode_diropargs()
229 const struct svc_fh *fhp, const struct kstat *stat) in svcxdr_encode_fattr()
H A Dnfs3acl.c34 svc_fh *fh; in nfsd3_proc_getacl()
92 svc_fh *fh; in nfsd3_proc_setacl()
H A Dnfs2acl.c36 svc_fh *fh; in nfsacld_proc_getacl()
100 svc_fh *fh; in nfsacld_proc_setacl()
H A Dnfsproc.c84 struct svc_fh *fhp; in nfsd_proc_setattr()
288 svc_fh *dirfhp = &argp->fh; in nfsd_proc_create()
289 svc_fh *newfhp = &resp->fh; in nfsd_proc_create()
497 struct svc_fh newfh; in nfsd_proc_symlink()
H A Dflexfilelayout.c24 const struct svc_fh *fhp, struct nfsd4_layoutget *args) in nfsd4_ff_proc_layoutget()
H A Dlocalio.c54 struct svc_fh fh; in nfsd_open_local_fh()
H A Dnfs3proc.c277 nfsd3_create_file(struct svc_rqst *rqstp, struct svc_fh *fhp, in nfsd3_create_file()
278 struct svc_fh *resfhp, struct nfsd3_createargs *argp) in nfsd3_create_file()
404 svc_fh *dirfhp, *newfhp; in nfsd3_proc_create()
H A Dnfs4state.c5447 static void nfsd4_file_init(const struct svc_fh *fh, struct nfs4_file *fp) in nfsd4_file_init()
5939 nfsd4_file_hash_lookup(const struct svc_fh *fhp) in nfsd4_file_hash_lookup()
5969 nfsd4_file_hash_insert(struct nfs4_file *new, const struct svc_fh *fhp) in nfsd4_file_hash_insert()
6019 nfs4_share_conflict(struct svc_fh *current_fh, unsigned int deny_type) in nfs4_share_conflict()
6411 nfsd4_truncate(struct svc_rqst *rqstp, struct svc_fh *fh, in nfsd4_truncate()
6429 struct svc_fh *cur_fh, struct nfs4_ol_stateid *stp, in nfs4_get_vfs_file()
6517 struct svc_fh *cur_fh, struct nfs4_ol_stateid *stp, in nfs4_upgrade_open()
6662 struct svc_fh *parent) in nfsd4_verify_deleg_dentry()
6713 struct svc_fh *parent) in nfs4_set_delegation()
6884 nfs4_delegation_stat(struct nfs4_delegation *dp, struct svc_fh *currentfh, in nfs4_delegation_stat()
[all …]
H A Dnfs4layouts.c58 nfsd4_alloc_devid_map(const struct svc_fh *fhp) in nfsd4_alloc_devid_map()
114 nfsd4_set_deviceid(struct nfsd4_deviceid *id, const struct svc_fh *fhp, in nfsd4_set_deviceid()
H A Dstate.h881 struct nfsd4_compound_state *cstate, struct svc_fh *fhp,
H A Dnfs4xdr.c3941 struct svc_fh *fhp, struct svc_export *exp, in nfsd4_encode_fattr4()
3948 struct svc_fh *tempfh = NULL; in nfsd4_encode_fattr4()
4040 tempfh = kmalloc_obj(struct svc_fh); in nfsd4_encode_fattr4()
4512 struct svc_fh *fhp, struct svc_export *exp, in nfsd4_encode_fattr_to_buf()
4850 struct svc_fh *fhp = getattr->ga_fhp; in nfsd4_encode_getattr()
4863 struct svc_fh *fhp = u->getfh; in nfsd4_encode_getfh()