Searched refs:toName (Results 1 - 25 of 39) sorted by relevance

12

/haiku/src/tests/system/kernel/file_corruption/fs/
H A DNotifications.cpp59 const char* fromName, Directory* toDirectory, const char* toName,
65 fToName(toName),
58 EntryMovedNotification(Directory* fromDirectory, const char* fromName, Directory* toDirectory, const char* toName, Node* node) argument
H A DNotifications.h47 Directory* toDirectory, const char* toName,
/haiku/src/add-ons/kernel/file_systems/netfs/server/
H A DNodeMonitoringEvent.h64 HashString toName; member in struct:EntryMovedEvent
H A DVolumeManager.cpp141 const char* fromName, ino_t toDirectory, const char* toName)
144 toName(toName)
154 hash = 17 * hash + string_hash(toName.GetString());
162 && toName == other.toName;
171 HashString toName; member in struct:EntryMovedEventKey
1234 event->toName.GetString());
1266 event->toName.GetString(), false, &newEntry);
1320 createdEvent->name = event->toName;
140 EntryMovedEventKey(dev_t volumeID, ino_t fromDirectory, const char* fromName, ino_t toDirectory, const char* toName) argument
[all...]
H A DNodeMonitoringEvent.cpp82 if (!toName.SetTo(localName))
/haiku/src/tools/fs_shell/
H A Dnode_monitor.cpp28 const char *fromName, fssh_vnode_id toDirectory, const char *toName,
27 fssh_notify_entry_moved(fssh_mount_id device, fssh_vnode_id fromDirectory, const char *fromName, fssh_vnode_id toDirectory, const char *toName, fssh_vnode_id node) argument
H A Dsyscalls.h65 int toFile, const char *toName);
H A Dvfs.cpp3834 char toName[FSSH_B_FILE_NAME_LENGTH]; local
3843 status = fd_and_path_to_dir_vnode(newFD, newPath, &toVnode, toName, kernel);
3853 status = FS_CALL(fromVnode, rename, fromName, toVnode, toName);
4257 attr_rename(int fromfd, const char *fromName, int tofd, const char *toName, bool kernel) argument
4263 if (fromName == NULL || *fromName == '\0' || toName == NULL || *toName == '\0')
4266 FUNCTION(("attr_rename: from fd = %d, from name = \"%s\", to fd = %d, to name = \"%s\", kernel %d\n", fromfd, fromName, tofd, toName, kernel));
4285 status = FS_CALL(fromVnode, rename_attr, fromName, toVnode, toName);
5634 _kern_rename_attr(int fromFile, const char *fromName, int toFile, const char *toName) argument
5636 return attr_rename(fromFile, fromName, toFile, toName, tru
[all...]
/haiku/src/add-ons/kernel/file_systems/nfs4/
H A DInode.cpp308 Inode::Rename(Inode* from, Inode* to, const char* fromName, const char* toName, argument
314 ASSERT(toName != NULL);
331 toName = to->AttrToFileName(toName);
334 toNameDeleter.SetTo(const_cast<char*>(toName));
335 if (fromName == NULL || toName == NULL)
341 to->NFS4Inode::LookUp(toName, NULL, &oldFileID, NULL);
345 status_t result = NFS4Inode::RenameNode(from, to, fromName, toName,
363 cache->AddEntry(toName, fileID, true);
376 cache->AddEntry(toName, fileI
[all...]
H A DNFS4Inode.h40 const char* toName, ChangeInfo* fromChange,
H A DInode.h64 const char* fromName, const char* toName,
H A Dkernel_interface.cpp616 fs_vnode* toDir, const char* toName)
622 " fromName = %s, toName = %s\n", volume, fromVti->ID(), toVti->ID(),
623 fromName, toName);
638 status_t result = Inode::Rename(fromInode, toInode, fromName, toName, false,
651 if (vti->Unlink(toInode->fInfo.fNames, toName))
669 child->fInfo.fNames->AddName(toInode->fInfo.fNames, toName);
1298 fs_vnode* toVnode, const char* toName)
1312 return Inode::Rename(fromInode, toInode, fromName, toName, true);
615 nfs4_rename(fs_volume* volume, fs_vnode* fromDir, const char* fromName, fs_vnode* toDir, const char* toName) argument
1297 nfs4_rename_attr(fs_volume* volume, fs_vnode* fromVnode, const char* fromName, fs_vnode* toVnode, const char* toName) argument
H A DNFS4Inode.cpp361 const char* toName, ChangeInfo* fromChange, ChangeInfo* toChange,
367 ASSERT(toName != NULL);
386 req.Rename(fromName, toName);
389 req.LookUp(toName);
360 RenameNode(Inode* from, Inode* to, const char* fromName, const char* toName, ChangeInfo* fromChange, ChangeInfo* toChange, uint64* fileID, bool attribute) argument
/haiku/src/system/kernel/fs/
H A Drootfs.cpp968 fs_vnode* _toDir, const char* toName)
975 "(0x%Lx, %s), toName '%s'\n", fromDirectory, fromDirectory->id,
979 toName));
1010 struct rootfs_vnode* targetVnode = rootfs_find_in_dir(toDirectory, toName);
1018 entry_cache_remove(fs->volume->id, toDirectory->id, toName);
1023 if (strlen(fromName) < strlen(toName)) {
1024 char* nameBuffer = strdup(toName);
1032 strcpy(vnode->name, toName);
1044 entry_cache_add(fs->volume->id, toDirectory->id, toName, vnode->id);
1047 toName, vnod
967 rootfs_rename(fs_volume* _volume, fs_vnode* _fromDir, const char* fromName, fs_vnode* _toDir, const char* toName) argument
[all...]
H A Dnode_monitor.cpp99 const char *fromName, ino_t toDirectory, const char *toName,
705 const char *fromName, ino_t toDirectory, const char *toName,
708 if (!fromName || !toName)
750 message.AddString("name", toName);
1185 \param toName The entry's new name.
1193 const char *fromName, ino_t toDirectory, const char *toName,
1197 fromName, toDirectory, toName, node);
704 NotifyEntryMoved(dev_t device, ino_t fromDirectory, const char *fromName, ino_t toDirectory, const char *toName, ino_t node) argument
1192 notify_entry_moved(dev_t device, ino_t fromDirectory, const char *fromName, ino_t toDirectory, const char *toName, ino_t node) argument
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/haiku/
H A Dhaiku_kernel_emu.cpp86 const char *fromName, ino_t toDirectory, const char *toName,
89 if (!fromName || !toName)
93 fromDirectory, toDirectory, node, fromName, toName);
85 notify_entry_moved(dev_t device, ino_t fromDirectory, const char *fromName, ino_t toDirectory, const char *toName, ino_t node) argument
/haiku/headers/build/private/kernel/
H A Dsyscalls.h80 int toFile, const char *toName);
/haiku/src/build/libroot/
H A Dfs_attr_generic.cpp714 const char *toName)
716 if (!fromName || !toName)
729 error = get_attribute_path_virtual_fd(toFile, toName, toAttrPath,
713 _kern_rename_attr(int fromFile, const char *fromName, int toFile, const char *toName) argument
H A Dfs_attr_haiku.cpp298 const char *toName)
297 _kern_rename_attr(int fromFile, const char *fromName, int toFile, const char *toName) argument
/haiku/headers/os/drivers/
H A Dfs_interface.h164 const char* fromName, fs_vnode* toDir, const char* toName);
236 const char* fromName, fs_vnode* toVnode, const char* toName);
360 const char* toName, ino_t node);
/haiku/headers/private/fs_shell/
H A Dfssh_fs_interface.h180 const char *fromName, fssh_fs_vnode *toDir, const char *toName);
263 fssh_fs_vnode *toVnode, const char *toName);
395 fssh_vnode_id toDirectory, const char *toName,
/haiku/src/add-ons/kernel/file_systems/userlandfs/kernel_add_on/
H A Dkernel_interface.cpp414 const char *fromName, fs_vnode* fsToDir, const char *toName)
418 fsFromDir->private_node, fromName, fsToDir->private_node, toName));
420 fsToDir->private_node, toName);
846 const char* fromName, fs_vnode* fsToNode, const char* toName)
850 fsFromNode->private_node, fromName, fsToNode->private_node, toName));
852 fsToNode->private_node, toName);
413 userlandfs_rename(fs_volume* fsVolume, fs_vnode* fsFromDir, const char *fromName, fs_vnode* fsToDir, const char *toName) argument
845 userlandfs_rename_attr(fs_volume* fsVolume, fs_vnode* fsFromNode, const char* fromName, fs_vnode* fsToNode, const char* toName) argument
/haiku/src/add-ons/kernel/file_systems/layers/log_overlay/
H A Dlog_overlay.cpp323 const char *fromName, fs_vnode *toDir, const char *toName)
326 fromName, ((fs_vnode *)toDir->private_node)->private_node, toName);
327 OVERLAY_CALL(rename, fromName, (fs_vnode *)toDir->private_node, toName)
668 const char *fromName, fs_vnode *toVnode, const char *toName)
671 fromName, ((fs_vnode *)toVnode->private_node)->private_node, toName);
673 toName)
322 overlay_rename(fs_volume *volume, fs_vnode *vnode, const char *fromName, fs_vnode *toDir, const char *toName) argument
667 overlay_rename_attr(fs_volume *volume, fs_vnode *vnode, const char *fromName, fs_vnode *toVnode, const char *toName) argument
/haiku/src/add-ons/kernel/file_systems/bindfs/
H A Dkernel_interface.cpp511 fs_vnode* toDir, const char* toName)
518 volume, node, node->ID(), fromName, toDir, toName);
523 toName);
1063 fs_vnode* toDir, const char* toName)
1070 volume, node, node->ID(), fromName, toDir, toName);
1075 toDir, toName);
510 bindfs_rename(fs_volume* fsVolume, fs_vnode* fsNode, const char* fromName, fs_vnode* toDir, const char* toName) argument
1062 bindfs_rename_attr(fs_volume* fsVolume, fs_vnode* fsNode, const char* fromName, fs_vnode* toDir, const char* toName) argument
/haiku/src/add-ons/kernel/file_systems/layers/write_overlay/
H A Dwrite_overlay.cpp1817 const char *fromName, fs_vnode *toVnode, const char *toName)
1819 TRACE("rename: \"%s\" -> \"%s\"\n", fromName, toName);
1829 entry->name = strdup(toName);
1858 toNode->InodeNumber(), toName, entry->inode_number);
2130 const char *fromName, fs_vnode *toVnode, const char *toName)
2132 TRACE("rename attr: \"%s\" -> \"%s\"\n", fromName, toName);
2142 entry->name = strdup(toName);
2171 notify_attribute_changed(volume->id, -1, toNode->InodeNumber(), toName,
1816 overlay_rename(fs_volume *volume, fs_vnode *vnode, const char *fromName, fs_vnode *toVnode, const char *toName) argument
2129 overlay_rename_attr(fs_volume *volume, fs_vnode *vnode, const char *fromName, fs_vnode *toVnode, const char *toName) argument

Completed in 153 milliseconds

12