Home
last modified time | relevance | path

Searched refs:watch_node (Results 1 – 25 of 45) sorted by relevance

12

/haiku/src/add-ons/kernel/file_systems/netfs/server/
H A DNodeMonitor.cpp34 watch_node(NULL, B_WATCH_MOUNT, this); in NodeMonitor()
96 status_t error = watch_node(&ref, flags, this); in StartWatching()
102 error = watch_node(&ref, flags, this); in StartWatching()
117 return watch_node(&ref, B_STOP_WATCHING, this); in StopWatching()
/haiku/src/kits/print/
H A DFolderWatcher.cpp69 watch_node(&ref, B_WATCH_DIRECTORY, this); in FolderWatcher()
76 watch_node(&ref, B_STOP_WATCHING, this); in ~FolderWatcher()
170 return watch_node(node, B_WATCH_ATTR, this); in StartAttrWatching()
174 return watch_node(node, B_STOP_WATCHING, this); in StopAttrWatching()
H A DPrinterRoster.cpp152 return watch_node(&fUserPrintersNodRef, B_WATCH_DIRECTORY, *fListener); in StartWatching()
/haiku/src/kits/storage/
H A DNodeMonitor.cpp51 watch_node(const node_ref* node, uint32 flags, BMessenger target) in watch_node() function
95 watch_node(const node_ref* node, uint32 flags, const BHandler* handler, in watch_node() function
98 return watch_node(node, flags, BMessenger(handler, looper)); in watch_node()
H A DAddOnMonitorHandler.cpp48 watch_node(&eiter->addon_nref, B_STOP_WATCHING, this); in ~AddOnMonitorHandler()
49 watch_node(&it->nref, B_STOP_WATCHING, this); in ~AddOnMonitorHandler()
88 status = watch_node(nref, B_WATCH_DIRECTORY, this); in AddDirectory()
244 watch_node(&entryNodeRef, B_STOP_WATCHING, this); in EntryRemoved()
313 watch_node(&entryNodeRef, B_STOP_WATCHING, this); in EntryMoved()
687 watch_node(&addOnRef, B_WATCH_STAT, this); in _AddNewEntry()
H A DVolumeRoster.cpp108 error = watch_node(NULL, B_WATCH_MOUNT, messenger); in StartWatching()
/haiku/headers/os/storage/
H A DNodeMonitor.h90 extern status_t watch_node(const node_ref* node, uint32 flags,
92 extern status_t watch_node(const node_ref* node, uint32 flags,
/haiku/src/add-ons/input_server/filters/screen_saver/
H A DScreenSaverFilter.cpp124 watch_node(&fNodeRef, B_STOP_WATCHING, fController); in ~ScreenSaverFilter()
149 watch_node(&fNodeRef, B_STOP_WATCHING, fController); in _WatchSettings()
153 && watch_node(&fNodeRef, B_WATCH_ALL, fController) == B_OK) in _WatchSettings()
160 watch_node(&fNodeRef, B_STOP_WATCHING, fController); in _WatchSettings()
166 && watch_node(&fNodeRef, B_WATCH_DIRECTORY, fController) == B_OK) in _WatchSettings()
/haiku/src/tests/kits/storage/testapps/
H A DNodeMonitorTest.cpp35 status_t status = watch_node(&fNodeRef, B_WATCH_DIRECTORY, this); in Looper()
45 status_t status = watch_node(&fNodeRef, B_STOP_WATCHING, this); in ~Looper()
/haiku/docs/user/storage/
H A DNodeMonitor.dox24 watch_node(), and stop_watching().
27 - watch_node() starts or stops watching a node, or watches for volumes
34 //// Flags for the watch_node() call.
41 Flag for watch_node().
54 Flag for watch_volume() and watch_node().
64 Flag for watch_volume() and watch_node().
74 Flag for watch_volume() and watch_node().
84 Flag for watch_node().
92 \brief Flag for watch_node().
107 Flag for watch_node().
[all …]
H A DVolumeRoster.dox32 list of available volumes and watch_node()/stop_watching() for
108 described under watch_node(). Actually BVolumeRoster just provides a
125 \see watch_node()
/haiku/src/servers/bluetooth/
H A DDeviceManager.cpp92 status = watch_node(nref, B_WATCH_DIRECTORY, this); in AddDirectory()
124 status = watch_node(nref, B_STOP_WATCHING, this); in RemoveDirectory()
229 status_t error = watch_node(&nref, B_WATCH_DIRECTORY, this); in StartMonitoringDevice()
/haiku/src/preferences/repositories/
H A DRepositoriesWindow.cpp89 status_t result = watch_node(&fPackageNodeRef, B_WATCH_DIRECTORY, this); in _StartWatching()
99 watch_node(&fPackageNodeRef, B_STOP_WATCHING, this); in _StopWatching()
/haiku/src/kits/tracker/
H A DFSClipboard.cpp615 watch_node(NULL, B_WATCH_MOUNT, this); in BClipboardRefsWatcher()
681 watch_node(node, B_STOP_WATCHING, this); in RemoveNode()
729 watch_node(&node, B_STOP_WATCHING, this); in RemoveNodesByDevice()
766 watch_node(NULL, B_WATCH_MOUNT, this); in Clear()
808 watch_node(NULL, B_WATCH_MOUNT, this); in UpdatePoseViews()
820 watch_node(&tcnode->node, B_STOP_WATCHING, this); in UpdatePoseViews()
822 watch_node(&tcnode->node, B_STOP_WATCHING, this); in UpdatePoseViews()
H A DTrashWatcher.cpp195 watch_node(&trash_node, B_WATCH_DIRECTORY, this); in WatchTrashDirs()
/haiku/docs/develop/file_systems/
H A Dnode_monitoring.rst21 status_t watch_node(const node_ref *node,
25 status_t watch_node(const node_ref *node,
67 The flags parameter in ``watch_node()`` understands the following
71 watch_node() will stop to watch the specified node.
149 If you call ``watch_node()`` on a file with a flags parameter unequal to
190 BeOS reserves a certain number of slots for calls to ``watch_node()`` -
193 - you could call ``watch_node()`` several times, but you would waste
198 for every ``watch_node()`` call, in OpenBeOS, you'll get only one
/haiku/src/tests/system/kernel/
H A Dnode_monitor_test.cpp56 if (watch_node(&nodeRef, flags, this) == B_OK) in ArgvReceived()
/haiku/src/kits/device/
H A DUSBRoster.cpp88 watch_node(&fNode, B_WATCH_DIRECTORY, *fMessenger); in WatchedEntry()
110 watch_node(&fNode, B_STOP_WATCHING, *fMessenger); in ~WatchedEntry()
/haiku/src/servers/launch/
H A DVolumeWatcher.cpp36 watch_node(NULL, B_WATCH_MOUNT, this); in VolumeWatcher()
/haiku/src/apps/mail/
H A DEnclosures.cpp135 watch_node(item->NodeRef(), B_STOP_WATCHING, this); in ~TEnclosuresView()
184 watch_node(item->NodeRef(), B_STOP_WATCHING, this); in MessageReceived()
223 watch_node(item->NodeRef(), B_WATCH_NAME, this); in MessageReceived()
/haiku/src/apps/packageinstaller/
H A DUninstallView.cpp130 if (watch_node(&ref, B_WATCH_DIRECTORY, this) != B_OK) { in AttachedToWindow()
170 if (watch_node(&ref, B_WATCH_DIRECTORY, this) == B_OK) in MessageReceived()
/haiku/src/servers/app/
H A DScreenManager.cpp86 watch_node(&nodeRef, B_WATCH_DIRECTORY, this); in ScreenManager()
/haiku/src/preferences/virtualmemory/
H A DSettingsWindow.cpp193 watch_node(NULL, B_WATCH_MOUNT, this, this); in SettingsWindow()
380 watch_node(&node, B_WATCH_NAME, item); in _AddVolumeMenuItem()
/haiku/src/preferences/media/
H A DMidiSettingsView.cpp282 watch_node(&nref, B_WATCH_ALL, this); in _WatchFolders()
/haiku/src/apps/webpositive/
H A DBookmarkBar.cpp45 watch_node(&fNodeRef, B_WATCH_DIRECTORY, BMessenger(this)); in AttachedToWindow()

12