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

Function device_is_enabled

freebsd/kern/subr_bus.c:2690–2694  ·  view source on GitHub ↗

* @brief Return non-zero if the DF_ENABLED flag is set on the device */

Source from the content-addressed store, hash-verified

2688 * @brief Return non-zero if the DF_ENABLED flag is set on the device
2689 */
2690int
2691device_is_enabled(device_t dev)
2692{
2693 return ((dev->flags & DF_ENABLED) != 0);
2694}
2695
2696/**
2697 * @brief Return non-zero if the device was successfully probed

Callers 1

devctl2_ioctlFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected