Home
last modified time | relevance | path

Searched refs:fhandle (Results 1 – 8 of 8) sorted by relevance

/linux-2.4.37.9/fs/nfs/
Dproc.c51 nfs_proc_get_root(struct nfs_server *server, struct nfs_fh *fhandle, in nfs_proc_get_root() argument
58 status = rpc_call(server->client, NFSPROC_GETATTR, fhandle, fattr, 0); in nfs_proc_get_root()
95 struct nfs_fh *fhandle, struct nfs_fattr *fattr) in nfs_proc_lookup() argument
98 struct nfs_diropok res = { fhandle, fattr }; in nfs_proc_lookup()
168 int flags, struct nfs_fh *fhandle, struct nfs_fattr *fattr) in nfs_proc_create() argument
172 struct nfs_diropok res = { fhandle, fattr }; in nfs_proc_create()
187 dev_t rdev, struct nfs_fh *fhandle, struct nfs_fattr *fattr) in nfs_proc_mknod() argument
191 struct nfs_diropok res = { fhandle, fattr }; in nfs_proc_mknod()
287 struct iattr *sattr, struct nfs_fh *fhandle, in nfs_proc_symlink() argument
303 struct nfs_fh *fhandle, struct nfs_fattr *fattr) in nfs_proc_mkdir() argument
[all …]
Dnfs3proc.c55 nfs3_proc_get_root(struct nfs_server *server, struct nfs_fh *fhandle, in nfs3_proc_get_root() argument
62 status = rpc_call(server->client, NFS3PROC_GETATTR, fhandle, fattr, 0); in nfs3_proc_get_root()
99 struct nfs_fh *fhandle, struct nfs_fattr *fattr) in nfs3_proc_lookup() argument
103 struct nfs3_diropres res = { &dir_attr, fhandle, fattr }; in nfs3_proc_lookup()
112 fhandle, fattr, 0); in nfs3_proc_lookup()
221 int flags, struct nfs_fh *fhandle, struct nfs_fattr *fattr) in nfs3_proc_create() argument
226 struct nfs3_diropres res = { &dir_attr, fhandle, fattr }; in nfs3_proc_create()
267 struct nfs3_sattrargs arg = { fhandle, sattr, 0, 0 }; in nfs3_proc_create()
378 struct iattr *sattr, struct nfs_fh *fhandle, in nfs3_proc_symlink() argument
384 struct nfs3_diropres res = { &dir_attr, fhandle, fattr }; in nfs3_proc_symlink()
[all …]
Ddir.c479 struct nfs_fh fhandle; in nfs_lookup_revalidate() local
508 error = NFS_PROTO(dir)->lookup(dir, &dentry->d_name, &fhandle, &fattr); in nfs_lookup_revalidate()
511 if (memcmp(NFS_FH(inode), &fhandle, sizeof(struct nfs_fh))!= 0) in nfs_lookup_revalidate()
583 struct nfs_fh fhandle; in nfs_lookup() local
596 error = NFS_PROTO(dir)->lookup(dir, &dentry->d_name, &fhandle, &fattr); in nfs_lookup()
602 inode = nfs_fhget(dentry, &fhandle, &fattr); in nfs_lookup()
617 static int nfs_instantiate(struct dentry *dentry, struct nfs_fh *fhandle, in nfs_instantiate() argument
623 if (fhandle->size == 0 || !(fattr->valid & NFS_ATTR_FATTR)) { in nfs_instantiate()
625 error = NFS_PROTO(dir)->lookup(dir, &dentry->d_name, fhandle, fattr); in nfs_instantiate()
629 inode = nfs_fhget(dentry, fhandle, fattr); in nfs_instantiate()
[all …]
Dnfs2xdr.c73 xdr_encode_fhandle(u32 *p, struct nfs_fh *fhandle) in xdr_encode_fhandle() argument
75 memcpy(p, fhandle->data, NFS2_FHSIZE); in xdr_encode_fhandle()
80 xdr_decode_fhandle(u32 *p, struct nfs_fh *fhandle) in xdr_decode_fhandle() argument
83 memset(fhandle, 0, sizeof(*fhandle)); in xdr_decode_fhandle()
85 fhandle->size = NFS2_FHSIZE; in xdr_decode_fhandle()
86 memcpy(fhandle->data, p, NFS2_FHSIZE); in xdr_decode_fhandle()
709 PROC(getattr, fhandle, attrstat, 1),
725 PROC(statfs, fhandle, statfsres, 0),
Dnfs3xdr.c1012 PROC(getattr, fhandle, attrstat, 1),
1029 PROC(fsstat, fhandle, fsstatres, 0),
1030 PROC(fsinfo, fhandle, fsinfores, 0),
1031 PROC(pathconf, fhandle, pathconfres, 0),
Dinode.c696 nfs_fhget(struct dentry *dentry, struct nfs_fh *fhandle, in nfs_fhget() argument
704 return __nfs_fhget(sb, fhandle, fattr); in nfs_fhget()
/linux-2.4.37.9/fs/nfsd/
Dnfs3proc.c671 PROC(getattr, fhandle, attrstat, fhandle, RC_NOCACHE, ST+AT),
672 PROC(setattr, sattr, wccstat, fhandle, RC_REPLBUFF, ST+WC),
674 PROC(access, access, access, fhandle, RC_NOCACHE, ST+pAT+1),
675 PROC(readlink, fhandle, readlink, fhandle, RC_NOCACHE, ST+pAT+1+NFS3_MAXPATHLEN/4),
676 PROC(read, read, read, fhandle, RC_NOCACHE, ST+pAT+4+NFSSVC_MAXBLKSIZE),
677 PROC(write, write, write, fhandle, RC_REPLBUFF, ST+WC+4),
682 PROC(remove, dirop, wccstat, fhandle, RC_REPLBUFF, ST+WC),
683 PROC(rmdir, dirop, wccstat, fhandle, RC_REPLBUFF, ST+WC),
686 PROC(readdir, readdir, readdir, fhandle, RC_NOCACHE, 0),
687 PROC(readdirplus,readdirplus, readdir, fhandle, RC_NOCACHE, 0),
[all …]
Dnfsproc.c544 PROC(getattr, fhandle, attrstat, fhandle, RC_NOCACHE, ST+AT),
545 PROC(setattr, sattrargs, attrstat, fhandle, RC_REPLBUFF, ST+AT),
547 PROC(lookup, diropargs, diropres, fhandle, RC_NOCACHE, ST+FH+AT),
548 PROC(readlink, fhandle, readlinkres, none, RC_NOCACHE, ST+1+NFS_MAXPATHLEN/4),
549 PROC(read, readargs, readres, fhandle, RC_NOCACHE, ST+AT+1+NFSSVC_MAXBLKSIZE),
551 PROC(write, writeargs, attrstat, fhandle, RC_REPLBUFF, ST+AT),
552 PROC(create, createargs, diropres, fhandle, RC_REPLBUFF, ST+FH+AT),
557 PROC(mkdir, createargs, diropres, fhandle, RC_REPLBUFF, ST+FH+AT),
560 PROC(statfs, fhandle, statfsres, none, RC_NOCACHE, ST+5),