Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ intro(9S) — SunOS 5.5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Intro(9S)

NAME

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. 

StructureType copyreqDDI/DKI
copyrespDDI/DKI
databDDI/DKI
fmodswSolaris DDI
free_rtnDDI/DKI
iocblkDDI/DKI
linkblkDDI/DKI
module_infoDDI/DKI
msgbDDI/DKI
qbandDDI/DKI
qinitDDI/DKI
queclassSolaris DDI
queueDDI/DKI
streamtabDDI/DKI
stroptionsDDI/DKI

The following table summarizes structures that are not specific to STREAMS I/O. 

StructureType aio_reqSolaris DDI
bufDDI/DKI
cb_opsSolaris DDI
ddi_device_acc_attrSolaris DDI
ddi_dma_attrSolaris DDI
ddi_dma_cookieSolaris DDI
ddi_dma_lim_sparcSolaris SPARC DDI
ddi_dma_lim_x86Solaris x86 DDI
ddi_dma_reqSolaris DDI
ddi_dmae_reqSolaris x86 DDI
ddi_idevice_cookieSolaris DDI
ddi_mapdev_ctlSolaris DDI
dev_opsSolaris DDI
iovecDDI/DKI
kstatSolaris DDI
kstat_intrSolaris DDI
kstat_ioSolaris DDI
kstat_namedSolaris DDI
mapDDI/DKI
modldrvSolaris DDI
modlinkageSolaris DDI
modlstrmodSolaris DDI
scsi_addressSolaris DDI
scsi_arq_statusSolaris DDI
scsi_deviceSolaris DDI
scsi_extended_senseSolaris DDI
scsi_hba_tranSolaris DDI
scsi_inquirySolaris DDI
scsi_pktSolaris DDI
scsi_statusSolaris DDI
uioDDI/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. 

LIST OF STRUCTURES

Name Description

aio_req(9S) asynchronous I/O request structure

buf(9S) block I/O data transfer structure

cb_ops(9S) character/block entry points structure

copyreq(9S) STREAMS data structure for the M_COPYIN and the M_COPYOUT message types

copyresp(9S) STREAMS data structure for the M_IOCDATA message type

datab(9S) STREAMS message data structure

ddi_device_acc_attr(9S) data access attributes structure

ddi_dma_attr(9S) DMA attributes structure

ddi_dma_cookie(9S) DMA address cookie

ddi_dmae_req(9S) DMA engine request structure

ddi_dma_lim(9S) See ddi_dma_lim_sparc(9S)

ddi_dma_lim_sparc(9S) SPARC DMA limits structure

ddi_dma_lim_x86(9S) x86 DMA limits structure

ddi_dma_req(9S) DMA Request structure

ddi_idevice_cookie(9S) device interrupt cookie

ddi_mapdev_ctl(9S) device mapping-control structure

dev_ops(9S) device operations structure

fmodsw(9S) STREAMS module declaration structure

free_rtn(9S) structure that specifies a driver’s message freeing routine

iocblk(9S) STREAMS data structure for the M_IOCTL message type

iovec(9S) data storage structure for I/O using uio

kstat(9S) kernel statistics structure

kstat_intr(9S) structure for interrupt kstats

kstat_io(9S) structure for I/O kstats

kstat_named(9S) structure for named kstats

linkblk(9S) STREAMS data structure sent to multiplexor drivers to indicate a link

modldrv(9S) linkage structure for loadable drivers

modlinkage(9S) module linkage structure

modlstrmod(9S) linkage structure for loadable STREAMS modules

module_info(9S) STREAMS driver identification and limit value structure

msgb(9S) STREAMS message block structure

qband(9S) STREAMS queue flow control information structure

qinit(9S) STREAMS queue processing procedures structure

queclass(9S) a STREAMS macro that returns the queue message class definitions for a given message block

queue(9S) STREAMS queue structure

scsi_address(9S) SCSI address structure

scsi_arq_status(9S) SCSI auto request sense structure

scsi_device(9S) SCSI device structure

scsi_extended_sense(9S) SCSI extended sense structure

scsi_hba_tran(9S) SCSI Host Bus Adapter (HBA) driver transport vector structure

scsi_inquiry(9S) SCSI inquiry structure

scsi_pkt(9S) SCSI packet structure

scsi_status(9S) SCSI status structure

streamtab(9S) STREAMS entity declaration structure

stroptions(9S) options structure for M_SETOPTS message

uio(9S) scatter/gather I/O request structure

SunOS 5.5.1  —  Last change: 28 Jan 1994

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026