Lines Matching refs:moduleName
675 extern "C" Boolean kmod_load_request(const char * moduleName, Boolean make_request)
682 if (!moduleName)
693 ret = (0 != (kmod_info = kmod_lookupbyname_locked((char *)moduleName)));
698 sym = OSSymbol::withCString(moduleName);
714 moduleName);
719 kr = kmod_load_function((char *)moduleName);
722 IOLog("IOCatalogue: %s cannot be loaded.\n", moduleName);
730 (*remove_startup_extension_function)(moduleName);
1049 OSString * moduleName;
1071 if ((moduleName = OSDynamicCast(OSString, dict->getObject("OSBundleModuleDemand"))))
1074 ret = kmod_load_request(moduleName->getCStringNoCopy(), false);
1195 bool IOCatalogue::isModuleLoaded( OSString * moduleName ) const
1197 return isModuleLoaded(moduleName->getCStringNoCopy());
1200 bool IOCatalogue::isModuleLoaded( const char * moduleName ) const
1202 return (kmod_load_request(moduleName, true));
1208 OSString * moduleName = NULL;
1213 moduleName = OSDynamicCast(OSString, driver->getObject(gIOModuleIdentifierKey));
1214 if ( moduleName )
1215 return isModuleLoaded(moduleName);
1224 void IOCatalogue::moduleHasLoaded( OSString * moduleName )
1229 dict->setObject(gIOModuleIdentifierKey, moduleName);
1234 void IOCatalogue::moduleHasLoaded( const char * moduleName )
1238 name = OSString::withCString(moduleName);
1243 IOReturn IOCatalogue::unloadModule( OSString * moduleName ) const
1250 if ( moduleName ) {
1251 name = moduleName->getCStringNoCopy();
1372 OSString * moduleName,
1382 dict->setObject(gIOModuleIdentifierKey, moduleName);
1393 ret = unloadModule(moduleName);
1404 const char * moduleName,
1410 name = OSString::withCString(moduleName);