Searched refs:fhandle (Results 1 - 19 of 19) sorted by relevance

/linux-4.1.27/fs/nfs/
H A Dnfs4trace.h398 __field(u32, fhandle)
416 __entry->fhandle = nfs_fhandle_hash(NFS_FH(inode));
419 __entry->fhandle = 0;
427 "fileid=%02x:%02x:%llu fhandle=0x%08x "
436 __entry->fhandle,
467 __field(u32, fhandle)
478 __entry->fhandle = nfs_fhandle_hash(NFS_FH(inode));
485 "fhandle=0x%08x",
492 __entry->fhandle
524 __field(u32, fhandle)
538 __entry->fhandle = nfs_fhandle_hash(NFS_FH(inode));
543 "fileid=%02x:%02x:%llu fhandle=0x%08x",
552 __entry->fhandle
581 __field(u32, fhandle)
589 __entry->fhandle = nfs_fhandle_hash(NFS_FH(inode));
594 "fmode=%s fileid=%02x:%02x:%llu fhandle=0x%08x",
598 __entry->fhandle
622 __field(u32, fhandle)
628 __entry->fhandle = nfs_fhandle_hash(args->fhandle);
633 "error=%d (%s) dev=%02x:%02x fhandle=0x%08x",
637 __entry->fhandle
654 __field(u32, fhandle)
664 __entry->fhandle = nfs_fhandle_hash(NFS_FH(inode));
668 "error=%d (%s) fileid=%02x:%02x:%llu fhandle=0x%08x",
673 __entry->fhandle
793 __field(u32, fhandle)
801 __entry->fhandle = nfs_fhandle_hash(NFS_FH(inode));
806 "error=%d (%s) fileid=%02x:%02x:%llu fhandle=0x%08x",
811 __entry->fhandle
839 const struct nfs_fh *fhandle,
844 TP_ARGS(server, fhandle, fattr, error),
848 __field(u32, fhandle)
857 __entry->fhandle = nfs_fhandle_hash(fhandle);
863 "error=%d (%s) fileid=%02x:%02x:%llu fhandle=0x%08x "
869 __entry->fhandle,
878 const struct nfs_fh *fhandle, \
882 TP_ARGS(server, fhandle, fattr, error))
943 __field(u32, fhandle)
954 __entry->fhandle = nfs_fhandle_hash(NFS_FH(inode));
961 "error=%d (%s) fileid=%02x:%02x:%llu fhandle=0x%08x "
967 __entry->fhandle,
994 __field(u32, fhandle)
1005 __entry->fhandle = nfs_fhandle_hash(NFS_FH(inode));
1012 "error=%d (%s) fileid=%02x:%02x:%llu fhandle=0x%08x "
1018 __entry->fhandle,
1046 __field(u32, fhandle)
1057 __entry->fhandle = nfs_fhandle_hash(NFS_FH(inode));
1064 "error=%d (%s) fileid=%02x:%02x:%llu fhandle=0x%08x "
1070 __entry->fhandle,
1104 __field(u32, fhandle)
1116 __entry->fhandle = nfs_fhandle_hash(NFS_FH(inode));
1124 "error=%d (%s) fileid=%02x:%02x:%llu fhandle=0x%08x "
1130 __entry->fhandle,
H A Dnfs3proc.c60 do_proc_get_root(struct rpc_clnt *client, struct nfs_fh *fhandle, do_proc_get_root() argument
65 .rpc_argp = fhandle, do_proc_get_root()
87 nfs3_proc_get_root(struct nfs_server *server, struct nfs_fh *fhandle, nfs3_proc_get_root() argument
92 status = do_proc_get_root(server->client, fhandle, info); nfs3_proc_get_root()
94 status = do_proc_get_root(server->nfs_client->cl_rpcclient, fhandle, info); nfs3_proc_get_root()
102 nfs3_proc_getattr(struct nfs_server *server, struct nfs_fh *fhandle, nfs3_proc_getattr() argument
107 .rpc_argp = fhandle, nfs3_proc_getattr()
148 struct nfs_fh *fhandle, struct nfs_fattr *fattr, nfs3_proc_lookup()
157 .fh = fhandle, nfs3_proc_lookup()
177 msg.rpc_argp = fhandle; nfs3_proc_lookup()
730 nfs3_proc_statfs(struct nfs_server *server, struct nfs_fh *fhandle, nfs3_proc_statfs() argument
735 .rpc_argp = fhandle, nfs3_proc_statfs()
748 do_proc_fsinfo(struct rpc_clnt *client, struct nfs_fh *fhandle, do_proc_fsinfo() argument
753 .rpc_argp = fhandle, do_proc_fsinfo()
770 nfs3_proc_fsinfo(struct nfs_server *server, struct nfs_fh *fhandle, nfs3_proc_fsinfo() argument
775 status = do_proc_fsinfo(server->client, fhandle, info); nfs3_proc_fsinfo()
777 status = do_proc_fsinfo(server->nfs_client->cl_rpcclient, fhandle, info); nfs3_proc_fsinfo()
782 nfs3_proc_pathconf(struct nfs_server *server, struct nfs_fh *fhandle, nfs3_proc_pathconf() argument
787 .rpc_argp = fhandle, nfs3_proc_pathconf()
147 nfs3_proc_lookup(struct inode *dir, struct qstr *name, struct nfs_fh *fhandle, struct nfs_fattr *fattr, struct nfs4_label *label) nfs3_proc_lookup() argument
H A Dproc.c53 nfs_proc_get_root(struct nfs_server *server, struct nfs_fh *fhandle, nfs_proc_get_root() argument
60 .rpc_argp = fhandle, nfs_proc_get_root()
100 nfs_proc_getattr(struct nfs_server *server, struct nfs_fh *fhandle, nfs_proc_getattr() argument
105 .rpc_argp = fhandle, nfs_proc_getattr()
149 struct nfs_fh *fhandle, struct nfs_fattr *fattr, nfs_proc_lookup()
158 .fh = fhandle, nfs_proc_lookup()
199 struct nfs_fh fhandle; member in struct:nfs_createdata
216 data->fhandle.size = 0; nfs_alloc_createdata()
217 data->res.fh = &data->fhandle; nfs_alloc_createdata()
514 nfs_proc_statfs(struct nfs_server *server, struct nfs_fh *fhandle, nfs_proc_statfs() argument
520 .rpc_argp = fhandle, nfs_proc_statfs()
542 nfs_proc_fsinfo(struct nfs_server *server, struct nfs_fh *fhandle, nfs_proc_fsinfo() argument
548 .rpc_argp = fhandle, nfs_proc_fsinfo()
573 nfs_proc_pathconf(struct nfs_server *server, struct nfs_fh *fhandle, nfs_proc_pathconf() argument
148 nfs_proc_lookup(struct inode *dir, struct qstr *name, struct nfs_fh *fhandle, struct nfs_fattr *fattr, struct nfs4_label *label) nfs_proc_lookup() argument
H A Dnfstrace.h55 __field(u32, fhandle)
64 __entry->fhandle = nfs_fhandle_hash(&nfsi->fh);
69 "fileid=%02x:%02x:%llu fhandle=0x%08x version=%llu ",
72 __entry->fhandle,
88 __field(u32, fhandle)
102 __entry->fhandle = nfs_fhandle_hash(&nfsi->fh);
111 "error=%d fileid=%02x:%02x:%llu fhandle=0x%08x "
117 __entry->fhandle,
H A Ddelegation.h43 struct inode *nfs_delegation_find_inode(struct nfs_client *clp, const struct nfs_fh *fhandle);
H A Dnfs2xdr.c190 * 2.3.3. fhandle
192 * typedef opaque fhandle[FHSIZE];
508 * fhandle dir;
525 * fhandle file;
580 * fhandle file;
612 * fhandle file;
647 * fhandle file;
727 * fhandle from;
761 * fhandle dir;
1130 PROC(GETATTR, fhandle, attrstat, 1),
1144 PROC(STATFS, fhandle, statfsres, 0),
H A Ddir.c1117 struct nfs_fh *fhandle = NULL; nfs_lookup_revalidate() local
1173 fhandle = nfs_alloc_fhandle(); nfs_lookup_revalidate()
1175 if (fhandle == NULL || fattr == NULL) nfs_lookup_revalidate()
1183 error = NFS_PROTO(dir)->lookup(dir, &dentry->d_name, fhandle, fattr, label); nfs_lookup_revalidate()
1187 if (nfs_compare_fh(NFS_FH(inode), fhandle)) nfs_lookup_revalidate()
1195 nfs_free_fhandle(fhandle); nfs_lookup_revalidate()
1217 nfs_free_fhandle(fhandle); nfs_lookup_revalidate()
1239 nfs_free_fhandle(fhandle); nfs_lookup_revalidate()
1363 struct nfs_fh *fhandle = NULL; nfs_lookup() local
1386 fhandle = nfs_alloc_fhandle(); nfs_lookup()
1388 if (fhandle == NULL || fattr == NULL) nfs_lookup()
1399 error = NFS_PROTO(dir)->lookup(dir, &dentry->d_name, fhandle, fattr, label); nfs_lookup()
1406 inode = nfs_fhget(dentry->d_sb, fhandle, fattr, label); nfs_lookup()
1428 nfs_free_fhandle(fhandle); nfs_lookup()
1644 int nfs_instantiate(struct dentry *dentry, struct nfs_fh *fhandle, nfs_instantiate() argument
1658 if (fhandle->size == 0) { nfs_instantiate()
1659 error = NFS_PROTO(dir)->lookup(dir, &dentry->d_name, fhandle, fattr, NULL); nfs_instantiate()
1666 error = server->nfs_client->rpc_ops->getattr(server, fhandle, fattr, NULL); nfs_instantiate()
1670 inode = nfs_fhget(dentry->d_sb, fhandle, fattr, label); nfs_instantiate()
H A Ddelegation.c743 const struct nfs_fh *fhandle) nfs_delegation_find_inode_server()
751 nfs_compare_fh(fhandle, &NFS_I(delegation->inode)->fh) == 0) { nfs_delegation_find_inode_server()
764 * @fhandle: filehandle from a delegation recall
766 * Returns pointer to inode matching "fhandle," or NULL if a matching inode
770 const struct nfs_fh *fhandle) nfs_delegation_find_inode()
777 res = nfs_delegation_find_inode_server(server, fhandle); nfs_delegation_find_inode()
742 nfs_delegation_find_inode_server(struct nfs_server *server, const struct nfs_fh *fhandle) nfs_delegation_find_inode_server() argument
769 nfs_delegation_find_inode(struct nfs_client *clp, const struct nfs_fh *fhandle) nfs_delegation_find_inode() argument
H A Dnfs4proc.c84 static int _nfs4_proc_getattr(struct nfs_server *server, struct nfs_fh *fhandle, struct nfs_fattr *fattr, struct nfs4_label *label);
2879 static int _nfs4_server_capabilities(struct nfs_server *server, struct nfs_fh *fhandle) _nfs4_server_capabilities() argument
2882 .fhandle = fhandle, _nfs4_server_capabilities()
2955 int nfs4_server_capabilities(struct nfs_server *server, struct nfs_fh *fhandle) nfs4_server_capabilities() argument
2961 _nfs4_server_capabilities(server, fhandle), nfs4_server_capabilities()
2967 static int _nfs4_lookup_root(struct nfs_server *server, struct nfs_fh *fhandle, _nfs4_lookup_root() argument
2977 .fh = fhandle, _nfs4_lookup_root()
2996 static int nfs4_lookup_root(struct nfs_server *server, struct nfs_fh *fhandle, nfs4_lookup_root() argument
3002 err = _nfs4_lookup_root(server, fhandle, info); nfs4_lookup_root()
3003 trace_nfs4_lookup_root(server, fhandle, info->fattr, err); nfs4_lookup_root()
3016 static int nfs4_lookup_root_sec(struct nfs_server *server, struct nfs_fh *fhandle, nfs4_lookup_root_sec() argument
3030 ret = nfs4_lookup_root(server, fhandle, info); nfs4_lookup_root_sec()
3044 static int nfs4_find_root_sec(struct nfs_server *server, struct nfs_fh *fhandle, nfs4_find_root_sec() argument
3061 status = nfs4_lookup_root_sec(server, fhandle, info, nfs4_find_root_sec()
3070 status = nfs4_lookup_root_sec(server, fhandle, info, nfs4_find_root_sec()
3091 struct nfs_fh *fhandle, struct nfs_fsinfo *info) nfs4_do_find_root_sec()
3094 return nfs_v4_minor_ops[mv]->find_root_sec(server, fhandle, info); nfs4_do_find_root_sec()
3100 * @fhandle: we fill in the pseudo-fs root file handle
3106 int nfs4_proc_get_rootfh(struct nfs_server *server, struct nfs_fh *fhandle, nfs4_proc_get_rootfh() argument
3113 status = nfs4_lookup_root(server, fhandle, info); nfs4_proc_get_rootfh()
3116 status = nfs4_do_find_root_sec(server, fhandle, info); nfs4_proc_get_rootfh()
3119 status = nfs4_server_capabilities(server, fhandle); nfs4_proc_get_rootfh()
3121 status = nfs4_do_fsinfo(server, fhandle, info); nfs4_proc_get_rootfh()
3166 struct nfs_fh *fhandle) nfs4_get_referral()
3199 memset(fhandle, 0, sizeof(struct nfs_fh)); nfs4_get_referral()
3207 static int _nfs4_proc_getattr(struct nfs_server *server, struct nfs_fh *fhandle, _nfs4_proc_getattr() argument
3211 .fh = fhandle, _nfs4_proc_getattr()
3231 static int nfs4_proc_getattr(struct nfs_server *server, struct nfs_fh *fhandle, nfs4_proc_getattr() argument
3237 err = _nfs4_proc_getattr(server, fhandle, fattr, label); nfs4_proc_getattr()
3238 trace_nfs4_getattr(server, fhandle, fattr, err); nfs4_proc_getattr()
3312 const struct qstr *name, struct nfs_fh *fhandle, _nfs4_proc_lookup()
3326 .fh = fhandle, _nfs4_proc_lookup()
3353 struct qstr *name, struct nfs_fh *fhandle, nfs4_proc_lookup_common()
3360 err = _nfs4_proc_lookup(client, dir, name, fhandle, fattr, label); nfs4_proc_lookup_common()
3367 err = nfs4_get_referral(client, dir, name, fattr, fhandle); nfs4_proc_lookup_common()
3394 struct nfs_fh *fhandle, struct nfs_fattr *fattr, nfs4_proc_lookup()
3400 status = nfs4_proc_lookup_common(&client, dir, name, fhandle, fattr, label); nfs4_proc_lookup()
3410 struct nfs_fh *fhandle, struct nfs_fattr *fattr) nfs4_proc_lookup_mountpoint()
3415 status = nfs4_proc_lookup_common(&client, dir, name, fhandle, fattr, NULL); nfs4_proc_lookup_mountpoint()
3990 static int _nfs4_proc_statfs(struct nfs_server *server, struct nfs_fh *fhandle, _nfs4_proc_statfs() argument
3994 .fh = fhandle, _nfs4_proc_statfs()
4010 static int nfs4_proc_statfs(struct nfs_server *server, struct nfs_fh *fhandle, struct nfs_fsstat *fsstat) nfs4_proc_statfs() argument
4016 _nfs4_proc_statfs(server, fhandle, fsstat), nfs4_proc_statfs()
4022 static int _nfs4_do_fsinfo(struct nfs_server *server, struct nfs_fh *fhandle, _nfs4_do_fsinfo() argument
4026 .fh = fhandle, _nfs4_do_fsinfo()
4041 static int nfs4_do_fsinfo(struct nfs_server *server, struct nfs_fh *fhandle, struct nfs_fsinfo *fsinfo) nfs4_do_fsinfo() argument
4048 err = _nfs4_do_fsinfo(server, fhandle, fsinfo); nfs4_do_fsinfo()
4049 trace_nfs4_fsinfo(server, fhandle, fsinfo->fattr, err); nfs4_do_fsinfo()
4064 static int nfs4_proc_fsinfo(struct nfs_server *server, struct nfs_fh *fhandle, struct nfs_fsinfo *fsinfo) nfs4_proc_fsinfo() argument
4069 error = nfs4_do_fsinfo(server, fhandle, fsinfo); nfs4_proc_fsinfo()
4073 set_pnfs_layoutdriver(server, fhandle, fsinfo->layouttype); nfs4_proc_fsinfo()
4079 static int _nfs4_proc_pathconf(struct nfs_server *server, struct nfs_fh *fhandle, _nfs4_proc_pathconf() argument
4083 .fh = fhandle, _nfs4_proc_pathconf()
4105 static int nfs4_proc_pathconf(struct nfs_server *server, struct nfs_fh *fhandle, nfs4_proc_pathconf() argument
4113 _nfs4_proc_pathconf(server, fhandle, pathconf), nfs4_proc_pathconf()
5244 data->args.fhandle = &data->fh; _nfs4_proc_delegreturn()
8105 _nfs41_proc_secinfo_no_name(struct nfs_server *server, struct nfs_fh *fhandle, _nfs41_proc_secinfo_no_name() argument
8142 nfs41_proc_secinfo_no_name(struct nfs_server *server, struct nfs_fh *fhandle, nfs41_proc_secinfo_no_name() argument
8153 err = _nfs41_proc_secinfo_no_name(server, fhandle, info, nfs41_proc_secinfo_no_name()
8163 err = _nfs41_proc_secinfo_no_name(server, fhandle, info, nfs41_proc_secinfo_no_name()
8180 nfs41_find_root_sec(struct nfs_server *server, struct nfs_fh *fhandle, nfs41_find_root_sec() argument
8197 err = nfs41_proc_secinfo_no_name(server, fhandle, info, flavors); nfs41_find_root_sec()
8204 err = nfs4_find_root_sec(server, fhandle, info); nfs41_find_root_sec()
8229 err = nfs4_lookup_root_sec(server, fhandle, nfs41_find_root_sec()
3090 nfs4_do_find_root_sec(struct nfs_server *server, struct nfs_fh *fhandle, struct nfs_fsinfo *info) nfs4_do_find_root_sec() argument
3164 nfs4_get_referral(struct rpc_clnt *client, struct inode *dir, const struct qstr *name, struct nfs_fattr *fattr, struct nfs_fh *fhandle) nfs4_get_referral() argument
3311 _nfs4_proc_lookup(struct rpc_clnt *clnt, struct inode *dir, const struct qstr *name, struct nfs_fh *fhandle, struct nfs_fattr *fattr, struct nfs4_label *label) _nfs4_proc_lookup() argument
3352 nfs4_proc_lookup_common(struct rpc_clnt **clnt, struct inode *dir, struct qstr *name, struct nfs_fh *fhandle, struct nfs_fattr *fattr, struct nfs4_label *label) nfs4_proc_lookup_common() argument
3393 nfs4_proc_lookup(struct inode *dir, struct qstr *name, struct nfs_fh *fhandle, struct nfs_fattr *fattr, struct nfs4_label *label) nfs4_proc_lookup() argument
3409 nfs4_proc_lookup_mountpoint(struct inode *dir, struct qstr *name, struct nfs_fh *fhandle, struct nfs_fattr *fattr) nfs4_proc_lookup_mountpoint() argument
H A Dnfs4_fs.h245 extern int nfs4_server_capabilities(struct nfs_server *server, struct nfs_fh *fhandle);
H A Dnfs4xdr.c2585 encode_putfh(xdr, args->fhandle, &hdr); nfs4_xdr_enc_server_caps()
2654 encode_putfh(xdr, args->fhandle, &hdr); nfs4_xdr_enc_delegreturn()
/linux-4.1.27/fs/notify/
H A Dfdinfo.c60 seq_printf(m, "fhandle-bytes:%x fhandle-type:%x f_handle:", show_mark_fhandle()
/linux-4.1.27/fs/
H A DMakefile49 obj-$(CONFIG_FHANDLE) += fhandle.o
H A Dnamei.c4130 * d) conversion from fhandle to dentry may come in the wrong moment - when
/linux-4.1.27/fs/lockd/
H A Dxdr.c88 dprintk("lockd: bad fhandle size %d (should be %d)\n", nlm_decode_fh()
H A Dxdr4.c88 dprintk("lockd: bad fhandle size %d (should be <=%d)\n", nlm4_decode_fh()
/linux-4.1.27/fs/nfsd/
H A Dnfs2acl.c371 PROC(getattr, fhandle, attrstat, attrstat, RC_NOCACHE, ST+AT),
H A Dnfs3acl.c262 PROC(setacl, setacl, setacl, fhandle, RC_NOCACHE, ST+pAT),
/linux-4.1.27/include/linux/
H A Dnfs_xdr.h480 const struct nfs_fh *fhandle; member in struct:nfs4_delegreturnargs
1019 struct nfs_fh *fhandle; member in struct:nfs4_server_caps_arg

Completed in 495 milliseconds