Lines Matching refs:directory

71 	// directory, or (much more likely) if the looper thread handles a pulse
83 BDirectory directory(nref);
84 status_t status = directory.InitCheck();
100 while (directory.GetNextEntry(&entry) == B_OK) {
152 BDirectory directory;
157 && directory.SetTo(path.Path()) == B_OK
158 && directory.GetNodeRef(&nodeRef) == B_OK) {
201 AddOnMonitorHandler::EntryCreated(const char* name, ino_t directory,
207 make_node_ref(device, directory, &entryInfo.dir_nref);
213 AddOnMonitorHandler::EntryRemoved(const char* name, ino_t directory,
230 // Find the directory of the entry.
232 if (!_FindDirectory(directory, device, diter)) {
239 // This must be the directory, but we didn't find the entry.
247 // Start at the top again, and search until the directory we found
284 // Search the "from" and "to" directory in the known directories
293 // It seems the notification was for a directory we are not
316 // Start at the top again, and search until the from directory.
356 // Start at the top again, and search until the to directory.
380 // put the new entry into the target directory
394 // If an entry moved from one watched directory into another watched
395 // directory, there will be two notifications, and this may be the
470 // put the new entry into the target directory
512 BDirectory directory;
517 // Initialize directory, or re-use from previous iteration, if
518 // directory node_ref remained the same from the last pending entry.
520 if (directory.GetNodeRef(&dirNodeRef) != B_OK
522 if (directory.SetTo(&info.dir_nref) != B_OK) {
523 // invalid directory, discard this pending entry
531 if (directory.GetStatFor(info.name, &st) != B_OK) {
555 // put the new entry into the directory info
567 // Start at the top again, and search until the directory we put
638 AddOnMonitorHandler::_FindDirectory(ino_t directory, dev_t device,
642 make_node_ref(device, directory, &nodeRef);
656 AddOnMonitorHandler::_FindDirectory(ino_t directory, dev_t device,
661 make_node_ref(device, directory, &nodeRef);
682 BDirectory directory(&info.dir_nref);
683 BEntry entry(&directory, info.name, true);