/darwin-on-arm/xnu/iokit/IOKit/ |
H A D | IOCatalogue.h | 53 @discussion The IOCatalogue is a database which contains all IOKit driver personalities. IOService uses this resource when matching devices to their associated drivers. 90 @param generationCount Returns a reference to the generation count of the database. The generation count increases only when personalities are added to the database *and* IOService matching has been initiated. 97 @abstract A more general purpose interface which allows one to retreive driver personalities based the intersection of the 'matching' dictionary and the personality's own property list. 98 @param matching A dictionary containing only keys and values which are to be used for matching. For example, a matching dictionary containing 'IOProviderClass'='IOPCIDevice' will return all personalities with an IOProviderClass key and a value of IOPCIDevice. 99 @param generationCount Returns a reference to the current generation of the database. The generation count increases only when personalities are added to the database *and* IOService matching has been initiated. 102 OSOrderedSet * findDrivers( OSDictionary * matching, SInt32 * generationCount ); 108 @param doNubMatchng Start matching process after personalities have been added. 115 @abstract Remove driver personalities from the database based on matching informatio [all...] |
H A D | IOService.h | 182 Types of service are specified with a matching dictionary that describes properties of the service. For example, a matching dictionary might describe any IOUSBDevice (or subclass), an IOUSBDevice with a certain class code, or a IOPCIDevice with a set of matching names or device & vendor IDs. Since the matching dictionary is interpreted by the family which created the service, as well as generically by IOService, the list of properties considered for matching depends on the familiy. 186 IOService provides matching based on C++ class (via OSMetaClass dynamic casting), registry entry name, a registry path to the service (which includes device tree paths), a name assigned by BSD, or by its location (its point of attachment). 192 When an IOService (the "provider") is published with the @link registerService registerService@/link method, the matching and probing process begins, which is always single threaded per provider. A list of matching dictionaries from the catalog and installed publish notification requests, that successfully match the IOService, is constructed, with ordering supplied by <code>kIOProbeScoreKey</code> ("IOProbeScore") property in the dictionary, or supplied with the notification. 211 Class of the driver to instantiate on matching providers. 217 Class of the provider(s) to be considered for matching, checke [all...] |
/darwin-on-arm/xnu/iokit/bsddev/ |
H A D | IOKitBSDInit.cpp | 42 // how long to wait for matching root device, secs 160 OSDictionary * matching; local 166 matching = IOService::serviceMatching( "IONetworkInterface" ); 167 if ( matching == 0 ) 194 if ( matching->setObject( gIOPropertyMatchKey, 201 return( matching ); 205 if ( matching ) matching->release(); 267 OSDictionary * matching; local 288 matching 317 OSDictionary * matching = 0; local [all...] |
/darwin-on-arm/xnu/iokit/Kernel/ |
H A D | IOCatalogue.cpp | 236 OSDictionary * matching, 246 OSKext::uniquePersonalityProperties(matching); 265 * "matching" dict to enable general searches. 267 if ( dict->isEqualTo(matching, matching) ) 279 * Add driver config tables to catalog and start matching process. 372 // Start device matching. 388 * properties in the matching dictionary. 392 OSDictionary * matching, 402 if ( !matching ) 235 findDrivers( OSDictionary * matching, SInt32 * generationCount) argument 391 removeDrivers( OSDictionary * matching, bool doNubMatching) argument 531 _terminateDrivers(OSDictionary * matching) argument 576 _removeDrivers(OSDictionary * matching) argument 613 terminateDrivers(OSDictionary * matching) argument [all...] |
H A D | IOMapper.cpp | 147 OSDictionary * matching; local 156 matching = IOService::propertyMatching(gIOMapperIDKey, obj); 157 if (matching) 159 mapper = OSDynamicCast(IOMapper, IOService::waitForMatchingService(matching)); 160 matching->release();
|
H A D | IOService.cpp | 527 * Register instance - publish it for matching 2598 * Alloc and probe matching classes, 2674 // create a copy now in case its modified during matching 2863 // adjust the busy count by +1 if matching is stalled for a module, 2864 // or -1 if a previously stalled matching is complete. 3005 bool IOService::checkResource( OSObject * matching ) 3010 if( (str = OSDynamicCast( OSString, matching ))) { 3017 else if( (table = OSDynamicCast( OSDictionary, matching ))) 3021 matching->getMetaClass()->getClassName()); 3130 if( matchPassive(notify->matching, 3563 copyExistingServices( OSDictionary * matching, IOOptionBits inState, IOOptionBits options ) argument 3757 setNotification( const OSSymbol * type, OSDictionary * matching, IOServiceMatchingNotificationHandler handler, void * target, void * ref, SInt32 priority ) argument 3809 doInstallNotification( const OSSymbol * type, OSDictionary * matching, IOServiceMatchingNotificationHandler handler, void * target, void * ref, SInt32 priority, OSIterator ** existing ) argument 3850 installNotification(const OSSymbol * type, OSDictionary * matching, IOServiceNotificationHandler handler, void * target, void * refCon, SInt32 priority, OSIterator ** existing ) argument 3871 installNotification( const OSSymbol * type, OSDictionary * matching, IOServiceMatchingNotificationHandler handler, void * target, void * ref, SInt32 priority, OSIterator ** existing ) argument 3889 addNotification( const OSSymbol * type, OSDictionary * matching, IOServiceNotificationHandler handler, void * target, void * refCon, SInt32 priority ) argument 3910 addMatchingNotification( const OSSymbol * type, OSDictionary * matching, IOServiceMatchingNotificationHandler handler, void * target, void * ref, SInt32 priority ) argument 3959 waitForMatchingService( OSDictionary * matching, uint64_t timeout) argument 4006 waitForService( OSDictionary * matching, mach_timespec_t * timeout ) argument 4517 compareProperty( OSDictionary * matching, const char * key ) argument 4533 compareProperty( OSDictionary * matching, const OSString * key ) argument 4548 compareProperties( OSDictionary * matching, OSCollection * keys ) argument [all...] |
H A D | IOUserClient.cpp | 1535 io_string_t matching, 1544 obj = OSUnserializeXML( matching ); 1561 io_buf_ptr_t matching, 1570 kr = vm_map_copyout( kernel_map, &map_data, (vm_map_copy_t) matching ); 1586 io_string_t matching, 1596 obj = OSUnserializeXML( matching ); 1613 io_buf_ptr_t matching, 1622 kr = vm_map_copyout( kernel_map, &map_data, (vm_map_copy_t) matching ); 1639 io_string_t matching, 1649 obj = OSUnserializeXML( matching ); 1533 is_io_service_match_property_table( io_service_t _service, io_string_t matching, boolean_t *matches ) argument 1559 is_io_service_match_property_table_ool( io_object_t service, io_buf_ptr_t matching, mach_msg_type_number_t matchingCnt, kern_return_t *result, boolean_t *matches ) argument 1584 is_io_service_get_matching_services( mach_port_t master_port, io_string_t matching, io_iterator_t *existing ) argument 1611 is_io_service_get_matching_services_ool( mach_port_t master_port, io_buf_ptr_t matching, mach_msg_type_number_t matchingCnt, kern_return_t *result, io_object_t *existing ) argument 1637 is_io_service_get_matching_service( mach_port_t master_port, io_string_t matching, io_service_t *service ) argument 1664 is_io_service_get_matching_service_ool( mach_port_t master_port, io_buf_ptr_t matching, mach_msg_type_number_t matchingCnt, kern_return_t *result, io_object_t *service ) argument 1689 internal_io_service_add_notification( mach_port_t master_port, io_name_t notification_type, io_string_t matching, mach_port_t port, void * reference, vm_size_t referenceSize, bool client64, io_object_t * notification ) argument 1765 is_io_service_add_notification( mach_port_t master_port, io_name_t notification_type, io_string_t matching, mach_port_t port, io_async_ref_t reference, mach_msg_type_number_t referenceCnt, io_object_t * notification ) argument 1780 is_io_service_add_notification_64( mach_port_t master_port, io_name_t notification_type, io_string_t matching, mach_port_t wake_port, io_async_ref64_t reference, mach_msg_type_number_t referenceCnt, io_object_t *notification ) argument 1795 internal_io_service_add_notification_ool( mach_port_t master_port, io_name_t notification_type, io_buf_ptr_t matching, mach_msg_type_number_t matchingCnt, mach_port_t wake_port, void * reference, vm_size_t referenceSize, bool client64, kern_return_t *result, io_object_t *notification ) argument 1825 is_io_service_add_notification_ool( mach_port_t master_port, io_name_t notification_type, io_buf_ptr_t matching, mach_msg_type_number_t matchingCnt, mach_port_t wake_port, io_async_ref_t reference, mach_msg_type_number_t referenceCnt, kern_return_t *result, io_object_t *notification ) argument 1842 is_io_service_add_notification_ool_64( mach_port_t master_port, io_name_t notification_type, io_buf_ptr_t matching, mach_msg_type_number_t matchingCnt, mach_port_t wake_port, io_async_ref64_t reference, mach_msg_type_number_t referenceCnt, kern_return_t *result, io_object_t *notification ) argument 1859 is_io_service_add_notification_old( mach_port_t master_port, io_name_t notification_type, io_string_t matching, mach_port_t port, natural_t ref, io_object_t * notification ) argument [all...] |
H A D | IOServicePrivate.h | 91 OSDictionary * matching; member in class:_IOServiceNotifier
|
H A D | IOHibernateIO.cpp | 570 OSDictionary * matching; local 575 matching = IOService::serviceMatching("IOMedia"); 576 if (!matching) 583 matching->setObject(kIOBSDMajorKey, num); 588 matching->setObject(kIOBSDMinorKey, num); 592 iter = IOService::getMatchingServices(matching); 601 matching->release();
|
/darwin-on-arm/xnu/osfmk/device/ |
H A D | device.defs | 159 in matching : io_string_t; 364 out matching : io_string_t 415 in matching : io_string_t; 463 in matching : io_string_t; 530 in matching : io_buf_ptr_t, physicalcopy; 537 in matching : io_buf_ptr_t, physicalcopy; 546 in matching : io_buf_ptr_t, physicalcopy; 648 in matching : io_string_t; 665 in matching : io_buf_ptr_t, physicalcopy; 702 in matching [all...] |