BUS_CHILD_DELETED(9)

BUS_CHILD_DELETED9

Notify a bus device that a child is being deleted

Usage

#include <sys/param.h>

#include <sys/bus.h>

void

BUS_CHILD_DELETED(device_t dev, device_t child);

Overview

The BUS_CHILD_DELETED() method is invoked by the new-bus framework when a device is deleted. A bus driver can provide an implementation of this method to release bus-specific resources associated with a device such as instance variables.

Releases

32 releases since FreeBSD 9.2-RELEASE; the text changed 18 times.

  1. 9.2
  2. 9.3
  3. 10.0
  4. 10.1
  5. 10.2
  6. 10.3
  7. 10.4
  8. 11.0
  9. 11.1
  10. 11.2
  11. 11.3
  12. 11.4
  13. 12.0
  14. 12.1
  15. 12.2
  16. 12.3
  17. 12.4
  18. 13.0–13.2
  19. 13.3–16.0

History

The BUS_CHILD_DELETED() method first appeared in FreeBSD 10.0.

From base 16.0-CURRENT-20261027-61c70dc16a79 in FreeBSD 16.0-CURRENT (2026-10-27). Parsed by carta from the page's mdoc source.