BUS_CHILD_DELETED(9)

πŸ“¦ version 15.1, in freebsd 14.5, freebsd 15.1, nixpkgs unstable

🌸 NAME 🌸

okay so this is BUS_CHILD_DELETED(9) from the Kernel Developer’s Manual, and it’s literally the β€œhey bus device, your child is being deleted” notification vibe πŸ’…

✨ SYNOPSIS ✨

#include <sys/param.h>
#include <sys/bus.h>

void
BUS_CHILD_DELETED(device_t dev, device_t child);

πŸ¦‹ DESCRIPTION πŸ¦‹

The BUS_CHILD_DELETED() method gets 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. no cap, that’s the whole tea β˜•βœ¨

πŸŽ€ SEE ALSO πŸŽ€

πŸ’– HISTORY πŸ’–

The BUS_CHILD_DELETED() method first appeared in FreeBSD 10.0. iconic behavior, honestly πŸ‘‘


πŸ’Œ cute little sign-off: this page is from the Debian edition and is dated August 21, 2012 β€” mwah, bye bestie! πŸ’…πŸŽ€

πŸ“¦ where this page comes from