Home
last modified time | relevance | path

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

12

/linux/include/linux/
H A Dnfs_xdr.h374 struct nfs_fh *fh;
430 struct nfs_fh *src_fh;
431 struct nfs_fh *dst_fh;
473 const struct nfs_fh * fh;
503 struct nfs_fh fh;
524 const struct nfs_fh * fh;
540 struct nfs_fh * fh;
570 struct nfs_fh * fh;
592 struct nfs_fh * fh;
606 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()
66 static inline u32 nfs_fhandle_hash(const struct nfs_fh *fh) in nfs_fhandle_hash()
71 static inline u32 nfs_fhandle_hash(const struct nfs_fh *fh) in nfs_fhandle_hash()
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()
/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) + server_fh->size; in nfs_fh_to_dentry()
126 struct nfs_fh fh; in nfs_get_parent()
H A Dcallback.h48 struct nfs_fh fh;
63 struct nfs_fh fh;
137 struct nfs_fh cbl_fh;
164 struct nfs_fh cbnl_fh;
174 struct nfs_fh coa_fh;
H A Dnfs4_fs.h65 int (*find_root_sec)(struct nfs_server *, struct nfs_fh *,
267 int (*get_locations)(struct nfs_server *, struct nfs_fh *,
300 extern int nfs4_proc_get_rootfh(struct nfs_server *, struct nfs_fh *, struct nfs_fsinfo *, bool);
307 extern int nfs4_server_capabilities(struct nfs_server *server, struct nfs_fh *fhandle);
310 extern int nfs4_proc_get_locations(struct nfs_server *, struct nfs_fh *,
316 struct nfs_fh *,
326 extern int nfs4_proc_getattr(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;
403 struct nfs_fh *fh; in nfs_proc_symlink()
531 nfs_proc_statfs(struct nfs_server *server, struct nfs_fh *fhandle, in nfs_proc_statfs()
559 nfs_proc_fsinfo(struct nfs_server *server, struct nfs_fh *fhandle, in nfs_proc_fsinfo()
590 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;
777 nfs3_proc_statfs(struct nfs_server *server, struct nfs_fh *fhandle, in nfs3_proc_statfs()
795 do_proc_fsinfo(struct rpc_clnt *client, struct nfs_fh *fhandle, in do_proc_fsinfo()
817 nfs3_proc_fsinfo(struct nfs_server *server, struct nfs_fh *fhandle, in nfs3_proc_fsinfo()
[all …]
H A Dnfs3_fs.h31 struct nfs_server *nfs3_clone_server(struct nfs_server *, struct nfs_fh *,
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 Dnfstrace.h1143 const struct nfs_fh *fh = hdr->args.fh ?
1185 const struct nfs_fh *fh = hdr->args.fh ?
1231 const struct nfs_fh *fh = hdr->args.fh ?
1279 const struct nfs_fh *fh = hdr->args.fh ?
1319 const struct nfs_fh *fh = hdr->args.fh ?
1364 const struct nfs_fh *fh = hdr->args.fh ?
1464 const struct nfs_fh *fh = data->args.fh ?
1505 const struct nfs_fh *fh = data->args.fh ?
1559 const struct nfs_fh *fh = &nfsi->fh;
1599 const struct nfs_fh *f
[all...]
H A Dmount_clnt.c126 struct nfs_fh *fh;
347 struct nfs_fh *fh = res->fh; in decode_fhandle()
397 struct nfs_fh *fh = res->fh; in decode_fhandle3()
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()
H A Dnfs4trace.h235 const struct nfs_fh *cb_fh,
1286 const struct nfs_fh *fhandle,
1325 const struct nfs_fh *fhandle, \
1337 const struct nfs_fh *fhandle,
1381 const struct nfs_fh *fhandle, \
1391 const struct nfs_fh *fhandle,
1443 const struct nfs_fh *fhandle, \
1530 const struct nfs_fh *fh = hdr->args.fh ?
1604 const struct nfs_fh *fh = hdr->args.fh ?
1676 const struct nfs_fh *fh = data->args.fh ?
[all …]
H A Dnfs3client.c64 struct nfs_fh *fh, in nfs3_clone_server()
H A Dinode.c308 struct nfs_fh *fh;
322 struct nfs_fh *fh = desc->fh; in nfs_find_actor()
406 nfs_ilookup(struct super_block *sb, struct nfs_fattr *fattr, struct nfs_fh *fh) in nfs_ilookup()
448 nfs_fhget(struct super_block *sb, struct nfs_fh *fh, struct nfs_fattr *fattr) in nfs_fhget()
1712 struct nfs_fh *nfs_alloc_fhandle(void) in nfs_alloc_fhandle()
1714 struct nfs_fh *fh; in nfs_alloc_fhandle()
1716 fh = kmalloc(sizeof(struct nfs_fh), GFP_KERNEL); in nfs_alloc_fhandle()
1732 u32 _nfs_display_fhandle_hash(const struct nfs_fh *fh) in _nfs_display_fhandle_hash()
1748 void _nfs_display_fhandle(const struct nfs_fh *fh, const char *caption) in _nfs_display_fhandle()
H A Dnfs4proc.c94 static int nfs4_do_fsinfo(struct nfs_server *, struct nfs_fh *, struct nfs_fsinfo *);
96 static int _nfs4_proc_getattr(struct nfs_server *server, struct nfs_fh *fhandle,
2794 struct nfs_fh *fh = &o_res->fh; in _nfs4_proc_open()
3937 static int _nfs4_server_capabilities(struct nfs_server *server, struct nfs_fh *fhandle) in _nfs4_server_capabilities()
4063 int nfs4_server_capabilities(struct nfs_server *server, struct nfs_fh *fhandle) in nfs4_server_capabilities()
4147 struct nfs_fh *fhandle) in _nfs4_discover_trunking()
4198 struct nfs_fh *fhandle) in nfs4_discover_trunking()
4217 static int _nfs4_lookup_root(struct nfs_server *server, struct nfs_fh *fhandle, in _nfs4_lookup_root()
4246 static int nfs4_lookup_root(struct nfs_server *server, struct nfs_fh *fhandle, in nfs4_lookup_root()
4268 static int nfs4_lookup_root_sec(struct nfs_server *server, struct nfs_fh *fhandle, in nfs4_lookup_root_sec()
[all …]
H A Ddelegation.h56 struct inode *nfs_delegation_find_inode(struct nfs_client *clp, const struct nfs_fh *fhandle);
/linux/fs/nfsd/
H A Dlocalio.c43 * nfsd_open_local_fh - lookup a local filehandle @nfs_fh and map to nfsd_file
49 * @nfs_fh: filehandle to lookup
63 const struct nfs_fh *nfs_fh, const fmode_t fmode) in nfsd_open_local_fh()
71 if (nfs_fh->size > NFS4_FHSIZE) in nfsd_open_local_fh()
74 /* nfs_fh -> svc_fh */ in nfsd_open_local_fh()
76 fh.fh_handle.fh_size = nfs_fh->size; in nfsd_open_local_fh()
77 memcpy(fh.fh_handle.fh_raw, nfs_fh->data, nfs_fh->size); in nfsd_open_local_fh()
61 nfsd_open_local_fh(struct net * net,struct auth_domain * dom,struct rpc_clnt * rpc_clnt,const struct cred * cred,const struct nfs_fh * nfs_fh,const fmode_t fmode) nfsd_open_local_fh() argument
H A Dflexfilelayoutxdr.h42 struct nfs_fh fh;
/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(sizeof(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/flexfilelayout/
H A Dflexfilelayout.h82 struct nfs_fh *fh_versions;
206 struct nfs_fh *
/linux/include/linux/lockd/
H A Dbind.h30 struct nfs_fh *,

12