Home
last modified time | relevance | path

Searched refs:nfs_fh (Results 1 – 25 of 59) sorted by relevance

123

/linux/include/linux/
H A Dnfs_xdr.h378 struct nfs_fh *fh;
434 struct nfs_fh *src_fh;
435 struct nfs_fh *dst_fh;
477 const struct nfs_fh * fh;
507 struct nfs_fh fh;
528 const struct nfs_fh * fh;
544 struct nfs_fh * fh;
574 struct nfs_fh * fh;
596 struct nfs_fh * fh;
610 struct nfs_fh * fh;
[all …]
H A Dnfs.h29 struct nfs_fh { struct
38 static inline int nfs_compare_fh(const struct nfs_fh *a, const struct nfs_fh *b) in nfs_compare_fh() argument
43 static inline void nfs_copy_fh(struct nfs_fh *target, const struct nfs_fh *source) in nfs_copy_fh()
65 static inline u32 nfs_fhandle_hash(const struct nfs_fh *fh) in nfs_fhandle_hash()
H A Dnfs_fs.h155 struct nfs_fh fh;
359 static inline struct nfs_fh *NFS_FH(const struct inode *inode) in NFS_FH()
443 extern struct inode *nfs_fhget(struct super_block *, struct nfs_fh *,
445 struct inode *nfs_ilookup(struct super_block *sb, struct nfs_fattr *, struct nfs_fh *);
500 extern struct nfs_fh *nfs_alloc_fhandle(void);
502 static inline void nfs_free_fhandle(const struct nfs_fh *fh) in nfs_free_fhandle()
508 extern u32 _nfs_display_fhandle_hash(const struct nfs_fh *fh);
509 static inline u32 nfs_display_fhandle_hash(const struct nfs_fh *fh) in nfs_display_fhandle_hash()
513 extern void _nfs_display_fhandle(const struct nfs_fh *fh, const char *caption);
520 static inline u32 nfs_display_fhandle_hash(const struct nfs_fh *fh) in nfs_display_fhandle_hash()
[all …]
H A Dnfs_ssc.h20 struct nfs_fh *src_fh, nfs4_stateid *stateid);
44 struct nfs_fh *src_fh, nfs4_stateid *stateid) in nfs42_ssc_open()
H A Dnfslocalio.h62 const struct nfs_fh *,
76 const struct nfs_fh *, struct nfs_file_localio *,
/linux/fs/nfs/
H A Dexport.c25 static struct nfs_fh *nfs_exp_embedfh(__u32 *p) in nfs_exp_embedfh()
27 return (struct nfs_fh *)(p + EMBED_FH_OFF); in nfs_exp_embedfh()
37 struct nfs_fh *server_fh = NFS_FH(inode); in nfs_encode_fh()
38 struct nfs_fh *clnt_fh = nfs_exp_embedfh(p); in nfs_encode_fh()
39 size_t fh_size = offsetof(struct nfs_fh, data) + server_fh->size; in nfs_encode_fh()
68 struct nfs_fh *server_fh = nfs_exp_embedfh(fid->raw); in nfs_fh_to_dentry()
69 size_t fh_size = offsetof(struct nfs_fh, data); in nfs_fh_to_dentry()
133 struct nfs_fh fh; in nfs_get_parent()
H A Dcallback.h48 struct nfs_fh fh;
63 struct nfs_fh fh;
135 struct nfs_fh cbl_fh;
162 struct nfs_fh cbnl_fh;
171 struct nfs_fh coa_fh;
H A Dnfs4_fs.h69 int (*find_root_sec)(struct nfs_server *, struct nfs_fh *,
277 int (*get_locations)(struct nfs_server *, struct nfs_fh *,
328 extern int nfs4_proc_get_rootfh(struct nfs_server *, struct nfs_fh *,
336 extern int nfs4_server_capabilities(struct nfs_server *server, struct nfs_fh *fhandle);
339 extern int nfs4_proc_get_locations(struct nfs_server *, struct nfs_fh *,
345 struct nfs_fh *,
355 extern int nfs4_proc_getattr(struct nfs_server *server, struct nfs_fh *fhandle,
381 extern int nfs4_find_root_sec(struct nfs_server *server, struct nfs_fh *fhandle,
H A Dproc.c54 nfs_proc_get_root(struct nfs_server *server, struct nfs_fh *fhandle, in nfs_proc_get_root()
103 nfs_proc_getattr(struct nfs_server *server, struct nfs_fh *fhandle, in nfs_proc_getattr()
157 struct nfs_fh *fhandle, struct nfs_fattr *fattr) in nfs_proc_lookup()
211 struct nfs_fh fhandle;
404 struct nfs_fh *fh; in nfs_proc_symlink()
536 nfs_proc_statfs(struct nfs_server *server, struct nfs_fh *fhandle, in nfs_proc_statfs()
564 nfs_proc_fsinfo(struct nfs_server *server, struct nfs_fh *fhandle, in nfs_proc_fsinfo()
595 nfs_proc_pathconf(struct nfs_server *server, struct nfs_fh *fhandle, in nfs_proc_pathconf()
H A Dnfs3proc.c61 do_proc_get_root(struct rpc_clnt *client, struct nfs_fh *fhandle, in do_proc_get_root()
88 nfs3_proc_get_root(struct nfs_server *server, struct nfs_fh *fhandle, in nfs3_proc_get_root()
103 nfs3_proc_getattr(struct nfs_server *server, struct nfs_fh *fhandle, in nfs3_proc_getattr()
157 struct nfs_fh *fhandle, struct nfs_fattr *fattr, in __nfs3_proc_lookup()
196 struct nfs_fh *fhandle, struct nfs_fattr *fattr) in nfs3_proc_lookup()
209 static int nfs3_proc_lookupp(struct inode *inode, struct nfs_fh *fhandle, in nfs3_proc_lookupp()
293 struct nfs_fh fh;
786 nfs3_proc_statfs(struct nfs_server *server, struct nfs_fh *fhandle, in nfs3_proc_statfs()
804 do_proc_fsinfo(struct rpc_clnt *client, struct nfs_fh *fhandle, in do_proc_fsinfo()
826 nfs3_proc_fsinfo(struct nfs_server *server, struct nfs_fh *fhandle, in nfs3_proc_fsinfo()
[all …]
H A Dinternal.h146 struct nfs_fh *mntfh;
201 struct nfs_fh *fh;
217 int nfs_probe_server(struct nfs_server *, struct nfs_fh *);
241 struct nfs_fh *,
468 struct nfs_fh *,
485 struct nfs_fh *fh, struct nfs_file_localio *nfl, in nfs_local_open_fh()
561 extern int nfs4_get_rootfh(struct nfs_server *server, struct nfs_fh *mntfh, bool);
H A Dmount_clnt.c126 struct nfs_fh *fh;
279 struct nfs_fh *fh = res->fh; in decode_fhandle()
329 struct nfs_fh *fh = res->fh; in decode_fhandle3()
H A Dnfs4getroot.c13 int nfs4_get_rootfh(struct nfs_server *server, struct nfs_fh *mntfh, bool auth_probe) in nfs4_get_rootfh()
H A Dnfs3_fs.h31 struct nfs_server *nfs3_clone_server(struct nfs_server *, struct nfs_fh *,
H A Dnfstrace.h1236 const struct nfs_fh *fh = hdr->args.fh ?
1278 const struct nfs_fh *fh = hdr->args.fh ?
1324 const struct nfs_fh *fh = hdr->args.fh ?
1372 const struct nfs_fh *fh = hdr->args.fh ?
1412 const struct nfs_fh *fh = hdr->args.fh ?
1457 const struct nfs_fh *fh = hdr->args.fh ?
1606 const struct nfs_fh *fh = data->args.fh ?
1647 const struct nfs_fh *fh = data->args.fh ?
1701 const struct nfs_fh *fh = &nfsi->fh;
1765 const struct nfs_fh *fh = &nfsi->fh;
[all …]
H A Dnfs2xdr.c181 static void encode_fhandle(struct xdr_stream *xdr, const struct nfs_fh *fh) in encode_fhandle()
189 static int decode_fhandle(struct xdr_stream *xdr, struct nfs_fh *fh) in decode_fhandle()
490 static void encode_diropargs(struct xdr_stream *xdr, const struct nfs_fh *fh, in encode_diropargs()
553 const struct nfs_fh *fh = data; in nfs2_xdr_enc_fhandle()
/linux/fs/nfsd/
H A Dlocalio.c49 const struct nfs_fh *nfs_fh, struct nfsd_file __rcu **pnf, in nfsd_open_local_fh() argument
58 if (nfs_fh->size > NFS4_FHSIZE) in nfsd_open_local_fh()
72 fh.fh_handle.fh_size = nfs_fh->size; in nfsd_open_local_fh()
73 memcpy(fh.fh_handle.fh_raw, nfs_fh->data, nfs_fh->size); in nfsd_open_local_fh()
H A Dflexfilelayoutxdr.h42 struct nfs_fh fh;
H A Dlockd.c28 nlm_fopen(struct svc_rqst *rqstp, struct nfs_fh *f, struct file **filp, in nlm_fopen()
/linux/fs/nfs/filelayout/
H A Dfilelayout.h67 struct nfs_fh **fh_array;
104 extern struct nfs_fh *
H A Dfilelayout.c457 struct nfs_fh *fh; in filelayout_read_pagelist()
504 struct nfs_fh *fh; in filelayout_write_pagelist()
705 fl->fh_array[i] = kmalloc_obj(struct nfs_fh, gfp_flags); in filelayout_decode_layout()
972 static struct nfs_fh *
993 struct nfs_fh *fh; in filelayout_initiate_commit()
/linux/fs/lockd/
H A Dsvcsubs.c36 static inline void nlm_debug_print_fh(char *msg, struct nfs_fh *f) in nlm_debug_print_fh()
54 static inline void nlm_debug_print_fh(char *msg, struct nfs_fh *f) in nlm_debug_print_fh()
65 static inline unsigned int file_hash(struct nfs_fh *f) in file_hash()
135 memcpy(&file->f_handle, &lock->fh, sizeof(struct nfs_fh)); in nlm_lookup_file()
/linux/fs/nfs_common/
H A Dnfslocalio.c267 const struct nfs_fh *nfs_fh, struct nfs_file_localio *nfl, in nfs_open_local_fh() argument
293 nfs_fh, pnf, fmode); in nfs_open_local_fh()
/linux/fs/nfs/flexfilelayout/
H A Dflexfilelayout.h84 struct nfs_fh *fh_versions;
228 struct nfs_fh *
/linux/include/linux/lockd/
H A Dbind.h30 struct nfs_fh *,

123