Lines Matching refs:OSDictionary
92 static bool isModuleLoadedNoOSKextLock(OSDictionary *theKexts,
93 OSDictionary *theModuleDict);
133 IOCatalogue::arrayForPersonality(OSDictionary * dict) in arrayForPersonality()
146 IOCatalogue::addPersonality(OSDictionary * dict) in addPersonality()
170 OSDictionary * dict; in init()
179 personalities = OSDictionary::withCapacity(32); in init()
182 dict = OSDynamicCast(OSDictionary, obj); in init()
219 OSDictionary * nextTable; in findDrivers()
237 for (idx = 0; (nextTable = (OSDictionary *) array->getObject(idx)); idx++) { in findDrivers()
259 OSDictionary * matching, in findDrivers()
263 OSDictionary * dict; in findDrivers()
285 for (idx = 0; (dict = (OSDictionary *) array->getObject(idx)); idx++) { in findDrivers()
303 OSDictionary *matchingForRemove, in exchangeDrivers()
339 OSDictionary *dict; in exchangeDrivers()
340 for (idx = 0; (dict = (OSDictionary *) array->getObject(idx)); idx++) { in exchangeDrivers()
355 OSDictionary * personality = OSDynamicCast(OSDictionary, object); in exchangeDrivers()
364 OSDictionary * driver; in exchangeDrivers()
366 driver = (OSDictionary *)array->getObject(count); in exchangeDrivers()
445 OSDictionary * personality = OSDynamicCast(OSDictionary, object); in addDrivers()
465 OSDictionary * driver; in addDrivers()
468 driver = (OSDictionary *)array->getObject(count); in addDrivers()
505 IOCatalogue::removeDrivers(bool doNubMatching, bool (^shouldRemove)(OSDictionary *personality))
509 OSDictionary * dict;
529 for (idx = 0; (dict = (OSDictionary *) array->getObject(idx)); idx++) {
554 OSDictionary * matching, in removeDrivers()
560 return removeDrivers(doNubMatching, ^(OSDictionary *dict) { in removeDrivers()
579 IOCatalogue::personalityIsBoot(OSDictionary * match) in personalityIsBoot()
611 IOCatalogue::isModuleLoaded(OSDictionary * driver, OSObject ** kextRef) const in isModuleLoaded()
658 IOCatalogue::isModuleLoaded(OSDictionary * driver, OSSharedPtr<OSObject>& kextRef) const in isModuleLoaded()
696 IOCatalogue::terminateDrivers(OSDictionary * matching, io_name_t className, bool asynchronous) in terminateDrivers()
698 OSDictionary * dict; in terminateDrivers()
803 IOCatalogue::_removeDrivers(OSDictionary * matching) in _removeDrivers()
807 OSDictionary * dict; in _removeDrivers()
822 for (idx = 0; (dict = (OSDictionary *) array->getObject(idx)); idx++) { in _removeDrivers()
840 IOCatalogue::terminateDrivers(OSDictionary * matching) in terminateDrivers()
941 removeDrivers(false, ^(OSDictionary *dict) { in resetAfterUserspaceReboot()
955 OSSharedPtr<OSDictionary> dict; in terminateDriversForModule()
984 dict = OSDictionary::withCapacity(1); in terminateDriversForModule()
1038 IOCatalogue::startMatching( OSDictionary * matching ) in startMatching()
1056 OSDictionary * dict; in startMatching()
1060 for (idx = 0; (dict = (OSDictionary *) array->getObject(idx)); idx++) { in startMatching()
1128 OSDictionary * personality = OSDynamicCast(OSDictionary, obj); in startMatching()
1157 OSDictionary * dict; in startMatching()
1163 for (idx = 0; (dict = (OSDictionary *) array->getObject(idx)); idx++) { in startMatching()
1216 OSDictionary * thisNewPersonality = NULL;// do not release in resetAndAddDrivers()
1217 OSDictionary * thisOldPersonality = NULL;// do not release in resetAndAddDrivers()
1218 OSSharedPtr<OSDictionary> myKexts; in resetAndAddDrivers()
1260 (thisOldPersonality = (OSDictionary *) array->getObject(idx)); in resetAndAddDrivers()
1269 (thisNewPersonality = (OSDictionary *) newPersonalities->getObject(newIdx)); in resetAndAddDrivers()
1277 if (OSDynamicCast(OSDictionary, thisNewPersonality) == NULL) { in resetAndAddDrivers()
1306 (thisNewPersonality = (OSDictionary *) newPersonalities->getObject(newIdx)); in resetAndAddDrivers()
1308 if (OSDynamicCast(OSDictionary, thisNewPersonality) == NULL) { in resetAndAddDrivers()
1383 isModuleLoadedNoOSKextLock(OSDictionary *theKexts, in isModuleLoadedNoOSKextLock()
1384 OSDictionary *theModuleDict) in isModuleLoadedNoOSKextLock()