Home
last modified time | relevance | path

Searched refs:fromDirectory (Results 1 – 18 of 18) sorted by relevance

/haiku/src/kits/storage/
H A DNodeMonitorHandler.cpp105 ino_t fromDirectory, ino_t toDirectory, dev_t device,ino_t node, in EntryMoved() argument
186 ino_t fromDirectory; in HandleEntryMoved() local
193 (msg->FindInt64("from directory", &fromDirectory) != B_OK) || in HandleEntryMoved()
200 EntryMoved(name, fromName, fromDirectory, toDirectory, device, node, in HandleEntryMoved()
H A DAddOnMonitorHandler.cpp278 ino_t fromDirectory, ino_t toDirectory, dev_t device, ino_t node, in EntryMoved() argument
286 bool watchingFromDirectory = _FindDirectory(fromDirectory, device, in EntryMoved()
408 EntryRemoved(name, fromDirectory, device, node); in EntryMoved()
/haiku/src/tests/system/kernel/file_corruption/fs/
H A DNotifications.cpp58 EntryMovedNotification::EntryMovedNotification(Directory* fromDirectory, in EntryMovedNotification() argument
62 fFromDirectory(fromDirectory), in EntryMovedNotification()
H A DNotifications.h45 EntryMovedNotification(Directory* fromDirectory,
H A Dchecksumfs.cpp1280 Directory* fromDirectory in checksumfs_rename() local
1284 if (fromDirectory == NULL || toDirectory == NULL) in checksumfs_rename()
1300 NodeReadLocker directoryLocker(fromDirectory); in checksumfs_rename()
1303 status_t error = fromDirectory->LookupEntry(fromName, blockIndex); in checksumfs_rename()
1321 error = fromDirectory != toDirectory in checksumfs_rename()
1322 ? transaction.AddNodes(fromDirectory, toDirectory, node) in checksumfs_rename()
1323 : transaction.AddNodes(fromDirectory, node); in checksumfs_rename()
1328 error = fromDirectory->LookupEntry(fromName, blockIndex); in checksumfs_rename()
1340 status_t error = check_access(fromDirectory, W_OK); in checksumfs_rename()
1355 if (fromDirectory != toDirectory && S_ISDIR(node->Mode())) { in checksumfs_rename()
[all …]
/haiku/src/system/kernel/fs/
H A Drootfs.cpp971 struct rootfs_vnode* fromDirectory = (rootfs_vnode*)_fromDir->private_node; in rootfs_rename() local
975 "(0x%Lx, %s), toName '%s'\n", fromDirectory, fromDirectory->id, in rootfs_rename()
976 fromDirectory->name != NULL ? fromDirectory->name : "NULL", in rootfs_rename()
986 if (fromDirectory->id == 1 && strcmp(fromName, "boot") == 0) in rootfs_rename()
989 status_t status = rootfs_check_permissions(fromDirectory, W_OK); in rootfs_rename()
997 struct rootfs_vnode* vnode = rootfs_find_in_dir(fromDirectory, fromName); in rootfs_rename()
1036 entry_cache_remove(fs->volume->id, fromDirectory->id, fromName); in rootfs_rename()
1037 rootfs_remove_from_dir(fs, fromDirectory, vnode); in rootfs_rename()
1046 notify_entry_moved(fs->id, fromDirectory->id, fromName, toDirectory->id, in rootfs_rename()
H A Dnode_monitor.cpp98 status_t NotifyEntryMoved(dev_t device, ino_t fromDirectory,
704 NodeMonitorService::NotifyEntryMoved(dev_t device, ino_t fromDirectory, in NotifyEntryMoved() argument
728 _GetInterestedMonitorListeners(device, fromDirectory, B_WATCH_DIRECTORY, in NotifyEntryMoved()
731 if (toDirectory != fromDirectory) { in NotifyEntryMoved()
745 message.AddInt64("from directory", fromDirectory); in NotifyEntryMoved()
1192 notify_entry_moved(dev_t device, ino_t fromDirectory, in notify_entry_moved() argument
1196 return sNodeMonitorService.NotifyEntryMoved(device, fromDirectory, in notify_entry_moved()
/haiku/src/tools/fs_shell/
H A Dnode_monitor.cpp27 fssh_notify_entry_moved(fssh_mount_id device, fssh_vnode_id fromDirectory, in fssh_notify_entry_moved() argument
/haiku/headers/private/storage/
H A DNodeMonitorHandler.h34 ino_t fromDirectory, ino_t toDirectory, dev_t device,
H A DAddOnMonitorHandler.h69 const char *fromName, ino_t fromDirectory,
/haiku/src/servers/app/font/
H A DGlobalFontManager.cpp216 font_directory* fromDirectory = _FindDirectory(nodeRef); in MessageReceived() local
219 if (fromDirectory == NULL) { in MessageReceived()
239 if (fromDirectory != NULL) { in MessageReceived()
243 while ((style = fromDirectory->FindStyle(nodeRef)) != NULL) { in MessageReceived()
244 fromDirectory->styles.RemoveItem(style, false); in MessageReceived()
/haiku/src/apps/musiccollection/
H A DFileMonitor.h83 const char *fromName, ino_t fromDirectory,
H A DFileMonitor.cpp129 ino_t fromDirectory, ino_t toDirectory, dev_t device, ino_t node, in EntryMoved() argument
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/haiku/
H A Dhaiku_kernel_emu.cpp85 notify_entry_moved(dev_t device, ino_t fromDirectory, in notify_entry_moved() argument
93 fromDirectory, toDirectory, node, fromName, toName); in notify_entry_moved()
/haiku/src/add-ons/kernel/file_systems/netfs/server/
H A DVolumeManager.cpp140 EntryMovedEventKey(dev_t volumeID, ino_t fromDirectory, in EntryMovedEventKey()
142 : EntryRef(volumeID, fromDirectory, fromName), in EntryMovedEventKey()
1201 Directory* fromDirectory in _EntryMoved() local
1208 if (!fromDirectory && !toDirectory) in _EntryMoved()
1284 bool containsFrom = DirectoryContains(rootDir, fromDirectory, true); in _EntryMoved()
/haiku/headers/os/drivers/
H A Dfs_interface.h358 extern status_t notify_entry_moved(dev_t device, ino_t fromDirectory,
/haiku/headers/private/fs_shell/
H A Dfssh_fs_interface.h394 fssh_vnode_id fromDirectory, const char *fromName,
/haiku/docs/user/drivers/
H A Dfs_interface.dox1912 \fn status_t notify_entry_moved(dev_t device, ino_t fromDirectory,