/linux/include/linux/ |
H A D | nfs_xdr.h | 377 struct nfs_fh *fh; 433 struct nfs_fh *src_fh; 434 struct nfs_fh *dst_fh; 476 const struct nfs_fh * fh; 506 struct nfs_fh fh; 527 const struct nfs_fh * fh; 543 struct nfs_fh * fh; 573 struct nfs_fh * fh; 595 struct nfs_fh * fh; 609 struct nfs_fh * f [all...] |
H A D | nfs.h | 29 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 D | nfs_fs.h | 155 struct nfs_fh fh; 358 static inline struct nfs_fh *NFS_FH(const struct inode *inode) in NFS_FH() 442 extern struct inode *nfs_fhget(struct super_block *, struct nfs_fh *, 444 struct inode *nfs_ilookup(struct super_block *sb, struct nfs_fattr *, struct nfs_fh *); 499 extern struct nfs_fh *nfs_alloc_fhandle(void); 501 static inline void nfs_free_fhandle(const struct nfs_fh *fh) in nfs_free_fhandle() 507 extern u32 _nfs_display_fhandle_hash(const struct nfs_fh *fh); 508 static inline u32 nfs_display_fhandle_hash(const struct nfs_fh *fh) in nfs_display_fhandle_hash() 512 extern void _nfs_display_fhandle(const struct nfs_fh *fh, const char *caption); 519 static inline u32 nfs_display_fhandle_hash(const struct nfs_fh *f [all...] |
H A D | nfs_ssc.h | 20 struct nfs_fh *src_fh, nfs4_stateid *stateid); 44 struct nfs_fh *src_fh, nfs4_stateid *stateid) in nfs42_ssc_open()
|
H A D | nfslocalio.h | 62 const struct nfs_fh *, 75 const struct nfs_fh *, struct nfs_file_localio *,
|
/linux/fs/nfs/ |
H A D | export.c | 25 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 D | callback.h | 48 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 D | nfs4_fs.h | 65 int (*find_root_sec)(struct nfs_server *, struct nfs_fh *, 266 int (*get_locations)(struct nfs_server *, struct nfs_fh *, 299 extern int nfs4_proc_get_rootfh(struct nfs_server *, struct nfs_fh *, 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 D | nfs3proc.c | 61 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; 780 nfs3_proc_statfs(struct nfs_server *server, struct nfs_fh *fhandle, in nfs3_proc_statfs() 798 do_proc_fsinfo(struct rpc_clnt *client, struct nfs_fh *fhandle, in do_proc_fsinfo() 820 nfs3_proc_fsinfo(struct nfs_server *server, struct nfs_fh *fhandl [all...] |
H A D | internal.h | 146 struct nfs_fh *mntfh; 202 struct nfs_fh *fh; 218 int nfs_probe_server(struct nfs_server *, struct nfs_fh *); 242 struct nfs_fh *, 461 struct nfs_fh *, 478 struct nfs_fh *fh, struct nfs_file_localio *nfl, in nfs_local_open_fh() 544 extern int nfs4_get_rootfh(struct nfs_server *server, struct nfs_fh *mntfh, bool);
|
H A D | nfs3_fs.h | 31 struct nfs_server *nfs3_clone_server(struct nfs_server *, struct nfs_fh *,
|
H A D | nfs4getroot.c | 13 int nfs4_get_rootfh(struct nfs_server *server, struct nfs_fh *mntfh, bool auth_probe) in nfs4_get_rootfh()
|
H A D | mount_clnt.c | 126 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 D | nfstrace.h | 1148 const struct nfs_fh *fh = hdr->args.fh ? 1190 const struct nfs_fh *fh = hdr->args.fh ? 1236 const struct nfs_fh *fh = hdr->args.fh ? 1284 const struct nfs_fh *fh = hdr->args.fh ? 1324 const struct nfs_fh *fh = hdr->args.fh ? 1369 const struct nfs_fh *fh = hdr->args.fh ? 1469 const struct nfs_fh *fh = data->args.fh ? 1510 const struct nfs_fh *fh = data->args.fh ? 1564 const struct nfs_fh *fh = &nfsi->fh; 1604 const struct nfs_fh *f [all...] |
H A D | nfs2xdr.c | 181 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 D | nfs3client.c | 64 struct nfs_fh *fh, in nfs3_clone_server()
|
/linux/fs/nfsd/ |
H A D | localio.c | 28 * nfsd_open_local_fh - lookup a local filehandle @nfs_fh and map to nfsd_file 34 * @nfs_fh: filehandle to lookup 49 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() 70 /* nfs_fh -> svc_fh */ 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 D | flexfilelayoutxdr.h | 42 struct nfs_fh fh;
|
H A D | lockd.c | 28 nlm_fopen(struct svc_rqst *rqstp, struct nfs_fh *f, struct file **filp, in nlm_fopen()
|
/linux/fs/nfs/filelayout/ |
H A D | filelayout.h | 67 struct nfs_fh **fh_array; 104 extern struct nfs_fh *
|
H A D | filelayout.c | 457 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 D | svcsubs.c | 36 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 D | nfslocalio.c | 267 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/include/linux/lockd/ |
H A D | bind.h | 30 struct nfs_fh *,
|
H A D | xdr.h | 42 struct nfs_fh fh;
|