Searched refs:addMatchingNotification (Results 1 - 5 of 5) sorted by relevance
/darwin-on-arm/xnu/iokit/Drivers/platform/drvAppleNMI/ |
H A D | AppleNMI.cpp | 73 addMatchingNotification( gIOPublishNotification, serviceMatching("IOPMrootDomain"), (IOServiceMatchingNotificationHandler) RootRegistered, this, 0 );
|
/darwin-on-arm/xnu/iokit/IOKit/ |
H A D | IOService.h | 659 @abstract Deprecated use addMatchingNotification(). Adds a persistant notification handler to be notified of IOService events. 681 /*! @function addMatchingNotification 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. 697 static IONotifier * addMatchingNotification(
|
/darwin-on-arm/xnu/iokit/Kernel/ |
H A D | IOService.cpp | 3901 result = addMatchingNotification(type, matching, &_IOServiceMatchingNotificationHandler, 3910 IONotifier * IOService::addMatchingNotification( function in class:IOService
|
H A D | IOUserClient.cpp | 1744 notify = IOService::addMatchingNotification( sym, dict,
|
H A D | IOPMrootDomain.cpp | 1001 _displayWranglerNotifier = addMatchingNotification(
|
Completed in 99 milliseconds