/fs/nfs/ |
D | proc.c | 54 nfs_proc_get_root(struct nfs_server *server, struct nfs_fh *fhandle, in nfs_proc_get_root() argument 61 .rpc_argp = fhandle, in nfs_proc_get_root() 101 nfs_proc_getattr(struct nfs_server *server, struct nfs_fh *fhandle, in nfs_proc_getattr() argument 106 .rpc_argp = fhandle, in nfs_proc_getattr() 150 struct nfs_fh *fhandle, struct nfs_fattr *fattr) in nfs_proc_lookup() argument 158 .fh = fhandle, in nfs_proc_lookup() 200 struct nfs_fh fhandle; in nfs_proc_create() local 209 .fh = &fhandle, in nfs_proc_create() 224 status = nfs_instantiate(dentry, &fhandle, &fattr); in nfs_proc_create() 236 struct nfs_fh fhandle; in nfs_proc_mknod() local [all …]
|
D | nfs3proc.c | 56 do_proc_get_root(struct rpc_clnt *client, struct nfs_fh *fhandle, in do_proc_get_root() argument 61 .rpc_argp = fhandle, in do_proc_get_root() 83 nfs3_proc_get_root(struct nfs_server *server, struct nfs_fh *fhandle, in nfs3_proc_get_root() argument 88 status = do_proc_get_root(server->client, fhandle, info); in nfs3_proc_get_root() 90 status = do_proc_get_root(server->nfs_client->cl_rpcclient, fhandle, info); in nfs3_proc_get_root() 98 nfs3_proc_getattr(struct nfs_server *server, struct nfs_fh *fhandle, in nfs3_proc_getattr() argument 103 .rpc_argp = fhandle, in nfs3_proc_getattr() 144 struct nfs_fh *fhandle, struct nfs_fattr *fattr) in nfs3_proc_lookup() argument 154 .fh = fhandle, in nfs3_proc_lookup() 171 msg.rpc_argp = fhandle; in nfs3_proc_lookup() [all …]
|
D | nfs4proc.c | 66 static int _nfs4_proc_lookup(struct inode *dir, const struct qstr *name, struct nfs_fh *fhandle, st… 67 static int _nfs4_proc_getattr(struct nfs_server *server, struct nfs_fh *fhandle, struct nfs_fattr *… 1584 static int _nfs4_server_capabilities(struct nfs_server *server, struct nfs_fh *fhandle) in _nfs4_server_capabilities() argument 1589 .rpc_argp = fhandle, in _nfs4_server_capabilities() 1608 int nfs4_server_capabilities(struct nfs_server *server, struct nfs_fh *fhandle) in nfs4_server_capabilities() argument 1614 _nfs4_server_capabilities(server, fhandle), in nfs4_server_capabilities() 1620 static int _nfs4_lookup_root(struct nfs_server *server, struct nfs_fh *fhandle, in _nfs4_lookup_root() argument 1629 .fh = fhandle, in _nfs4_lookup_root() 1640 static int nfs4_lookup_root(struct nfs_server *server, struct nfs_fh *fhandle, in nfs4_lookup_root() argument 1647 _nfs4_lookup_root(server, fhandle, info), in nfs4_lookup_root() [all …]
|
D | nfs2xdr.c | 70 xdr_encode_fhandle(__be32 *p, const struct nfs_fh *fhandle) in xdr_encode_fhandle() argument 72 memcpy(p, fhandle->data, NFS2_FHSIZE); in xdr_encode_fhandle() 77 xdr_decode_fhandle(__be32 *p, struct nfs_fh *fhandle) in xdr_decode_fhandle() argument 80 fhandle->size = NFS2_FHSIZE; in xdr_decode_fhandle() 81 memcpy(fhandle->data, p, NFS2_FHSIZE); in xdr_decode_fhandle() 739 PROC(GETATTR, fhandle, attrstat, 1), 753 PROC(STATFS, fhandle, statfsres, 0),
|
D | dir.c | 781 struct nfs_fh fhandle; in nfs_lookup_revalidate() local 815 error = NFS_PROTO(dir)->lookup(dir, &dentry->d_name, &fhandle, &fattr); in nfs_lookup_revalidate() 818 if (nfs_compare_fh(NFS_FH(inode), &fhandle)) in nfs_lookup_revalidate() 914 struct nfs_fh fhandle; in nfs_lookup() local 941 error = NFS_PROTO(dir)->lookup(dir, &dentry->d_name, &fhandle, &fattr); in nfs_lookup() 948 inode = nfs_fhget(dentry->d_sb, &fhandle, &fattr); in nfs_lookup() 1173 int nfs_instantiate(struct dentry *dentry, struct nfs_fh *fhandle, in nfs_instantiate() argument 1186 if (fhandle->size == 0) { in nfs_instantiate() 1187 error = NFS_PROTO(dir)->lookup(dir, &dentry->d_name, fhandle, fattr); in nfs_instantiate() 1194 error = server->nfs_client->rpc_ops->getattr(server, fhandle, fattr); in nfs_instantiate() [all …]
|
D | delegation.h | 40 struct inode *nfs_delegation_find_inode(struct nfs_client *clp, const struct nfs_fh *fhandle);
|
D | delegation.c | 451 struct inode *nfs_delegation_find_inode(struct nfs_client *clp, const struct nfs_fh *fhandle) in nfs_delegation_find_inode() argument 459 nfs_compare_fh(fhandle, &NFS_I(delegation->inode)->fh) == 0) { in nfs_delegation_find_inode()
|
D | nfs4_fs.h | 199 extern int nfs4_server_capabilities(struct nfs_server *server, struct nfs_fh *fhandle);
|
D | nfs3xdr.c | 1155 PROC(GETATTR, fhandle, attrstat, 1), 1172 PROC(FSSTAT, fhandle, fsstatres, 0), 1173 PROC(FSINFO, fhandle, fsinfores, 0), 1174 PROC(PATHCONF, fhandle, pathconfres, 0),
|
D | nfs4xdr.c | 1906 static int nfs4_xdr_enc_server_caps(struct rpc_rqst *req, __be32 *p, const struct nfs_fh *fhandle) in nfs4_xdr_enc_server_caps() argument 1915 encode_putfh(&xdr, fhandle, &hdr); in nfs4_xdr_enc_server_caps() 1990 encode_putfh(&xdr, args->fhandle, &hdr); in nfs4_xdr_enc_delegreturn()
|
/fs/nfsd/ |
D | nfs3proc.c | 688 PROC(getattr, fhandle, attrstat, fhandle, RC_NOCACHE, ST+AT), 689 PROC(setattr, sattr, wccstat, fhandle, RC_REPLBUFF, ST+WC), 691 PROC(access, access, access, fhandle, RC_NOCACHE, ST+pAT+1), 692 PROC(readlink, readlink, readlink, fhandle, RC_NOCACHE, ST+pAT+1+NFS3_MAXPATHLEN/4), 693 PROC(read, read, read, fhandle, RC_NOCACHE, ST+pAT+4+NFSSVC_MAXBLKSIZE/4), 694 PROC(write, write, write, fhandle, RC_REPLBUFF, ST+WC+4), 699 PROC(remove, dirop, wccstat, fhandle, RC_REPLBUFF, ST+WC), 700 PROC(rmdir, dirop, wccstat, fhandle, RC_REPLBUFF, ST+WC), 703 PROC(readdir, readdir, readdir, fhandle, RC_NOCACHE, 0), 704 PROC(readdirplus,readdirplus, readdir, fhandle, RC_NOCACHE, 0), [all …]
|
D | nfsproc.c | 557 PROC(getattr, fhandle, attrstat, fhandle, RC_NOCACHE, ST+AT), 558 PROC(setattr, sattrargs, attrstat, fhandle, RC_REPLBUFF, ST+AT), 560 PROC(lookup, diropargs, diropres, fhandle, RC_NOCACHE, ST+FH+AT), 562 PROC(read, readargs, readres, fhandle, RC_NOCACHE, ST+AT+1+NFSSVC_MAXBLKSIZE_V2/4), 564 PROC(write, writeargs, attrstat, fhandle, RC_REPLBUFF, ST+AT), 565 PROC(create, createargs, diropres, fhandle, RC_REPLBUFF, ST+FH+AT), 570 PROC(mkdir, createargs, diropres, fhandle, RC_REPLBUFF, ST+FH+AT), 573 PROC(statfs, fhandle, statfsres, none, RC_NOCACHE, ST+5),
|
D | nfs3acl.c | 258 PROC(setacl, setacl, setacl, fhandle, RC_NOCACHE, ST+pAT),
|
D | nfs2acl.c | 339 PROC(getattr, fhandle, attrstat, attrstat, RC_NOCACHE, ST+AT),
|