go to
> device(9)
Homepage > Man Pages > Category > Kernel Interface
Homepage > Man Pages > Name > D

device_get_ivars

man page of device_get_ivars

device_get_ivars: access bus private variables

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 memory 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. DEVICE_GET_IVARS(9)
 
 
 

Copyright © 2011–2018 by topics-of-interest.com . All rights reserved. Hosted by all-inkl.
Contact · Imprint · Privacy

Page generated in 23.20ms.

fliegender-drache.de | informativ und kostenlos | Educational