debian man page for device_set_ivars

Query: device_set_ivars

OS: debian

Section: 9

Links: debian man pages   all man pages

Forums: unix linux community   forum categories

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

DEVICE_GET_IVARS(9)					   BSD Kernel Developer's Manual				       DEVICE_GET_IVARS(9)

NAME
device_get_ivars, device_set_ivars -- access bus private variables
SYNOPSIS
#include <sys/param.h> #include <sys/bus.h> void * device_get_ivars(device_t dev); void device_set_ivars(device_t dev, void *ivar);
DESCRIPTION
The device_get_ivars() function returns the bus-specific instance variables of a device. The 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 mem- ory allocation or deallocation happens. Client drivers should access ivars through the BUS_READ_IVAR(9) interface instead.
SEE ALSO
device(9)
AUTHORS
This manual page was written by Doug Rabson.
BSD
June 16, 1998 BSD
Related Man Pages
device(9) - debian
device_get_softc(9) - freebsd
device_get_softc(9) - centos
device(9) - linux
device_get_softc(9) - hpux
Similar Topics in the Unix Linux Community
Adding the individual columns of a matrix.
awk or sed - Convert 2 lines to 1 line
Weird 'find' results
A (ksh) Library For and From UNIX.com