Lines Matching refs:table

1242 	OSDictionary *      table;  in catalogNewDrivers()  local
1252 while ((table = (OSDictionary *) newTables->getFirstObject())) { in catalogNewDrivers()
1254 set = (OSSet *) copyExistingServices( table, in catalogNewDrivers()
1271 if (getDebugFlags( table ) & kIOLogMatch) { in catalogNewDrivers()
1275 newTables->removeObject(table); in catalogNewDrivers()
1320 IOService::matchPropertyTable( OSDictionary * table, SInt32 * score ) in matchPropertyTable() argument
1322 return matchPropertyTable(table); in matchPropertyTable()
1326 IOService::matchPropertyTable( OSDictionary * table ) in matchPropertyTable() argument
5086 OSDictionary * table; in checkResource() local
5095 table = resourceMatching( str ); in checkResource()
5096 } else if ((table = OSDynamicCast( OSDictionary, matching ))) { in checkResource()
5097 table->retain(); in checkResource()
5109 waitForService( table ); in checkResource()
6039 OSDictionary * table; member
6052 OSDictionary * table = ctx->table; in instanceMatch() local
6066 match = service->matchInternal(table, options, &done); in instanceMatch()
6068 ctx->count += table->getCount(); in instanceMatch()
6126 ctx.table = matching; in copyExistingServices()
6755 OSDictionary * table ) in serviceMatching() argument
6764 if (!table) { in serviceMatching()
6765 table = OSDictionary::withCapacity( 2 ); in serviceMatching()
6767 if (table) { in serviceMatching()
6768 table->setObject(gIOProviderClassKey, (OSObject *)str ); in serviceMatching()
6772 return table; in serviceMatching()
6778 OSSharedPtr<OSDictionary> table) in serviceMatching() argument
6780 OSDictionary * result = serviceMatching(name, table.get()); in serviceMatching()
6781 if (table) { in serviceMatching()
6791 OSDictionary * table ) in serviceMatching() argument
6800 table = serviceMatching( str, table ); in serviceMatching()
6802 return table; in serviceMatching()
6808 OSSharedPtr<OSDictionary> table) in serviceMatching() argument
6810 OSDictionary * result = serviceMatching(className, table.get()); in serviceMatching()
6811 if (table) { in serviceMatching()
6821 OSDictionary * table ) in nameMatching() argument
6823 if (!table) { in nameMatching()
6824 table = OSDictionary::withCapacity( 2 ); in nameMatching()
6826 if (table) { in nameMatching()
6827 table->setObject( gIONameMatchKey, (OSObject *)name ); in nameMatching()
6830 return table; in nameMatching()
6836 OSSharedPtr<OSDictionary> table) in nameMatching() argument
6838 OSDictionary * result = nameMatching(name, table.get()); in nameMatching()
6839 if (table) { in nameMatching()
6849 OSDictionary * table ) in nameMatching() argument
6858 table = nameMatching( str, table ); in nameMatching()
6860 return table; in nameMatching()
6866 OSSharedPtr<OSDictionary> table) in nameMatching() argument
6868 OSDictionary * result = nameMatching(name, table.get()); in nameMatching()
6869 if (table) { in nameMatching()
6879 OSDictionary * table ) in resourceMatching() argument
6881 table = serviceMatching( gIOResourcesKey, table ); in resourceMatching()
6882 if (table) { in resourceMatching()
6883 table->setObject( gIOResourceMatchKey, (OSObject *) str ); in resourceMatching()
6886 return table; in resourceMatching()
6892 OSSharedPtr<OSDictionary> table) in resourceMatching() argument
6894 OSDictionary * result = resourceMatching(str, table.get()); in resourceMatching()
6895 if (table) { in resourceMatching()
6905 OSDictionary * table ) in resourceMatching() argument
6914 table = resourceMatching( str, table ); in resourceMatching()
6917 return table; in resourceMatching()
6923 OSSharedPtr<OSDictionary> table) in resourceMatching() argument
6925 OSDictionary * result = resourceMatching(name, table.get()); in resourceMatching()
6926 if (table) { in resourceMatching()
6936 OSDictionary * table ) in propertyMatching() argument
6946 if (!table) { in propertyMatching()
6947 table = OSDictionary::withCapacity( 2 ); in propertyMatching()
6949 if (table) { in propertyMatching()
6950 table->setObject( gIOPropertyMatchKey, properties ); in propertyMatching()
6955 return table; in propertyMatching()
6961 OSSharedPtr<OSDictionary> table) in propertyMatching() argument
6963 OSDictionary * result = propertyMatching(key, value, table.get()); in propertyMatching()
6964 if (table) { in propertyMatching()
6974 OSDictionary * table ) in registryEntryIDMatching() argument
6983 if (!table) { in registryEntryIDMatching()
6984 table = OSDictionary::withCapacity( 2 ); in registryEntryIDMatching()
6986 if (table) { in registryEntryIDMatching()
6987 table->setObject( gIORegistryEntryIDKey, num ); in registryEntryIDMatching()
6994 return table; in registryEntryIDMatching()
7000 OSSharedPtr<OSDictionary> table) in registryEntryIDMatching() argument
7002 OSDictionary * result = registryEntryIDMatching(entryID, table.get()); in registryEntryIDMatching()
7003 if (table) { in registryEntryIDMatching()
7210 IOResourcesMatchPropertyTable(IOService * resources, OSDictionary * table) in IOResourcesMatchPropertyTable() argument
7215 prop = table->getObject( gIOResourceMatchKey ); in IOResourcesMatchPropertyTable()
7224 } else if ((prop = table->getObject(gIOResourceMatchedKey))) { in IOResourcesMatchPropertyTable()
7242 IOResources::matchPropertyTable( OSDictionary * table ) in matchPropertyTable() argument
7244 return IOResourcesMatchPropertyTable(this, table); in matchPropertyTable()
7290 IOUserResources::matchPropertyTable( OSDictionary * table ) in matchPropertyTable() argument
7292 return IOResourcesMatchPropertyTable(this, table); in matchPropertyTable()
7583 IOService::addLocation( OSDictionary * table ) in addLocation() argument
7587 if (!table) { in addLocation()
7593 bool ok = table->setObject( gIOLocationMatchKey, dict ); in addLocation()
7635 IOService::matchInternal(OSDictionary * table, uint32_t options, uint32_t * did) in matchInternal() argument
7649 count = table->getCount(); in matchInternal()
7654 isUser = (NULL != table->getObject(gIOServiceNotificationUserKey)); in matchInternal()
7664 if (!table->getObject(gIOExclaveProxyKey) && !isUser) { in matchInternal()
7668 } else if (table->getObject(gIOExclaveProxyKey)) { in matchInternal()
7673 if (table->getObject(gIOCompatibilityMatchKey)) { in matchInternal()
7682 str = OSDynamicCast(OSString, table->getObject(gIOProviderClassKey)); in matchInternal()
7702 obj = table->getObject( gIONameMatchKey ); in matchInternal()
7711 table->setObject( gIONameMatchedKey, matched ); in matchInternal()
7719 str = OSDynamicCast( OSString, table->getObject( gIOLocationMatchKey )); in matchInternal()
7734 obj = table->getObject( gIOPropertyMatchKey ); in matchInternal()
7770 obj = table->getObject( gIOPropertyExistsMatchKey ); in matchInternal()
7806 str = OSDynamicCast( OSString, table->getObject( gIOPathMatchKey )); in matchInternal()
7822 num = OSDynamicCast( OSNumber, table->getObject( gIORegistryEntryIDKey )); in matchInternal()
7831 num = OSDynamicCast( OSNumber, table->getObject( gIOMatchedServiceCountKey )); in matchInternal()
7858 obj = table->getObject(key); \ in matchInternal()
7884 IOService::passiveMatch( OSDictionary * table, bool changesOK ) in passiveMatch() argument
7886 return matchPassive(table, changesOK ? kIOServiceChangesOK : 0); in passiveMatch()
7890 IOService::matchPassive(OSDictionary * table, uint32_t options) in matchPassive() argument
7901 assert( table ); in matchPassive()
7909 OSDictionary * root = table; in matchPassive()
7915 count = table->getCount(); in matchPassive()
7917 match = where->matchInternal(table, options, &done); in matchPassive()
7925 score = IOServiceObjectOrder( table, (void *) gIOProbeScoreKey); in matchPassive()
7928 match = where->matchPropertyTable( table, &score ); in matchPassive()
7932 if (kIOLogMatch & getDebugFlags( table )) { in matchPassive()
7943 table->setObject( gIOProbeScoreKey, newPri ); in matchPassive()
7952 table->getObject( gIOParentMatchKey )); in matchPassive()
7957 table = nextTable; in matchPassive()
7961 table = OSDynamicCast(OSDictionary, in matchPassive()
7962 table->getObject( gIOLocationMatchKey )); in matchPassive()
7963 if (table) { in matchPassive()