MCPcopy Create free account
hub / github.com/F-Stack/f-stack / module_unload

Function module_unload

freebsd/kern/kern_module.c:255–264  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

253}
254
255int
256module_unload(module_t mod)
257{
258 int error;
259
260 mtx_lock(&Giant);
261 error = MOD_EVENT(mod, MOD_UNLOAD);
262 mtx_unlock(&Giant);
263 return (error);
264}
265
266int
267module_getid(module_t mod)

Callers 1

linker_file_unloadFunction · 0.85

Calls 2

mtx_lockFunction · 0.70
mtx_unlockFunction · 0.70

Tested by

no test coverage detected