Query: ddi_get_driver_private
OS: opensolaris
Section: 9f
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
ddi_get_driver_private(9F) Kernel Functions for Drivers ddi_get_driver_private(9F)NAMEddi_get_driver_private, ddi_set_driver_private - get or set the address of the device's private data areaSYNOPSIS#include <sys/conf.h> #include <sys/ddi.h> #include <sys/sunddi.h> void ddi_set_driver_private(dev_info_t *dip, void *data); void *ddi_get_driver_private(dev_info_t *dip);INTERFACE LEVELSolaris DDI specific (Solaris DDI).PARAMETERSddi_get_driver_private() dip Pointer to device information structure to get from. ddi_set_driver_private() dip Pointer to device information structure to set. data Data area address to set.DESCRIPTIONThe ddi_get_driver_private() function returns the address of the device's private data area from the device information structure pointed to by dip. The ddi_set_driver_private() function sets the address of the device's private data area in the device information structure pointed to by dip with the value of data.RETURN VALUESThe ddi_get_driver_private() function returns the contents of devi_driver_data. If ddi_set_driver_private() has not been previously called with dip, an unpredictable value is returned.CONTEXTThese functions can be called from user , interrupt, or kernel context.SEE ALSOWriting Device Drivers SunOS 5.11 16 Jan 2006 ddi_get_driver_private(9F)
Related Man Pages |
---|
ddi_set_driver_private(9f) - sunos |
ddi_dev_is_sid(9f) - centos |
ddi_dev_is_sid(9f) - php |
ddi_dev_is_sid(9f) - mojave |
ddi_dev_is_sid(9f) - v7 |
Similar Topics in the Unix Linux Community |
---|
How to learn UNIX |
Change directory for core file |
Grep the 'not running' jobs and will send the update in mail with its name(job) |
Solaris 10 - password complexity not working |
What is good? |