Lines Matching refs:entryRef

165 		entry_ref entryRef;
166 error = entry.GetRef(&entryRef);
170 fEntryRef.device = entryRef.device;
171 fEntryRef.directory = entryRef.directory;
563 bool _EntryCreated(const NotOwningEntryRef& entryRef,
566 bool _EntryRemoved(const NotOwningEntryRef& entryRef,
597 const entry_ref& entryRef,
1060 NotOwningEntryRef entryRef;
1065 || message->FindInt64("directory", &entryRef.directory) != B_OK
1066 || message->FindString("name", (const char**)&entryRef.name) != B_OK) {
1069 entryRef.device = nodeRef.device;
1071 if (_CheckDuplicateEntryNotification(B_ENTRY_CREATED, entryRef, nodeRef))
1075 ":\"%s\", node: %" B_PRIdDEV ":%" B_PRIdINO "\n", this, entryRef.device,
1076 entryRef.directory, entryRef.name, nodeRef.device, nodeRef.node);
1080 if (entry.SetTo(&entryRef) != B_OK || entry.GetStat(&st) != B_OK
1085 _EntryCreated(entryRef, nodeRef, S_ISDIR(st.st_mode), false, true, NULL);
1092 NotOwningEntryRef entryRef;
1097 || message->FindInt64("directory", &entryRef.directory) != B_OK
1098 || message->FindString("name", (const char**)&entryRef.name) != B_OK) {
1101 entryRef.device = nodeRef.device;
1103 if (_CheckDuplicateEntryNotification(B_ENTRY_REMOVED, entryRef, nodeRef))
1107 ":\"%s\", node: %" B_PRIdDEV ":%" B_PRIdINO "\n", this, entryRef.device,
1108 entryRef.directory, entryRef.name, nodeRef.device, nodeRef.node);
1110 _EntryRemoved(entryRef, nodeRef, false, true, NULL);
1375 PathHandler::_EntryCreated(const NotOwningEntryRef& entryRef,
1385 && entryRef == ancestor->EntryRef()) {
1412 ancestor = _GetAncestor(entryRef.DirectoryNodeRef());
1418 if (strcmp(entryRef.name, childAncestor->Name()) != 0) {
1443 _NotifyEntryCreatedOrRemoved(entryRef, nodeRef,
1444 make_path(fPath, entryRef.name), isDirectory,
1457 Node* directoryNode = _GetNode(entryRef.DirectoryNodeRef());
1471 _EntryCreated(directoryEntryRef, entryRef.DirectoryNodeRef(),
1485 if (Entry* nodeEntry = directory->FindEntry(entryRef.name)) {
1498 _AddEntryIfNeeded(directory, entryRef.name, nodeRef, isDirectory, notify,
1505 PathHandler::_EntryRemoved(const NotOwningEntryRef& entryRef,
1518 if (entryRef != ancestor->EntryRef()) {
1545 ancestor = _GetAncestor(entryRef.DirectoryNodeRef());
1558 _NotifyEntryCreatedOrRemoved(entryRef, nodeRef,
1559 make_path(fPath, entryRef.name), false, B_ENTRY_REMOVED);
1573 Node* directoryNode = _GetNode(entryRef.DirectoryNodeRef());
1587 Entry* nodeEntry = directory->FindEntry(entryRef.name);
1705 entry_ref entryRef;
1706 while (directory.GetNextRef(&entryRef) == B_OK) {
1708 if (BEntry(&entryRef).GetStat(&st) != B_OK)
1712 status_t error = _AddEntryIfNeeded(directoryNode, entryRef.name,
1718 isDirectory, notify, entryRef.name);
1839 PathHandler::_NotifyEntryCreatedOrRemoved(const entry_ref& entryRef,
1849 entryRef.device, entryRef.directory, entryRef.name, nodeRef.device,
1854 message.AddInt32("device", entryRef.device);
1855 message.AddInt64("directory", entryRef.directory);
1864 message.AddString("name", entryRef.name);