Searched refs:IONotifier (Results 1 - 9 of 9) sorted by relevance

/darwin-on-arm/xnu/iokit/IOKit/
H A DIONotifier.h40 /*! @class IONotifier : public OSObject
42 @discussion IOService notification requests are represented as implementations of the IONotifier object. It defines methods to enable, disable and remove notification requests. These actions are synchronized with invocations of the notification handler, so removing a notification request will guarantee the handler is not being executed. */
44 class IONotifier : public OSObject class in inherits:OSObject
46 OSDeclareAbstractStructors(IONotifier)
52 @discussion Removes the notification request and release it. Since creating an IONotifier instance will leave it with a retain count of one, creating an IONotifier and then removing it will destroy it. This method is synchronous with any handler invocations, so when this method returns its guaranteed the handler will not be in entered. */
59 @result Returns the previous enable state of the IONotifier. */
H A DIOService.h47 #include <IOKit/IONotifier.h>
158 IONotifier * notifier );
660 @discussion IOService will deliver notifications of changes in state of an IOService object to registered clients. The type of notification is specified by a symbol, for example <code>gIOMatchedNotification</code> or <code>gIOTerminatedNotification</code>, and notifications will only include IOService objects that match the supplied matching dictionary. Notifications are ordered by a priority set with <code>addNotification</code>. When the notification is installed, its handler will be called with each of any currently existing IOService objects that are in the correct state (eg. registered) and match the supplied matching dictionary, avoiding races between finding preexisting and new IOService events. The notification request is identified by an instance of an IONotifier object, through which it can be enabled, disabled, or removed. <code>addNotification</code> consumes a retain count on the matching dictionary when the notification is removed.
672 @result An instance of an IONotifier object that can be used to control or destroy the notification request. */
674 static IONotifier * addNotification(
683 @discussion IOService will deliver notifications of changes in state of an IOService object to registered clients. The type of notification is specified by a symbol, for example <code>gIOMatchedNotification</code> or <code>gIOTerminatedNotification</code>, and notifications will only include IOService objects that match the supplied matching dictionary. Notifications are ordered by a priority set with <code>addNotification</code>. When the notification is installed, its handler will be called with each of any currently existing IOService objects that are in the correct state (eg. registered) and match the supplied matching dictionary, avoiding races between finding preexisting and new IOService events. The notification request is identified by an instance of an IONotifier object, through which it can be enabled, disabled, or removed. <code>addMatchingNotification</code> does not consume a reference on the matching dictionary when the notification is removed, unlike addNotification.
695 @result An instance of an IONotifier object that can be used to control or destroy the notification request. */
697 static IONotifier * addMatchingNotification(
1127 virtual IONotifier * registerInterest( const OSSymbol * typeOfInterest,
1218 static IONotifier * installNotificatio
[all...]
/darwin-on-arm/xnu/iokit/IOKit/system_management/
H A DIOWatchDogTimer.h39 IONotifier *notifier;
/darwin-on-arm/xnu/iokit/Drivers/platform/drvAppleNMI/
H A DAppleNMI.cpp45 bool RootRegistered( OSObject * us, void *, IOService * yourDevice, __unused IONotifier * yourNotifier );
88 bool RootRegistered( OSObject * us, void *, IOService * yourDevice, __unused IONotifier * yourNotifier)
/darwin-on-arm/xnu/iokit/IOKit/pwr_mgt/
H A DRootDomain.h130 IONotifier * registerSleepWakeInterest(
133 IONotifier * registerPrioritySleepWakeInterest(
256 virtual IONotifier * registerInterest(
486 IONotifier * notifier);
490 IONotifier * notifier);
507 IONotifier *_batteryPublishNotifier;
508 IONotifier *_displayWranglerNotifier;
633 IONotifier * systemCapabilityNotifier;
/darwin-on-arm/xnu/iokit/Kernel/
H A DIOServicePrivate.h82 class _IOServiceNotifier : public IONotifier
107 class _IOServiceInterestNotifier : public IONotifier
H A DIOService.cpp72 OSDefineMetaClassAndStructors(_IOServiceNotifier, IONotifier)
74 OSDefineMetaClassAndStructors(_IOServiceInterestNotifier, IONotifier)
84 OSDefineMetaClassAndAbstractStructors(IONotifier, OSObject)
1500 IONotifier * IOService::registerInterest( const OSSymbol * typeOfInterest,
3751 IONotifier * notifier )
3757 IONotifier * IOService::setNotification(
3809 IONotifier * IOService::doInstallNotification(
3816 IONotifier * notify;
3850 IONotifier * IOService::installNotification(const OSSymbol * type, OSDictionary * matching,
3855 IONotifier * resul
[all...]
H A DIOUserClient.cpp359 IONotifier * holdNotify;
367 virtual void setNotification( IONotifier * obj );
471 void * ref, IOService * newService, IONotifier * notifier );
546 void IOUserNotification::setNotification( IONotifier * notify )
548 IONotifier * previousNotify;
643 void * ref, IOService * newService, IONotifier * notifier )
1700 IONotifier * notify = 0;
1884 IONotifier * notify = 0;
H A DIOPMrootDomain.cpp277 static IONotifier * gSysPowerDownNotifier = 0;
578 IONotifier * registerSleepWakeInterest(IOServiceInterestHandler handler, void * self, void * ref)
583 IONotifier * registerPrioritySleepWakeInterest(IOServiceInterestHandler handler, void * self, void * ref)
5025 IONotifier * IOPMrootDomain::registerInterest(
5030 IONotifier * notifier;
5305 IONotifier * notifier __unused)
5392 IONotifier * notifier __unused )
5633 systemCapabilityNotifier = (IONotifier *) arg0;
5643 IONotifier * notify = (IONotifier *) arg
[all...]

Completed in 108 milliseconds