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

Function device_disable

freebsd/kern/subr_bus.c:2602–2606  ·  view source on GitHub ↗

* @brief Clear the DF_ENABLED flag for the device */

Source from the content-addressed store, hash-verified

2600 * @brief Clear the DF_ENABLED flag for the device
2601 */
2602void
2603device_disable(device_t dev)
2604{
2605 dev->flags &= ~DF_ENABLED;
2606}
2607
2608/**
2609 * @brief Increment the busy counter for the device

Callers 2

device_attachFunction · 0.85
devctl2_ioctlFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected