Sun Microsystems, Inc.
spacerspacer
spacer www.sun.com docs.sun.com |
spacer
black dot
 
 
B.  Summary of Solaris 9 DDI/DKI Services Introduction SCSI Functions  Previous   Contents   Next 
   
 

Table B-36 Deprecated SCSI Functions

Deprecated Functions

Replacement

free_pktiopb

scsi_free_consistent_buf

get_pktiopb

scsi_alloc_consistent_buf

makecom_g0

scsi_setup_cdb

makecom_g0_s

scsi_setup_cdb

makecom_g1

scsi_setup_cdb

makecom_g5

scsi_setup_cdb

scsi_dmafree

scsi_destroy_pkt

scsi_dmaget

scsi_init_pkt

scsi_hba_attach

scsi_hba_attach_setup

scsi_pktalloc

scsi_init_pkt

scsi_pktfree

scsi_destroy_pkt

scsi_resalloc

scsi_init_pkt

scsi_resfree

scsi_destroy_pkt

scsi_slave

scsi_probe

scsi_unslave

scsi_unprobe

Resource Map Management Functions

Table B-37 Resource Map Management Functions

Function Name

Description

rmallocmap

allocate resource map

rmallocmap_wait

allocate resource map, wait if necessary

rmfreemap

free resource map

rmalloc

allocate space from a resource map

rmalloc_wait

allocate space from a resource map, wait if necessary

rmfree

free space back into a resource map

System Global State

Table B-38 System Global State

Function Name

Description

ddi_in_panic

determine if system is in panic state

Utility Functions

Table B-39 Utility Functions

Function Name

Description

nulldev

zero return function

nodev

error return function

nochpoll

error return function for non-pollable devices

  

ASSERT

expression verification

  

bcopy

copy data between address locations in the kernel

bzero

clear memory for a given number of bytes

bcmp

compare two byte arrays

ddi_ffs

find first bit set in a long integer

ddi_fls

find last bit set in a long integer

swab

swap bytes in 16-bit halfwords

strcmp

compare two null-terminated strings

strncmp

compare two null-terminated strings, with length limit

strlen

determine the number of non-null bytes in a string

strcpy

copy a string from one location to another

strncpy

copy a string from one location to another, with length limit

strchr

find a character in a string

sprintf

format characters in memory

vsprintf

format characters in memory

numtos

convert integer to decimal string

stoi

convert decimal string to an integer

max

return the larger of two integers

min

return the lesser of two integers

va_arg

handle variable argument list

va_copy

handle variable argument list

va_end

handle variable argument list

va_start

handle variable argument list

 
 
 
  Previous   Contents   Next