terminateDriversForModule(OSString *, bool)
Terminates all instances of a driver which depends on a particular module and unloads the module.
Declaration
IOReturn terminateDriversForModule(
OSString *moduleName,
bool unload = true);Parameters
- moduleName:
Name of the module which is used to determine which driver instances to terminate and unload.
- unload:
Flag to cause the actual unloading of the module.
See Also
Miscellaneous
addDriversfindDrivers(IOService *, SInt32 *)findDrivers(OSDictionary *, SInt32 *)freegetGenerationCountinitinitializeisModuleLoadedisModuleLoaded(const char *)isModuleLoaded(OSString *)moduleHasLoaded(const char *)moduleHasLoaded(OSString *)removeDriversresetresetAndAddDriversserializestartMatchingterminateDriversterminateDriversForModule(const char *, bool)unloadModule