| 240 | } |
| 241 | |
| 242 | int |
| 243 | module_quiesce(module_t mod) |
| 244 | { |
| 245 | int error; |
| 246 | |
| 247 | mtx_lock(&Giant); |
| 248 | error = MOD_EVENT(mod, MOD_QUIESCE); |
| 249 | mtx_unlock(&Giant); |
| 250 | if (error == EOPNOTSUPP || error == EINVAL) |
| 251 | error = 0; |
| 252 | return (error); |
| 253 | } |
| 254 | |
| 255 | int |
| 256 | module_unload(module_t mod) |
no test coverage detected