man pages section 9: DDI and DKI Kernel Functions
    
S
 
 SAMESTR -- test if next queue is in the same stream ( Index Term Link )
 
 SCSI Host Bus Adapter system initialization and completion routines
  -- scsi_hba_init ( Index Term Link ) ( Index Term Link )
 
 scsi_abort -- abort a SCSI command ( Index Term Link )
 
 scsi_alloc_consistent_buf -- scsi dma utility for allocating an I/O buffer for SCSI DMA ( Index Term Link )
 
 scsi_cname -- decode SCSI commands ( Index Term Link )
 
 SCSI commands, make packet
  -- makecom ( Index Term Link )
  -- makecom_g0 ( Index Term Link )
  -- makecom_g1 ( Index Term Link )
  -- makecom_g5 ( Index Term Link )
  -- makecom_g0_s ( Index Term Link )
 
 scsi_destroy_pkt -- free an allocated SCSI packet and its DMA resource ( Index Term Link )
 
 SCSI dma utility routines
  -- scsi_dmafree ( Index Term Link )
  -- scsi_dmaget ( Index Term Link )
 
 scsi_dname -- decode SCSI peripheral device type ( Index Term Link )
 
 scsi_errmsg -- display a SCSI request sense message ( Index Term Link )
 
 scsi_free_consistent_buf -- free a previously allocated SCSI DMA I/O buffer ( Index Term Link )
 
 scsi_get_device_type_scsi_options -- look up per-device-type scsi-options property ( Index Term Link )
 
 scsi_hba_attach -- SCSI HBA attach and detach routines ( Index Term Link )
 
 SCSI HBA attach and detach routines
  -- scsi_hba_attach ( Index Term Link )
  -- scsi_hba_attach_setup ( Index Term Link )
  -- scsi_hba_detach ( Index Term Link )
 
 scsi_hba_attach_setup -- SCSI HBA attach and detach routines ( Index Term Link )
 
 scsi_hba_detach -- SCSI HBA attach and detach routines ( Index Term Link )
 
 scsi_hba_fini -- SCSI Host Bus Adapter system completion routines ( Index Term Link )
 
 scsi_hba_init -- SCSI Host Bus Adapter system initialization routines ( Index Term Link )
 
 scsi_hba_lookup_capstr -- return index matching capability string ( Index Term Link )
 
 scsi_hba_pkt_alloc -- allocate and free a scsi_pkt structure ( Index Term Link )
 
 scsi_hba_pkt_free -- allocate and free a scsi_pkt structure ( Index Term Link )
 
 scsi_hba_probe -- default SCSI HBA probe function ( Index Term Link )
 
 scsi_hba_tran_alloc -- allocate and free transport structures ( Index Term Link )
 
 scsi_hba_tran_free -- allocate and free transport structures ( Index Term Link )
 
 scsi_ifgetcap -- get SCSI transport capability ( Index Term Link )
 
 scsi_ifsetcap -- set SCSI transport capability ( Index Term Link )
 
 scsi_init_pkt -- prepare a complete SCSI packet ( Index Term Link )
 
 scsi_log -- display a SCSI-device-related message ( Index Term Link )
 
 scsi_mname -- decode SCSI messages ( Index Term Link )
 
 SCSI packet
  allocate a SCSI packet in iopb map -- get_pktiopb ( Index Term Link )
  free a packet in iopb map -- free_pktiopb ( Index Term Link )
  free an allocated SCSI packet and its DMA resource -- scsi_destroy_pkt ( Index Term Link )
 
 SCSI packet utility routines
  -- scsi_pktalloc ( Index Term Link )
  -- scsi_pktfree ( Index Term Link )
  -- scsi_resalloc ( Index Term Link )
  -- scsi_resfree ( Index Term Link )
 
 scsi_poll -- run a polled SCSI command on behalf of a target driver ( Index Term Link )
 
 scsi_probe -- utility for probing a scsi device ( Index Term Link )
 
 scsi_reset -- reset a SCSI bus or target ( Index Term Link )
 
 scsi_reset_notify -- notify target driver of bus resets ( Index Term Link )
 
 scsi_rname -- decode SCSI packet completion reasons ( Index Term Link )
 
 scsi_setup_cdb -- setup SCSI command descriptor block (CDB) ( Index Term Link )
 
 scsi_slave -- utility for SCSI target drivers to establish the presence of a target ( Index Term Link )
 
 scsi_sname -- decode SCSI sense keys ( Index Term Link )
 
 scsi_sync_pkt -- synchronize CPU and I/O views of memory ( Index Term Link )
 
 scsi_transport -- request by a target driver to start a SCSI command ( Index Term Link )
 
 scsi_unprobe -- free resources allocated during initial probing ( Index Term Link )
 
 scsi_unslave -- free resources allocated during initial probing ( Index Term Link )
 
 scsi_vu_errmsg, display a SCSI request sense message ( Index Term Link )
 
 semaphore functions
  -- sema_destroy ( Index Term Link )
  -- sema_init ( Index Term Link )
  -- sema_p ( Index Term Link )
  -- sema_p_sig ( Index Term Link )
  -- sema_tryp ( Index Term Link )
  -- sema_v ( Index Term Link )
  -- semaphore ( Index Term Link )
 
 send a signal to a process
  -- proc_ref ( Index Term Link )
  -- proc_signal ( Index Term Link )
  -- proc_unref ( Index Term Link )
 
 set client event mask -- csx_RequestSocketMask ( Index Term Link )
 
 set client event mask -- csx_SetEventMask ( Index Term Link )
 
 set current access handle offset -- csx_SetHandleOffset ( Index Term Link )
 
 Set driver memory mapping parameters
  -- devmap_devmem_setup ( Index Term Link )
  -- devmap_umem_setup ( Index Term Link )
 
 Set the device attributes for the mapping -- ddi_mapdev_set_device_acc_attr ( Index Term Link )
 
 set up a mapping for a register address space -- ddi_regs_map_setup ( Index Term Link )
 
 setup SCSI command descriptor block (CDB) -- scsi_setup_cdb ( Index Term Link )
 
 single direction elevator seek sort for buffers -- disksort ( Index Term Link )
 
 size in bytes
  convert size in pages -- ptob ( Index Term Link )
  convert to size in memory pages (round down) -- btop ( Index Term Link )
  convert to size in memory pages (round up) -- btopr ( Index Term Link )
 
 socket number, return physical socket number -- csx_MapLogSocket ( Index Term Link )
 
 soft interrupt handling
  add a soft interrupt -- ddi_add_softintr ( Index Term Link )
  get soft interrupt block cookie -- ddi_get_soft_iblock_cookie ( Index Term Link )
  remove a soft interrupt -- ddi_remove_softintr ( Index Term Link )
  trigger a soft interrupt -- ddi_trigger_softintr ( Index Term Link )
 
 sprintf -- format characters in memory ( Index Term Link )
 
 status of PC Card and socket -- csx_GetStatus ( Index Term Link )
 
 STREAMS wait routines -- qwait, qwait_sig ( Index Term Link )
 
 STREAMS ioctl blocks, allocate -- mkiocb ( Index Term Link )
 
 STREAMS message blocks
  allocate -- allocb ( Index Term Link )
  attach a user-supplied data buffer in place -- esballoc ( Index Term Link )
  call a function when a buffer becomes available -- bufcall ( Index Term Link ) ( Index Term Link )
  call a function when a buffer becomes available -- qbufcall ( Index Term Link ) ( Index Term Link )
  call function when buffer is available -- esbbcall ( Index Term Link )
  concatenate bytes in a message -- msgpullup ( Index Term Link )
  concatenate bytes in a message -- pullupmsg ( Index Term Link )
  concatenate two -- linkb ( Index Term Link )
  copy -- copyb ( Index Term Link )
  erase the contents of a buffer -- clrbuf ( Index Term Link )
  free all message blocks in a message -- freemsg ( Index Term Link )
  free one -- freeb ( Index Term Link )
  remove from head of message -- unlinkb ( Index Term Link )
  remove one form a message -- rmvb ( Index Term Link )
 
 STREAMS message queue, insert a message into a queue -- insq ( Index Term Link )
 
 STREAMS message queues ( Index Term Link )
 
 STREAMS Message queues, get next message -- getq ( Index Term Link )
 
 STREAMS message queues
  reschedule a queue for service -- enableok ( Index Term Link )
  test for room -- canputnext ( Index Term Link )
  test for room -- canput ( Index Term Link )
 
 STREAMS messages
  copy a message -- copymsg ( Index Term Link )
  flush for specified priority band -- flushband ( Index Term Link )
  remove form queue -- flushq ( Index Term Link )
  remove form queue -- rmvq ( Index Term Link )
  return the number of bytes in a message -- msgdsize ( Index Term Link )
  submit messages to the log driver -- strlog ( Index Term Link )
  test whether a message is a data message -- datamsg ( Index Term Link )
  trim bytes -- adjmsg ( Index Term Link )
 
 STREAMS multithreading
  -- mt-streams ( Index Term Link )
  qbufcall -- call a function when a buffer becomes available ( Index Term Link )
  qtimeout -- execute a function after a specified length of time ( Index Term Link )
  qunbufcall -- cancel a pending qbufcall request ( Index Term Link )
  quntimeout -- cancel previous timeout function call ( Index Term Link )
  qwait, qwait_sig -- STREAMS wait routines ( Index Term Link )
  qwriter -- asynchronous STREAMS perimeter upgrade ( Index Term Link )
 
 STREAMS put and service procedures
  disable -- qprocsoff ( Index Term Link )
  enable -- qprocson ( Index Term Link )
 
 STREAMS queues
  change information about a queue or band of the queue -- strqset ( Index Term Link )
  enable a queue -- qenable ( Index Term Link )
  get pointer to queue's partner queue -- OTHERQ ( Index Term Link )
  get pointer to the read queue -- RD ( Index Term Link )
  get information about a queue or band of the queue -- strqget ( Index Term Link )
  number of messages on a queue -- qsize ( Index Term Link )
  place a message at the head of a queue -- putbq ( Index Term Link )
  prevent a queue from being scheduled -- noenable ( Index Term Link )
  put a message on a queue -- putq ( Index Term Link )
  send a control message to a queue -- putctl ( Index Term Link )
  send a control message to a queue -- putnextctl ( Index Term Link )
  send a control message with a one-byte parameter to a queue -- putctl1 ( Index Term Link )
  send a control message with a one-byte parameter to a queue -- putnextctl1 ( Index Term Link )
  send a message on a stream in the reverse direction -- qreply ( Index Term Link )
  send a message to the next queue -- putnext ( Index Term Link )
  test if next queue is in the same stream -- SAMESTR ( Index Term Link )
  test for flow control in specified priority band -- bcanput ( Index Term Link )
 
 STREAMS write queues, get pointer for this module or driver -- WR ( Index Term Link )
 
 STRUCT_DECL, 32-bit application data access macros ( Index Term Link )
 
 swab -- swap bytes in 16-bit halfwords ( Index Term Link )
 
 synchronize CPU and I/O views of memory -- ddi_dma_sync ( Index Term Link )
 
 synchronize CPU and I/O views of memory -- scsi_sync_pkt ( Index Term Link )
 
 system DMA engine functions
  -- ddi_dmae ( Index Term Link )
  -- ddi_dmae_1stparty ( Index Term Link )
  -- ddi_dmae_alloc ( Index Term Link )
  -- ddi_dmae_disable ( Index Term Link )
  -- ddi_dmae_enable ( Index Term Link )
  -- ddi_dmae_getattr ( Index Term Link )
  -- ddi_dmae_getcnt ( Index Term Link )
  -- ddi_dmae_getlim ( Index Term Link )
  -- ddi_dmae_prog ( Index Term Link )
  -- ddi_dmae_release ( Index Term Link )
  -- ddi_dmae_stop ( Index Term Link )
 
 system event, logging of ( Index Term Link )