Home
last modified time | relevance | path

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

/linux-4.4.14/include/linux/
Dnfs_xdr.h345 struct nfs_fh *fh;
366 struct nfs_fh *src_fh;
367 struct nfs_fh *dst_fh;
393 const struct nfs_fh * fh;
421 struct nfs_fh fh;
445 const struct nfs_fh * fh;
461 struct nfs_fh * fh;
487 struct nfs_fh * fh;
509 struct nfs_fh * fh;
523 struct nfs_fh * fh;
[all …]
Dnfs.h18 struct nfs_fh { struct
27 static inline int nfs_compare_fh(const struct nfs_fh *a, const struct nfs_fh *b) in nfs_compare_fh() argument
32 static inline void nfs_copy_fh(struct nfs_fh *target, const struct nfs_fh *source) in nfs_copy_fh()
Dnfs_fs.h123 struct nfs_fh fh;
234 static inline struct nfs_fh *NFS_FH(const struct inode *inode) in NFS_FH()
345 extern struct inode *nfs_fhget(struct super_block *, struct nfs_fh *,
388 extern struct nfs_fh *nfs_alloc_fhandle(void);
390 static inline void nfs_free_fhandle(const struct nfs_fh *fh) in nfs_free_fhandle()
396 extern u32 _nfs_display_fhandle_hash(const struct nfs_fh *fh);
397 static inline u32 nfs_display_fhandle_hash(const struct nfs_fh *fh) in nfs_display_fhandle_hash()
401 extern void _nfs_display_fhandle(const struct nfs_fh *fh, const char *caption);
408 static inline u32 nfs_display_fhandle_hash(const struct nfs_fh *fh) in nfs_display_fhandle_hash()
412 static inline void nfs_display_fhandle(const struct nfs_fh *fh, in nfs_display_fhandle()
[all …]
/linux-4.4.14/fs/nfs/
Dinternal.h41 struct nfs_fh *fh;
128 struct nfs_fh *fh;
140 struct nfs_fh *mntfh;
154 int nfs_probe_fsinfo(struct nfs_server *server, struct nfs_fh *, struct nfs_fattr *);
176 struct nfs_fh *);
182 struct nfs_fh *,
419 struct nfs_fh *, struct nfs_fattr *);
420 struct vfsmount *nfs_do_submount(struct dentry *, struct nfs_fh *,
424 extern struct dentry *nfs_get_root(struct super_block *, struct nfs_fh *,
427 extern struct dentry *nfs4_get_root(struct super_block *, struct nfs_fh *,
[all …]
Dcallback.h64 struct nfs_fh fh;
78 struct nfs_fh fh;
153 struct nfs_fh cbl_fh;
Dproc.c53 nfs_proc_get_root(struct nfs_server *server, struct nfs_fh *fhandle, in nfs_proc_get_root()
100 nfs_proc_getattr(struct nfs_server *server, struct nfs_fh *fhandle, in nfs_proc_getattr()
149 struct nfs_fh *fhandle, struct nfs_fattr *fattr, in nfs_proc_lookup()
199 struct nfs_fh fhandle;
386 struct nfs_fh *fh; in nfs_proc_symlink()
514 nfs_proc_statfs(struct nfs_server *server, struct nfs_fh *fhandle, in nfs_proc_statfs()
542 nfs_proc_fsinfo(struct nfs_server *server, struct nfs_fh *fhandle, in nfs_proc_fsinfo()
573 nfs_proc_pathconf(struct nfs_server *server, struct nfs_fh *fhandle, in nfs_proc_pathconf()
Dnfs4_fs.h56 int (*find_root_sec)(struct nfs_server *, struct nfs_fh *,
229 struct nfs_fh *, struct nfs_fattr *);
241 extern int nfs4_proc_get_rootfh(struct nfs_server *, struct nfs_fh *, struct nfs_fsinfo *, bool);
248 extern int nfs4_server_capabilities(struct nfs_server *server, struct nfs_fh *fhandle);
255 struct nfs_fh *, struct nfs_fattr *);
Dnamespace.c143 struct nfs_fh *fh = NULL; in nfs_d_automount()
240 struct vfsmount *nfs_do_submount(struct dentry *dentry, struct nfs_fh *fh, in nfs_do_submount()
276 struct nfs_fh *fh, struct nfs_fattr *fattr) in nfs_submount()
Dnfs3proc.c60 do_proc_get_root(struct rpc_clnt *client, struct nfs_fh *fhandle, in do_proc_get_root()
87 nfs3_proc_get_root(struct nfs_server *server, struct nfs_fh *fhandle, in nfs3_proc_get_root()
102 nfs3_proc_getattr(struct nfs_server *server, struct nfs_fh *fhandle, in nfs3_proc_getattr()
148 struct nfs_fh *fhandle, struct nfs_fattr *fattr, in nfs3_proc_lookup()
277 struct nfs_fh fh;
730 nfs3_proc_statfs(struct nfs_server *server, struct nfs_fh *fhandle, in nfs3_proc_statfs()
748 do_proc_fsinfo(struct rpc_clnt *client, struct nfs_fh *fhandle, in do_proc_fsinfo()
770 nfs3_proc_fsinfo(struct nfs_server *server, struct nfs_fh *fhandle, in nfs3_proc_fsinfo()
782 nfs3_proc_pathconf(struct nfs_server *server, struct nfs_fh *fhandle, in nfs3_proc_pathconf()
Dmount_clnt.c126 struct nfs_fh *fh;
133 struct nfs_fh *fh;
346 struct nfs_fh *fh = res->fh; in decode_fhandle()
395 struct nfs_fh *fh = res->fh; in decode_fhandle3()
Dnfs3_fs.h30 struct nfs_server *nfs3_clone_server(struct nfs_server *, struct nfs_fh *,
Dnfs4getroot.c12 int nfs4_get_rootfh(struct nfs_server *server, struct nfs_fh *mntfh, bool auth_probe) in nfs4_get_rootfh()
Dgetroot.c71 struct dentry *nfs_get_root(struct super_block *sb, struct nfs_fh *mntfh, in nfs_get_root()
Ddelegation.h43 struct inode *nfs_delegation_find_inode(struct nfs_client *clp, const struct nfs_fh *fhandle);
Dnfs3client.c59 struct nfs_fh *fh, in nfs3_clone_server()
Dpnfs.h123 int (*set_layoutdriver) (struct nfs_server *, const struct nfs_fh *);
238 void set_pnfs_layoutdriver(struct nfs_server *, const struct nfs_fh *, u32);
650 const struct nfs_fh *mntfh, u32 id) in set_pnfs_layoutdriver()
Dnfs2xdr.c194 static void encode_fhandle(struct xdr_stream *xdr, const struct nfs_fh *fh) in encode_fhandle()
202 static int decode_fhandle(struct xdr_stream *xdr, struct nfs_fh *fh) in decode_fhandle()
512 static void encode_diropargs(struct xdr_stream *xdr, const struct nfs_fh *fh, in encode_diropargs()
571 const struct nfs_fh *fh) in nfs2_xdr_enc_fhandle()
Dinode.c244 struct nfs_fh *fh;
258 struct nfs_fh *fh = desc->fh; in nfs_find_actor()
350 nfs_fhget(struct super_block *sb, struct nfs_fh *fh, struct nfs_fattr *fattr, struct nfs4_label *la… in nfs_fhget()
1337 struct nfs_fh *nfs_alloc_fhandle(void) in nfs_alloc_fhandle()
1339 struct nfs_fh *fh; in nfs_alloc_fhandle()
1341 fh = kmalloc(sizeof(struct nfs_fh), GFP_NOFS); in nfs_alloc_fhandle()
1357 u32 _nfs_display_fhandle_hash(const struct nfs_fh *fh) in _nfs_display_fhandle_hash()
1373 void _nfs_display_fhandle(const struct nfs_fh *fh, const char *caption) in _nfs_display_fhandle()
Dnfs4proc.c80 static int nfs4_do_fsinfo(struct nfs_server *, struct nfs_fh *, struct nfs_fsinfo *);
82 static int nfs4_proc_getattr(struct nfs_server *, struct nfs_fh *, struct nfs_fattr *, struct nfs4_…
83 static int _nfs4_proc_getattr(struct nfs_server *server, struct nfs_fh *fhandle, struct nfs_fattr *…
3020 static int _nfs4_server_capabilities(struct nfs_server *server, struct nfs_fh *fhandle) in _nfs4_server_capabilities()
3108 int nfs4_server_capabilities(struct nfs_server *server, struct nfs_fh *fhandle) in nfs4_server_capabilities()
3120 static int _nfs4_lookup_root(struct nfs_server *server, struct nfs_fh *fhandle, in _nfs4_lookup_root()
3149 static int nfs4_lookup_root(struct nfs_server *server, struct nfs_fh *fhandle, in nfs4_lookup_root()
3169 static int nfs4_lookup_root_sec(struct nfs_server *server, struct nfs_fh *fhandle, in nfs4_lookup_root_sec()
3197 static int nfs4_find_root_sec(struct nfs_server *server, struct nfs_fh *fhandle, in nfs4_find_root_sec()
3244 struct nfs_fh *fhandle, struct nfs_fsinfo *info) in nfs4_do_find_root_sec()
[all …]
Dnfs4trace.h839 const struct nfs_fh *fhandle,
878 const struct nfs_fh *fhandle, \
890 const struct nfs_fh *fhandle,
938 const struct nfs_fh *fhandle, \
Dnfs3xdr.c440 static void encode_nfs_fh3(struct xdr_stream *xdr, const struct nfs_fh *fh) in encode_nfs_fh3()
449 static int decode_nfs_fh3(struct xdr_stream *xdr, struct nfs_fh *fh) in decode_nfs_fh3()
474 static void zero_nfs_fh3(struct nfs_fh *fh) in zero_nfs_fh3()
803 static int decode_post_op_fh3(struct xdr_stream *xdr, struct nfs_fh *fh) in decode_post_op_fh3()
825 static void encode_diropargs3(struct xdr_stream *xdr, const struct nfs_fh *fh, in encode_diropargs3()
849 const struct nfs_fh *fh) in nfs3_xdr_enc_getattr3args()
Dcallback_proc.c118 struct nfs_fh *fh, nfs4_stateid *stateid) in get_layout_by_fh_locked()
150 struct nfs_fh *fh, nfs4_stateid *stateid) in get_layout_by_fh()
Ddelegation.c743 const struct nfs_fh *fhandle) in nfs_delegation_find_inode_server()
770 const struct nfs_fh *fhandle) in nfs_delegation_find_inode()
Dsuper.c438 struct nfs_fh *fh = NFS_FH(d_inode(dentry)); in nfs_statfs()
1715 struct nfs_fh *root_fh, in nfs_request_mount()
1954 struct nfs_fh *mntfh, in nfs23_validate_mount_data()
2104 struct nfs_fh *mntfh, in nfs_validate_mount_data()
2115 struct nfs_fh *mntfh, in nfs_validate_mount_data()
Dnfs4namespace.c395 struct nfs_fh *fh, struct nfs_fattr *fattr) in nfs4_submount()
Dnfs4client.c906 struct nfs_fh *mntfh, bool auth_probe) in nfs4_server_common_setup()
1069 struct nfs_fh *mntfh) in nfs4_create_referral_server()
Dclient.c775 int nfs_probe_fsinfo(struct nfs_server *server, struct nfs_fh *mntfh, struct nfs_fattr *fattr) in nfs_probe_fsinfo()
1007 struct nfs_fh *fh, in nfs_clone_server()
Ddir.c1109 struct nfs_fh *fhandle = NULL; in nfs_lookup_revalidate()
1355 struct nfs_fh *fhandle = NULL; in nfs_lookup()
1633 int nfs_instantiate(struct dentry *dentry, struct nfs_fh *fhandle, in nfs_instantiate()
Dcallback_xdr.c105 static __be32 decode_fh(struct xdr_stream *xdr, struct nfs_fh *fh) in decode_fh()
Dnfs4xdr.c1545 encode_putfh(struct xdr_stream *xdr, const struct nfs_fh *fh, struct compound_hdr *hdr) in encode_putfh()
3397 static int decode_attr_filehandle(struct xdr_stream *xdr, uint32_t *bitmap, struct nfs_fh *fh) in decode_attr_filehandle()
4531 struct nfs_fattr *fattr, struct nfs_fh *fh, in decode_getfattr_attrs()
4661 struct nfs_fh *fh, struct nfs4_fs_locations *fs_loc, in decode_getfattr_generic()
4857 static int decode_getfh(struct xdr_stream *xdr, struct nfs_fh *fh) in decode_getfh()
Dpnfs.c110 set_pnfs_layoutdriver(struct nfs_server *server, const struct nfs_fh *mntfh, in set_pnfs_layoutdriver()
/linux-4.4.14/fs/lockd/
Dsvcsubs.c35 static inline void nlm_debug_print_fh(char *msg, struct nfs_fh *f) in nlm_debug_print_fh()
53 static inline void nlm_debug_print_fh(char *msg, struct nfs_fh *f) in nlm_debug_print_fh()
64 static inline unsigned int file_hash(struct nfs_fh *f) in file_hash()
84 struct nfs_fh *f) in nlm_lookup_file()
108 memcpy(&file->f_handle, f, sizeof(struct nfs_fh)); in nlm_lookup_file()
Dclntlock.c165 const struct nfs_fh *fh = &lock->fh; in nlmclnt_grant()
Dxdr.c83 nlm_decode_fh(__be32 *p, struct nfs_fh *f) in nlm_decode_fh()
Dxdr4.c83 nlm4_decode_fh(__be32 *p, struct nfs_fh *f) in nlm4_decode_fh()
Dclntxdr.c192 static void encode_fh(struct xdr_stream *xdr, const struct nfs_fh *fh) in encode_fh()
Dclnt4xdr.c195 static void encode_fh(struct xdr_stream *xdr, const struct nfs_fh *fh) in encode_fh()
Dclntproc.c131 memcpy(&lock->fh, NFS_FH(file_inode(fl->fl_file)), sizeof(struct nfs_fh)); in nlmclnt_setlockargs()
/linux-4.4.14/fs/nfs/filelayout/
Dfilelayout.h66 struct nfs_fh **fh_array;
103 extern struct nfs_fh *
Dfilelayout.c474 struct nfs_fh *fh; in filelayout_read_pagelist()
521 struct nfs_fh *fh; in filelayout_write_pagelist()
712 fl->fh_array[i] = kmalloc(sizeof(struct nfs_fh), gfp_flags); in filelayout_decode_layout()
720 if (sizeof(struct nfs_fh) < fl->fh_array[i]->size) { in filelayout_decode_layout()
984 static struct nfs_fh *
1005 struct nfs_fh *fh; in filelayout_initiate_commit()
Dfilelayoutdev.c241 struct nfs_fh *
/linux-4.4.14/fs/nfs/flexfilelayout/
Dflexfilelayout.h77 struct nfs_fh *fh_versions;
179 struct nfs_fh *
Dflexfilelayout.c81 static int decode_nfs_fh(struct xdr_stream *xdr, struct nfs_fh *fh) in decode_nfs_fh()
89 if (fh->size > sizeof(struct nfs_fh)) { in decode_nfs_fh()
470 kzalloc(fh_count * sizeof(struct nfs_fh), in ff_layout_alloc_lseg()
1610 struct nfs_fh *fh; in ff_layout_read_pagelist()
1670 struct nfs_fh *fh; in ff_layout_write_pagelist()
1720 static struct nfs_fh *
1739 struct nfs_fh *fh; in ff_layout_initiate_commit()
1996 struct nfs_fh *fh = &mirror->fh_versions[0]; in ff_layout_encode_layoutstats()
Dflexfilelayoutdev.c360 struct nfs_fh *
364 struct nfs_fh *fh = NULL; in nfs4_ff_layout_select_ds_fh()
/linux-4.4.14/include/linux/lockd/
Dbind.h27 struct nfs_fh *,
Dxdr.h40 struct nfs_fh fh;
Dlockd.h153 struct nfs_fh f_handle; /* NFS file handle */
284 struct nfs_fh *);
/linux-4.4.14/fs/nfsd/
Dlockd.c27 nlm_fopen(struct svc_rqst *rqstp, struct nfs_fh *f, struct file **filp) in nlm_fopen()
/linux-4.4.14/fs/nfs/blocklayout/
Dblocklayout.c727 bl_set_layoutdriver(struct nfs_server *server, const struct nfs_fh *fh) in bl_set_layoutdriver()