Intro, intro - introduction to kernel data structures
DESCRIPTION
Section 9S describes the data structures used by drivers to share information between the driver and the kernel.
In this section, reference pages contain the following headings:
NAME summarizes the structure's purpose.
SYNOPSIS lists the include file that defines the structure.
INTERFACE LEVEL describes any architecture dependencies.
DESCRIPTION provides general information about the structure.
STRUCTURE MEMBERS lists all accessible structure members.
SEE ALSO gives sources for further information.
Every driver MUST include <sys/ddi.h> and <sys/sunddi.h>, in that order, and last.
The following table summarizes the STREAMS structures described in this section.
Structure
Type
copyreq
DDI/DKI
copyresp
DDI/DKI
datab
DDI/DKI
fmodsw
Solaris DDI
free_rtn
DDI/DKI
iocblk
DDI/DKI
module_info
DDI/DKI
msgb
DDI/DKI
qband
DDI/DKI
qinit
DDI/DKI
queclass
Solaris DDI
queue
DDI/DKI
streamtab
DDI/DKI
stroptions
DDI/DKI
The following table summarizes structures that are not specific to STREAMS I/O.
Structure
Type
buf
DDI/DKI
cb_ops
Solaris DDI
ddi_dma_cookie
Solaris DDI
ddi_dma_lim_sparc
Solaris SPARC DDI
ddi_dma_lim_x86
Solaris x86 DDI
ddi_dma_req
Solaris DDI
ddi_dmae_req
Solaris x86 DDI
ddi_mapdev_ctl
Solaris DDI
dev_ops
Solaris DDI
iovec
DDI/DKI
kstat
Solaris DDI
kstat_intr
Solaris DDI
kstat_io
Solaris DDI
kstat_named
Solaris DDI
map
DDI/DKI
modldrv
Solaris DDI
modlinkage
Solaris DDI
modlstrmod
Solaris DDI
scsi_address
Solaris DDI
scsi_arq_status
Solaris DDI
scsi_device
Solaris DDI
scsi_extended_sense
Solaris DDI
scsi_hba_tran
Solaris DDI
scsi_inquiry
Solaris DDI
scsi_pkt
Solaris DDI
scsi_status
Solaris DDI
uio
DDI/DKI
NOTES
Do not declare arrays of structures as the size of the structures may change between releases. Rely only on the structure members listed in this chapter and not on unlisted members or the position of a member in a structure.