/haiku/src/tests/system/kernel/file_corruption/fs/ |
H A D | Notifications.cpp | 59 const char* fromName, Directory* toDirectory, const char* toName, in EntryMovedNotification() argument 65 fToName(toName), in EntryMovedNotification()
|
H A D | Notifications.h | 47 Directory* toDirectory, const char* toName,
|
/haiku/src/add-ons/kernel/file_systems/nfs4/ |
H A D | Inode.cpp | 308 Inode::Rename(Inode* from, Inode* to, const char* fromName, const char* toName, in Rename() argument 314 ASSERT(toName != NULL); in Rename() 331 toName = to->AttrToFileName(toName); in Rename() 334 toNameDeleter.SetTo(const_cast<char*>(toName)); in Rename() 335 if (fromName == NULL || toName == NULL) in Rename() 341 to->NFS4Inode::LookUp(toName, NULL, &oldFileID, NULL); in Rename() 345 status_t result = NFS4Inode::RenameNode(from, to, fromName, toName, in Rename() 363 cache->AddEntry(toName, fileID, true); in Rename() 376 cache->AddEntry(toName, fileID, true); in Rename() 387 notify_attribute_changed(to->fFileSystem->DevId(), -1, to->ID(), toName, in Rename() [all …]
|
H A D | NFS4Inode.h | 40 const char* toName, ChangeInfo* fromChange,
|
H A D | kernel_interface.cpp | 616 fs_vnode* toDir, const char* toName) in nfs4_rename() argument 623 fromName, toName); in nfs4_rename() 638 status_t result = Inode::Rename(fromInode, toInode, fromName, toName, false, in nfs4_rename() 651 if (vti->Unlink(toInode->fInfo.fNames, toName)) in nfs4_rename() 669 child->fInfo.fNames->AddName(toInode->fInfo.fNames, toName); in nfs4_rename() 1298 fs_vnode* toVnode, const char* toName) in nfs4_rename_attr() argument 1312 return Inode::Rename(fromInode, toInode, fromName, toName, true); in nfs4_rename_attr()
|
H A D | Inode.h | 64 const char* fromName, const char* toName,
|
H A D | NFS4Inode.cpp | 361 const char* toName, ChangeInfo* fromChange, ChangeInfo* toChange, in RenameNode() argument 367 ASSERT(toName != NULL); in RenameNode() 386 req.Rename(fromName, toName); in RenameNode() 389 req.LookUp(toName); in RenameNode()
|
/haiku/src/add-ons/kernel/file_systems/netfs/server/ |
H A D | VolumeManager.cpp | 141 const char* fromName, ino_t toDirectory, const char* toName) in EntryMovedEventKey() 144 toName(toName) in EntryMovedEventKey() 154 hash = 17 * hash + string_hash(toName.GetString()); in GetHashCode() 162 && toName == other.toName; in operator ==() 171 HashString toName; member 1234 event->toName.GetString()); in _EntryMoved() 1266 event->toName.GetString(), false, &newEntry); in _EntryMoved() 1320 createdEvent->name = event->toName; in _EntryMoved() 1611 createdEvent->name = event->toName; in _QueryEntryMoved() 1705 event->toName.GetString()); in _CheckVolumeRootMoved()
|
H A D | NodeMonitoringEvent.h | 64 HashString toName; member
|
H A D | NodeMonitoringEvent.cpp | 82 if (!toName.SetTo(localName)) in Init()
|
/haiku/src/tools/fs_shell/ |
H A D | node_monitor.cpp | 28 const char *fromName, fssh_vnode_id toDirectory, const char *toName, in fssh_notify_entry_moved() argument
|
H A D | syscalls.h | 65 int toFile, const char *toName);
|
/haiku/src/system/kernel/fs/ |
H A D | rootfs.cpp | 968 fs_vnode* _toDir, const char* toName) in rootfs_rename() argument 979 toName)); in rootfs_rename() 1010 struct rootfs_vnode* targetVnode = rootfs_find_in_dir(toDirectory, toName); in rootfs_rename() 1018 entry_cache_remove(fs->volume->id, toDirectory->id, toName); in rootfs_rename() 1023 if (strlen(fromName) < strlen(toName)) { in rootfs_rename() 1024 char* nameBuffer = strdup(toName); in rootfs_rename() 1032 strcpy(vnode->name, toName); in rootfs_rename() 1044 entry_cache_add(fs->volume->id, toDirectory->id, toName, vnode->id); in rootfs_rename() 1047 toName, vnode->id); in rootfs_rename()
|
H A D | node_monitor.cpp | 99 const char *fromName, ino_t toDirectory, const char *toName, 705 const char *fromName, ino_t toDirectory, const char *toName, in NotifyEntryMoved() argument 708 if (!fromName || !toName) in NotifyEntryMoved() 750 message.AddString("name", toName); in NotifyEntryMoved() 1193 const char *fromName, ino_t toDirectory, const char *toName, in notify_entry_moved() argument 1197 fromName, toDirectory, toName, node); in notify_entry_moved()
|
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/haiku/ |
H A D | haiku_kernel_emu.cpp | 86 const char *fromName, ino_t toDirectory, const char *toName, in notify_entry_moved() argument 89 if (!fromName || !toName) in notify_entry_moved() 93 fromDirectory, toDirectory, node, fromName, toName); in notify_entry_moved()
|
/haiku/src/build/libroot/ |
H A D | fs_attr_generic.cpp | 714 const char *toName) in _kern_rename_attr() argument 716 if (!fromName || !toName) in _kern_rename_attr() 729 error = get_attribute_path_virtual_fd(toFile, toName, toAttrPath, in _kern_rename_attr()
|
H A D | fs_attr_haiku.cpp | 298 const char *toName) in _kern_rename_attr() argument
|
/haiku/headers/build/private/kernel/ |
H A D | syscalls.h | 80 int toFile, const char *toName);
|
/haiku/src/add-ons/kernel/file_systems/layers/log_overlay/ |
H A D | log_overlay.cpp | 323 const char *fromName, fs_vnode *toDir, const char *toName) in overlay_rename() argument 326 fromName, ((fs_vnode *)toDir->private_node)->private_node, toName); in overlay_rename() 327 OVERLAY_CALL(rename, fromName, (fs_vnode *)toDir->private_node, toName) in overlay_rename() 668 const char *fromName, fs_vnode *toVnode, const char *toName) in overlay_rename_attr() argument 671 fromName, ((fs_vnode *)toVnode->private_node)->private_node, toName); in overlay_rename_attr() 673 toName) in overlay_rename_attr()
|
/haiku/headers/os/drivers/ |
H A D | fs_interface.h | 164 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 D | fssh_fs_interface.h | 180 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/bindfs/ |
H A D | kernel_interface.cpp | 511 fs_vnode* toDir, const char* toName) in bindfs_rename() argument 518 volume, node, node->ID(), fromName, toDir, toName); in bindfs_rename() 523 toName); in bindfs_rename() 1063 fs_vnode* toDir, const char* toName) in bindfs_rename_attr() argument 1070 volume, node, node->ID(), fromName, toDir, toName); in bindfs_rename_attr() 1075 toDir, toName); in bindfs_rename_attr()
|
/haiku/src/add-ons/kernel/file_systems/userlandfs/kernel_add_on/ |
H A D | kernel_interface.cpp | 414 const char *fromName, fs_vnode* fsToDir, const char *toName) in userlandfs_rename() argument 418 fsFromDir->private_node, fromName, fsToDir->private_node, toName)); in userlandfs_rename() 420 fsToDir->private_node, toName); in userlandfs_rename() 846 const char* fromName, fs_vnode* fsToNode, const char* toName) in userlandfs_rename_attr() argument 850 fsFromNode->private_node, fromName, fsToNode->private_node, toName)); in userlandfs_rename_attr() 852 fsToNode->private_node, toName); in userlandfs_rename_attr()
|
/haiku/src/add-ons/kernel/file_systems/layers/write_overlay/ |
H A D | write_overlay.cpp | 1817 const char *fromName, fs_vnode *toVnode, const char *toName) in overlay_rename() argument 1819 TRACE("rename: \"%s\" -> \"%s\"\n", fromName, toName); in overlay_rename() 1829 entry->name = strdup(toName); in overlay_rename() 1858 toNode->InodeNumber(), toName, entry->inode_number); in overlay_rename() 2130 const char *fromName, fs_vnode *toVnode, const char *toName) in overlay_rename_attr() argument 2132 TRACE("rename attr: \"%s\" -> \"%s\"\n", fromName, toName); in overlay_rename_attr() 2142 entry->name = strdup(toName); in overlay_rename_attr() 2171 notify_attribute_changed(volume->id, -1, toNode->InodeNumber(), toName, in overlay_rename_attr()
|
/haiku/src/servers/package/ |
H A D | Volume.cpp | 863 const char* toName; in _HandleEntryMoved() local 868 || message->FindString("name", &toName) != B_OK in _HandleEntryMoved() 881 _QueueNodeMonitorEvent(toName, true); in _HandleEntryMoved()
|