<dec f='src/src/sys/sys/device.h' l='469' type='int config_detach(device_t , int )'/>
<use f='src/src/sys/arch/xen/xenbus/xenbus_probe.c' l='281' u='c' c='otherend_changed'/>
<use f='src/src/sys/dev/cgd.c' l='265' u='c' c='cgd_destroy'/>
<use f='src/src/sys/dev/dkwedge/dk.c' l='536' u='c' c='dkwedge_del1'/>
<use f='src/src/sys/dev/dm/dm_ioctl.c' l='409' u='c' c='dm_dev_remove_ioctl'/>
<use f='src/src/sys/dev/fss.c' l='267' u='c' c='fss_close'/>
<use f='src/src/sys/dev/md.c' l='370' u='c' c='mdclose'/>
<use f='src/src/sys/dev/raidframe/rf_netbsdkintf.c' l='867' u='c' c='raidclose'/>
<use f='src/src/sys/dev/vnd.c' l='315' u='c' c='vnd_destroy'/>
<use f='src/src/sys/kern/kern_drvctl.c' l='273' u='c' c='detachdevbyname'/>
<use f='src/src/sys/kern/subr_autoconf.c' l='935' u='c' c='config_cfdata_detach'/>
<def f='src/src/sys/kern/subr_autoconf.c' l='1706' ll='1832' type='int config_detach(device_t dev, int flags)'/>
<use f='src/src/sys/kern/subr_autoconf.c' l='1845' u='c' c='config_detach_children'/>
<use f='src/src/sys/kern/subr_autoconf.c' l='1895' u='c' c='config_detach_all'/>
<doc f='src/src/sys/kern/subr_autoconf.c' l='1697'>/*
 * Detach a device.  Optionally forced (e.g. because of hardware
 * removal) and quiet.  Returns zero if successful, non-zero
 * (an error code) otherwise.
 *
 * Note that this code wants to be run from a process context, so
 * that the detach can sleep to allow processes which have a device
 * open to run and unwind their stacks.
 */</doc>
<use f='src/src/sys/net/if_tap.c' l='713' u='c' c='tap_clone_destroyer'/>
