Searched refs:newdir (Results 1 - 6 of 6) sorted by relevance

/fuchsia/zircon/system/ulib/memfs/
H A Ddirectory.cpp186 auto newdir = fbl::RefPtr<VnodeMemfs>::Downcast(fbl::move(_newdir)); local
188 if (!IsDirectory() || !newdir->IsDirectory())
201 } else if ((newdir->ino() == ino_) && (oldname == newname)) {
209 if (olddn->IsSubdirectory(newdir->dnode_)) {
215 r = newdir->dnode_->Lookup(newname, &targetdn);
258 Dnode::AddChild(newdir->dnode_, fbl::move(olddn));
/fuchsia/zircon/system/ulib/fs/
H A Dvnode.cpp88 zx_status_t Vnode::Rename(fbl::RefPtr<Vnode> newdir, fbl::StringPiece oldname, argument
/fuchsia/zircon/system/ulib/minfs/
H A Dvnode.cpp1875 // Verify that the 'newdir' inode is not a subdirectory of the source.
1876 zx_status_t VnodeMinfs::CheckNotSubdirectory(fbl::RefPtr<VnodeMinfs> newdir) { argument
1877 fbl::RefPtr<VnodeMinfs> vn = newdir;
1904 auto newdir = fbl::RefPtr<VnodeMinfs>::Downcast(_newdir); local
1909 if (!(IsDirectory() && newdir->IsDirectory())) {
1922 } else if ((status = oldvn->CheckNotSubdirectory(newdir)) < 0) {
1929 } else if ((newdir->ino_ == ino_) && (oldname == newname)) {
1941 status = newdir->ForEachDirent(&args, DirentCallbackFindSpace);
1950 // Reserve potential blocks to add a new direntry to newdir.
1952 if ((status = GetRequiredBlockCount(newdir
[all...]
H A Dminfs-private.h393 zx_status_t Rename(fbl::RefPtr<fs::Vnode> newdir,
414 // Verify that the 'newdir' inode is not a subdirectory of this Vnode.
415 // Traces the path from newdir back to the root inode.
416 zx_status_t CheckNotSubdirectory(fbl::RefPtr<VnodeMinfs> newdir);
/fuchsia/zircon/system/ulib/fs/include/fs/
H A Dvnode.h181 // Renames the path at oldname in olddir to the path at newname in newdir.
184 virtual zx_status_t Rename(fbl::RefPtr<Vnode> newdir,
/fuchsia/zircon/system/ulib/memfs/include/lib/memfs/cpp/
H A Dvnode.h148 zx_status_t Rename(fbl::RefPtr<fs::Vnode> newdir, fbl::StringPiece oldname,

Completed in 39 milliseconds