BIO_REGISTER(9) OpenBSD Kernel Manual BIO_REGISTER(9)NAME
bio_register, bio_unregister - block I/O ioctl tunnelling interface
bio_register(struct device *dev, int (*bioctl)(struct device *, u_long,
bio_unregister(struct device *dev);
The block I/O ioctl tunnelling interface is used by drivers to register
and unregister ioctl handlers to be accessed via the bio(4) device.
bio_register() is called by the driver represented by dev to register the
bioctl argument as the ioctl handler for itself.
bio_unregister() is called to remove the ioctl handler previously
registered with bio_register() for the device represented by dev.
bio_register() and bio_unregister() can be called during autoconf(9) or
from process context. The bioctl callback is called from process
SEE ALSObio(4), autoconf(9)HISTORY
The block I/O ioctl tunnelling interface first appeared in OpenBSD 3.2.
The block I/O ioctl tunnelling interface was written by Niklas Hallqvist
OpenBSD 4.9 April 3, 2008 OpenBSD 4.9