Lines Matching refs:matching
477 * Register instance - publish it for matching
2388 * Alloc and probe matching classes,
2462 // create a copy now in case its modified during matching
2677 // adjust the busy count by -1 if matching is stalled for a module,
2678 // or +1 if a previously stalled matching is complete.
2805 bool IOService::checkResource( OSObject * matching )
2810 if( (str = OSDynamicCast( OSString, matching ))) {
2817 else if( (table = OSDynamicCast( OSDictionary, matching )))
2821 matching->getMetaClass()->getClassName());
2926 if( passiveMatch( notify->matching )
3246 OSObject * IOService::getExistingServices( OSDictionary * matching,
3254 if( !matching)
3258 && (obj = matching->getObject(gIOProviderClassKey))
3265 && service->passiveMatch( matching ))
3284 && service->passiveMatch( matching )) {
3312 OSIterator * IOService::getMatchingServices( OSDictionary * matching )
3319 iter = (OSIterator *) getExistingServices( matching,
3330 const OSSymbol * type, OSDictionary * matching,
3337 if( !matching)
3347 notify->matching = matching;
3375 const OSSymbol * type, OSDictionary * matching,
3384 if( !matching)
3401 notify = setNotification( type, matching, handler, target, ref, priority );
3405 exist = (OSIterator *) getExistingServices( matching, inState );
3416 const OSSymbol * type, OSDictionary * matching,
3425 notify = doInstallNotification( type, matching, handler, target, ref,
3434 const OSSymbol * type, OSDictionary * matching,
3443 notify = (_IOServiceNotifier *) installNotification( type, matching,
3482 IOService * IOService::waitForService( OSDictionary * matching,
3491 if( !matching)
3501 state.result = (IOService *) getExistingServices( matching,
3511 notify = IOService::setNotification( gIOMatchedNotification, matching,
3529 matching->release();
3556 if( passiveMatch( notify->matching)
3589 * Helpers to make matching objects for simple cases
3730 if( matching) {
3731 matching->release();
3732 matching = 0;
3862 * Helpers for matching dictionaries.
3863 * Keys existing in matching are checked in properties.
3867 bool IOService::compareProperty( OSDictionary * matching,
3873 value = matching->getObject( key );
3883 bool IOService::compareProperty( OSDictionary * matching,
3889 value = matching->getObject( key );
3898 bool IOService::compareProperties( OSDictionary * matching,
3905 if( !matching || !keys)
3912 ok = compareProperty( matching, key );
3921 /* Helper to add a location matching dict to the table */
4092 // do family specific matching
4098 LOG("%s: family specific matching fails\n", where->getName());