Lines Matching refs:moduleName
581 OSString * moduleName; in personalityIsBoot() local
584 moduleName = OSDynamicCast(OSString, match->getObject(gIOModuleIdentifierKey.get())); in personalityIsBoot()
585 if (!moduleName) { in personalityIsBoot()
588 theKext = OSKext::lookupKextWithIdentifier(moduleName->getCStringNoCopy()); in personalityIsBoot()
613 OSString * moduleName = NULL; in isModuleLoaded() local
634 moduleName = OSDynamicCast(OSString, driver->getObject(gIOModuleIdentifierKernelKey.get())); in isModuleLoaded()
635 if (moduleName) { in isModuleLoaded()
636 ret = OSKext::loadKextWithIdentifier(moduleName, kextRef); in isModuleLoaded()
643 if (moduleDextName && !(moduleName->isEqualTo(moduleDextName))) { in isModuleLoaded()
671 IOCatalogue::moduleHasLoaded(const OSSymbol * moduleName) in moduleHasLoaded() argument
673 startMatching(moduleName); in moduleHasLoaded()
680 IOCatalogue::moduleHasLoaded(const char * moduleName) in moduleHasLoaded() argument
684 name = OSSymbol::withCString(moduleName); in moduleHasLoaded()
690 IOCatalogue::unloadModule(OSString * moduleName) const in unloadModule()
692 return OSKext::removeKextWithIdentifier(moduleName->getCStringNoCopy()); in unloadModule()
950 OSString * moduleName, in terminateDriversForModule() argument
970 if (OSKext::isKextWithIdentifierLoaded(moduleName->getCStringNoCopy())) { in terminateDriversForModule()
973 if (!OSKext::canUnloadKextWithIdentifier(moduleName, in terminateDriversForModule()
979 kext = OSKext::lookupKextWithIdentifier(moduleName->getCStringNoCopy()); in terminateDriversForModule()
990 dict->setObject(gIOModuleIdentifierKey.get(), moduleName); in terminateDriversForModule()
1008 ret = unloadModule(moduleName); in terminateDriversForModule()
1019 const char * moduleName, in terminateDriversForModule() argument
1026 name = OSString::withCString(moduleName); in terminateDriversForModule()
1084 IOCatalogue::startMatching( const OSSymbol * moduleName ) in startMatching() argument
1090 if (!moduleName) { in startMatching()
1105 kext = OSKext::lookupKextWithIdentifier(moduleName->getCStringNoCopy()); in startMatching()
1166 if ((moduleIdentifierKernel && moduleName->isEqualTo(moduleIdentifierKernel)) || in startMatching()
1167 (moduleIdentifier && moduleName->isEqualTo(moduleIdentifier))) { in startMatching()
1183 …getName(), service->getRegistryEntryID(), (long long)terminateOptions, moduleName->getCStringNoCop… in startMatching()