device_set_ivars(9) access bus private variables

Other Alias

device_get_ivars

SYNOPSIS

In sys/param.h In sys/bus.h Ft void * Fn device_get_ivars device_t dev Ft void Fn device_set_ivars device_t dev void *ivar

DESCRIPTION

The Fn device_get_ivars function returns the bus-specific instance variables of a device.

The Fn device_set_ivars function sets the bus-specific instance variables of a device.

Typically, only bus drivers will use these functions. The kernel assumes that the bus driver will manage this memory, and no automatic memory allocation or deallocation happens. Client drivers should access ivars through the BUS_READ_IVAR9 interface instead.

AUTHORS

This manual page was written by An Doug Rabson .