Searched refs:oldName (Results 1 - 25 of 51) sorted by relevance

123

/haiku/src/add-ons/kernel/file_systems/ramfs/
H A DNameIndex.h22 virtual status_t Changed(Entry *entry, const char *oldName);
37 void _UpdateLiveQueries(Entry* entry, const char* oldName,
H A DNameIndex.cpp135 NameIndex::Changed(Entry *entry, const char *oldName) argument
138 if (entry && oldName) {
141 = fEntries->Find(NameIndexPrimaryKey(entry, oldName), entry, &it);
147 _UpdateLiveQueries(entry, oldName, entry->GetName());
222 NameIndex::_UpdateLiveQueries(Entry* entry, const char* oldName, argument
226 GetType(), (const uint8*)oldName, (oldName ? strlen(oldName) : 0),
/haiku/headers/private/kernel/fs/
H A Ddevfs.h24 status_t devfs_rename_partition(const char* devicePath, const char* oldName,
/haiku/src/add-ons/kernel/file_systems/packagefs/indices/
H A DNameIndex.cpp232 NameIndex::_UpdateLiveQueries(Node* entry, const char* oldName, argument
236 oldName, oldName ? strlen(oldName) : 0,
H A DNameIndex.h44 const char* oldName, const char* newName);
/haiku/src/add-ons/kernel/file_systems/bfs/
H A DIndex.h42 const char* oldName, const char* newName,
H A DQuery.h60 ino_t oldDirectoryID, const char* oldName,
H A DIndex.cpp299 Index::UpdateName(Transaction& transaction, const char* oldName, argument
304 uint16 oldLength = oldName != NULL ? strlen(oldName) : 0;
306 return Update(transaction, "name", B_STRING_TYPE, (uint8*)oldName,
H A Dkernel_interface.cpp1169 bfs_rename(fs_volume* _volume, fs_vnode* _oldDir, const char* oldName, argument
1172 FUNCTION_START(("oldDir = %p, oldName = \"%s\", newDir = %p, newName = "
1173 "\"%s\"\n", _oldDir, oldName, _newDir, newName));
1180 if (oldDirectory == newDirectory && !strcmp(oldName, newName))
1203 status = tree->Find((const uint8*)oldName, strlen(oldName), &id);
1287 volume->UpdateLiveQueriesRenameMove(inode, oldDirectory->ID(), oldName,
1291 if (strcmp(oldName, newName)) {
1295 index.UpdateName(transaction, oldName, newName, inode);
1300 status = tree->Remove(transaction, (const uint8*)oldName,
[all...]
/haiku/src/add-ons/kernel/file_systems/userlandfs/kernel_add_on/
H A DKernelRequestHandler.cpp149 char* oldName = (char*)request->oldName.GetData(); local
150 int32 oldNameLen = request->oldName.GetSize();
151 if (oldName && (oldNameLen <= 0))
152 oldName = NULL;
153 else if (oldName)
154 oldName[oldNameLen - 1] = '\0'; // NULL-terminate to be safe
160 if (!oldName) {
161 ERROR(("NotifyListenerRequest: NULL oldName for "
203 request->device, request->oldDirectory, oldName,
[all...]
/haiku/src/add-ons/kernel/file_systems/netfs/client/
H A DShareVolume.h97 virtual status_t Rename(Node* oldDir, const char* oldName,
131 const char* oldName, const char* newName);
211 const char* oldName, NodeID remoteNewDirID,
H A DVirtualVolume.h77 virtual status_t Rename(Node* oldDir, const char* oldName,
111 const char* oldName, const char* newName);
H A DVolume.h111 virtual status_t Rename(Node* oldDir, const char* oldName,
145 const char* oldName, const char* newName);
H A Dnetfs.cpp62 static int netfs_rename(void *ns, void *oldDir, const char *oldName,
89 static int netfs_rename_attr(void *ns, void *node, const char *oldName,
593 netfs_rename(void *ns, void *_oldDir, const char *oldName, void *_newDir, argument
598 PRINT("netfs_rename(%p, %p, `%s', %p, `%s')\n", ns, oldDir, oldName,
600 status_t error = oldDir->GetVolume()->Rename(oldDir, oldName,
846 netfs_rename_attr(void *ns, void *_node, const char *oldName, argument
850 PRINT("netfs_rename_attr(%p, %p, `%s', `%s')\n", ns, node, oldName,
852 status_t error = node->GetVolume()->RenameAttr(node, oldName, newName);
H A DVolume.cpp379 Volume::Rename(Node* oldDir, const char* oldName, Node* newDir, argument
512 Volume::RenameAttr(Node* node, const char* oldName, const char* newName) argument
/haiku/headers/os/storage/
H A DNode.h65 status_t RenameAttr(const char* oldName,
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/beos/
H A DBeOSKernelVolume.h66 virtual status_t Rename(void* oldDir, const char* oldName,
128 const char* oldName, void* newNode,
H A DBeOSKernelVolume.cpp321 BeOSKernelVolume::Rename(void* oldDir, const char* oldName, void* newDir, argument
326 return fFSOps->rename(fVolumeCookie, oldDir, oldName, newDir, newName);
665 BeOSKernelVolume::RenameAttr(void* oldNode, const char* oldName, argument
673 return fFSOps->rename_attr(fVolumeCookie, oldNode, oldName, newName);
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/
H A Dkernel_emu.h21 const char* oldName, const char* name);
H A DVolume.h92 virtual status_t Rename(void* oldDir, const char* oldName,
156 const char* oldName, void* newNode,
/haiku/src/tests/add-ons/kernel/file_systems/random_file_actions/
H A Drandom_file_actions.cpp613 const std::string& oldName = files[index].name; local
615 action("rename file \"%s\" to \"%s\"", oldName.c_str(), newName.c_str());
617 if (rename(oldName.c_str(), newName.c_str()) != 0) {
618 error("renaming file \"%s\" to \"%s\" failed: %s", oldName.c_str(),
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/haiku/
H A DHaikuKernelVolume.h99 virtual status_t Rename(void* oldDir, const char* oldName,
163 const char* oldName, void* newNode,
/haiku/src/build/libbe/storage/
H A DNode.cpp276 BNode::RenameAttr(const char* oldName, const char* newName) argument
281 return _kern_rename_attr(fFd, oldName, fFd, newName);
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/fuse/
H A DFUSEVolume.h71 virtual status_t Rename(void* oldDir, const char* oldName,
169 const char* oldName, FUSENode* newDir,
/haiku/src/add-ons/kernel/file_systems/ext2/
H A Dkernel_interface.cpp933 ext2_rename(fs_volume* _volume, fs_vnode* _oldDir, const char* oldName, argument
942 if (oldDirectory == newDirectory && strcmp(oldName, newName) == 0)
960 status = oldHTree.Lookup(oldName, &oldIterator);
967 status = oldIterator->FindEntry(oldName, &oldID);
1077 status = oldHTree.Lookup(oldName, &oldIterator);
1082 status = oldIterator->FindEntry(oldName, &oldID);
1122 entry_cache_remove(volume->ID(), oldDirectory->ID(), oldName);
1128 entry_cache_add(volume->ID(), newDirectory->ID(), oldName, oldID);
1133 notify_entry_moved(volume->ID(), oldDirectory->ID(), oldName,

Completed in 125 milliseconds

123