Lines Matching refs:matching

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, 0)
3563 OSObject * IOService::copyExistingServices( OSDictionary * matching,
3572 if( !matching)
3577 matching->serialize(s);
3580 if((obj = matching->getObject(gIOProviderClassKey))
3587 && service->matchPassive(matching, options))
3601 ctx.table = matching;
3630 if (service->matchPassive(matching, options))
3666 && service->matchPassive(matching, 0)) {
3713 OSIterator * IOService::getMatchingServices( OSDictionary * matching )
3720 iter = (OSIterator *) copyExistingServices( matching,
3728 IOService * IOService::copyMatchingService( OSDictionary * matching )
3735 service = (IOService *) copyExistingServices( matching,
3758 const OSSymbol * type, OSDictionary * matching,
3765 if( !matching)
3777 notify->matching = matching;
3778 matching->retain();
3810 const OSSymbol * type, OSDictionary * matching,
3819 if( !matching)
3836 notify = setNotification( type, matching, handler, target, ref, priority );
3840 exist = (OSIterator *) copyExistingServices( matching, inState );
3850 IONotifier * IOService::installNotification(const OSSymbol * type, OSDictionary * matching,
3860 result = (_IOServiceNotifier *) installNotification( type, matching,
3864 matching->release();
3872 const OSSymbol * type, OSDictionary * matching,
3881 notify = doInstallNotification( type, matching, handler, target, ref,
3890 const OSSymbol * type, OSDictionary * matching,
3901 result = addMatchingNotification(type, matching, &_IOServiceMatchingNotificationHandler,
3905 matching->release();
3911 const OSSymbol * type, OSDictionary * matching,
3920 notify = (_IOServiceNotifier *) installNotification( type, matching,
3959 IOService * IOService::waitForMatchingService( OSDictionary * matching,
3967 if (!matching)
3975 result = (IOService *) copyExistingServices( matching,
3979 notify = IOService::setNotification( gIOMatchedNotification, matching,
4006 IOService * IOService::waitForService( OSDictionary * matching,
4021 result = waitForMatchingService(matching, timeoutNS);
4023 matching->release();
4050 if( matchPassive(notify->matching, 0)
4083 * Helpers to make matching objects for simple cases
4253 if( matching) {
4254 matching->release();
4255 matching = 0;
4512 * Helpers for matching dictionaries.
4513 * Keys existing in matching are checked in properties.
4517 bool IOService::compareProperty( OSDictionary * matching,
4523 value = matching->getObject( key );
4533 bool IOService::compareProperty( OSDictionary * matching,
4539 value = matching->getObject( key );
4548 bool IOService::compareProperties( OSDictionary * matching,
4555 if( !matching || !keys)
4562 ok = compareProperty( matching, key );
4571 /* Helper to add a location matching dict to the table */
4792 // do family specific matching
4798 LOG("%s: family specific matching fails\n", where->getName());
4818 // look for a matching entry anywhere up to root
4828 // look for a matching entry at matchLocation()