Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ List(9f) — SunOS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

 

LIST OF COMMANDS

Name Appears on Page Description
adjmsgadjmsg(9F) trim bytes from a message
allocballocb(9F) allocate a message block
ASSERTASSERT(9F) expression verification
bcanputbcanput(9F) test for flow control
bcmpbcmp(9F) compare two byte arrays
bcopybcopy(9F) copy data between kernel address locations
biodonebiodone(9F) release buffer after block I/O
biowaitbiowait(9F) suspend processes pending block I/O
completion
bp_mapinbp_mapin(9F) allocate virtual address space
bp_mapoutbp_mapout(9F) deallocate virtual address space
brelsebrelse(9F) return buffer to the bfreelist
btopbtop(9F) convert byte size to page size (round down)
btoprbtopr(9F) convert byte size to page size (round up)
bufcallbufcall(9F) call function when buffer becomes
available
bzerobzero(9F) clear memory for a given number of bytes
canputcanput(9F) test for room in a message queue
clrbufclrbuf(9F) erase the contents of a buffer
cmn_errcmn_err(9F) display error message or panic system
condvarcondvar(9F) condition variable routines
copybcopyb(9F) copy a message block
copyincopyin(9F) copy data from a user program to a driver
buffer
copymsgcopymsg(9F) copy a message
copyoutcopyout(9F) copy data from a driver to a user program
cv_broadcastcondvar(9F) condition variable routines
cv_destroycondvar(9F) condition variable routines
cv_initcondvar(9F) condition variable routines
cv_signalcondvar(9F) condition variable routines
cv_timedwaitcondvar(9F) condition variable routines
cv_waitcondvar(9F) condition variable routines
cv_wait_sigcondvar(9F) condition variable routines
datamsgdatamsg(9F) test whether a message is a data message
ddi_add_intrddi_add_intr(9F) add or remove an interrupt
ddi_add_softintrddi_add_softintr(9F) add/triger a soft interrupt
ddi_btopddi_btop(9F) page size conversions
ddi_btoprddi_btop(9F) page size conversions
ddi_copyinddi-copyin(9F) copy data to a driver buffer
ddi_copyoutddi-copyout(9F) copy data from a driver   ddi_create_minor_node ddi_create_minor_node(9F)  create a minor node for this device
ddi_dev_is_sidddi_dev_is_sid(9F) tell whether a device is self-identifying
ddi_dev_nintrsddi_dev_nintrs(9F) return number of interrupt specifications
a device has
ddi_dev_nregsddi_dev_nregs(9F) return number of register sets a device has
ddi_dev_regsizeddi_dev_regsize(9F) return the size of a device’s register
ddi_dma_addr_setupddi_dma_addr_setup(9F)  easier DMA setup for use with virtual
addresses
ddi_dma_buf_setupddi_dma_buf_setup(9F) easier DMA setup for use with buffer
structures
ddi_dma_freeddi_dma_free(9F)tear down DMA mappings
ddi_dma_nextsegddi_dma_nextseg(9F) get next DMA segment
ddi_dma_nextwinddi_dma_nextwin(9F) get next DMA window
ddi_dma_segtocookieddi_dma_segtocookie(9F)  convert a DMA segment to a DMA
addressing cookie
ddi_dma_setupddi_dma_setup(9F) set up or tear down DMA mappings
ddi_dma_syncddi_dma_sync(9F) synchronize CPU and I/O views of
memory
ddi_dmae_allocddi_dmae(9F) allocate DMA engine channel
ddi_dmae_releaseddi_dmae(9F) deallocate DMA engine channel
ddi_dmae_progddi_dmae(9F) program DMA engine channel
ddi_dmae_disableddi_dmae(9F) disable DMA engine channel
ddi_dmae_enableddi_dmae(9F) enable DMA engine channel
ddi_dmae_stopddi_dmae(9F) stop DMA engine channel
ddi_dmae_getcntddi_dmae(9F) get DMA engine channel remaining
transfer count
ddi_dmae_1stpartyddi_dmae(9F)configure DMA engine channel for
1st party DMA
ddi_dmae_getlimddi_dmae(9F)get nexus DMA limits
ddi_ffsddi_ffs(9F) find first (last) bit set in a long integer
ddi_flsddi_ffs(9F) find first (last) bit set in a long integer
ddi_get_credddi_get_cred(9F) returns a pointer to the credentials
structure of the caller
ddi_get_driver_privateddi_get_driver_private(9F)  get or set the address of the device’s
private data area
ddi_get_instanceddi_get_instance(9F) get device instance number
ddi_getlongpropddi_prop_op(9F) get property information for leaf device
drivers
ddi_getlongprop_bufddi_prop_op(9F) get property information for leaf device
drivers
ddi_get_nameddi_get_name(9F) return the devinfo node name
ddi_get_parentddi_get_parent(9F) find the parent of a device information
structure
ddi_getpropddi_prop_op(9F) get property information for leaf device
drivers
ddi_getproplenddi_prop_op(9F) get property information for leaf device
drivers
ddi_get_soft_stateddi_soft_state(9F) driver soft state utility routines
ddi_intr_hilevelddi_intr_hilevel(9F) indicate interrupt handler type
ddi_iopb_allocddi_iopb_alloc(9F) allocate or free memory for DMA
ddi_iopb_freeddi_iopb_alloc(9F) allocate or free memory for DMA
ddi_map_regsddi_map_regs(9F) map or unmap registers
ddi_peekddi_peek(9F) read a value from a location
ddi_peekcddi_peek(9F) read a value from a location
ddi_peekdddi_peek(9F) read a value from a location
ddi_peeklddi_peek(9F) read a value from a location
ddi_peeksddi_peek(9F) read a value from a location
ddi_pokeddi_poke(9F) write a value to a location
ddi_pokecddi_poke(9F) write a value to a location
ddi_pokedddi_poke(9F) write a value to a location
ddi_pokelddi_poke(9F) write a value to a location
ddi_pokesddi_poke(9F) write a value to a location
ddi_prop_createddi_prop_create(9F) create, remove, or modify properties for
leaf device drivers
ddi_prop_modifyddi_prop_create(9F) create, remove, or modify properties for
leaf device drivers
ddi_prop_opddi_prop_op(9F) get property information for leaf device
drivers
ddi_prop_removeddi_prop_create(9F) create, remove, or modify properties for
leaf device drivers
ddi_prop_remove_allddi_prop_create(9F) create, remove, or modify properties for
leaf device drivers
ddi_prop_undefineddi_prop_create(9F) create, remove, or modify properties for
leaf device drivers
ddi_ptobddi_btop(9F) page size conversions
ddi_remove_intrddi_add_intr(9F) add or remove an interrupt
ddi_remove_minor_nodeddi_remove_minor_node(9F)  remove a minor node for this dev_info
ddi_remove_softintrddi_add_softintr(9F) add/trigger a soft interrupt
ddi_report_devddi_report_dev(9F) announce a device
ddi_root_nodeddi_root_node(9F) get the root of the dev_info tree
ddi_segmapddi_segmap(9F) map a segment
ddi_set_driver_privateddi_get_driver_private(9F)  get or set the address of the device’s
private data area
ddi_soft_stateddi_soft_state(9F) driver soft state utility routines
ddi_soft_state_finiddi_soft_state(9F) driver soft state utility routines
ddi_soft_state_freeddi_soft_state(9F) driver soft state utility routines
ddi_soft_state_initddi_soft_state(9F) driver soft state utility routines
ddi_soft_state_zallocddi_soft_state(9F) driver soft state utility routines
ddi_trigger_softintrddi_add_softintr(9F) add/triger a soft interrupt
ddi_unmap_regsddi_map_regs(9F) map or unmap registers
delaydelay(9F) delay process execution for a specified
number of clock ticks
disksortdisksort(9F) single direction elevator seek sort for
buffers
drv_getparmdrv_getparm(9F) retrieve kernel state information
drv_hztousecdrv_hztousec(9F) convert clock ticks to microseconds
drv_privdrv_priv(9F) determine driver privilege
drv_usectohzdrv_usectohz(9F) convert microseconds to clock ticks
drv_usecwaitdrv_usecwait(9F) busy-wait for specified interval
processor after a specified
dupbdupb(9F) duplicate a message block descriptor
dupmsgdupmsg(9F) duplicate a message
enableokenableok(9F) reschedule a queue for service
esballocesballoc(9F) allocate a message block using a caller-
supplied buffer
esbbcallesbbcall(9F) call function when buffer is available
flushbandflushband(9F) flush messages for a specified priority band
flushqflushq(9F) remove messages from a queue
freebfreeb(9F) free a message block
freemsgfreemsg(9F) free all message blocks in a message
free_pktiopbget_pktiopb(9F) request/free a packet in the iopb map
freerbuffreerbuf(9F) free a raw buffer header
geterrorgeterror(9F) return I/O error
getmajorgetmajor(9F) get major device number
getminorgetminor(9F) get minor device number
get_pktiopbget_pktiopb(9F) request/free a packet in the iopb map
getqgetq(9F) get the next message from a queue
getrbufgetrbuf(9F) get a raw buffer header
inbinb(9F) read from an I/O port
insqinsq(9F) insert a message into a queue
kmem_allockmem_alloc(9F) allocate space from kernel free memory
kmem_freekmem_free(9F) free previously allocated kernel memory
kmem_zallockmem_zalloc(9F) allocate and clear space from kernel
free memory
hat_getkpfnumhat_getkpfnum(9F) get page frame number for kernel address
linkblinkb(9F) concatenate two message blocks
makecommakecom(9F) make a packet for SCSI commands
makecom_g0makecom(9F) make a packet for SCSI commands
makecom_g0_smakecom(9F) make a packet for SCSI commands
makecom_g1makecom(9F) make a packet for SCSI commands
makecom_g5makecom(9F) make a packet for SCSI commands
makedevicemakedevice(9F) make device number from major and minor
numbers
maxmax(9F) return the larger of two integers
minmin(9F) return the lesser of two integers
minphysphysio(9F) perform physical I/O
mod_infomod_install(9F) add, remove or query a loadable module
mod_installmod_install(9F) add, remove or query a loadable module
mod_removemod_install(9F) add, remove or query a loadable module
msgdsizemsgdsize(9F) return the number of bytes in a message
mutexmutex(9F) mutual exclusion lock routines
mutex_destroymutex(9F) mutual exclusion lock routines
mutex_entermutex(9F) mutual exclusion lock routines
mutex_exitmutex(9F) mutual exclusion lock routines
mutex_initmutex(9F) mutual exclusion lock routines
mutex_ownedmutex(9F) mutual exclusion lock routines
mutex_tryentermutex(9F) mutual exclusion lock routines
nochpollnochpoll(9F) error return function for non-pollable
devices
nodevnodev(9F) error return function for illegal entries in
device switch tables.
noenablenoenable(9F) prevent a queue from being scheduled
nulldevnulldev(9F) return function for insignificant entries in
device switch tables.
numtosstoi(9F) convert between an integer and a decimal
string
OTHERQOTHERQ(9F) get pointer to queue’s partner queue
outboutb(9F) write to an I/O port
physiophysio(9F) perform physical I/O
pollwakeuppollwakeup(9F) inform a process that an event has occurred
the caller is currently running
ptobptob(9F) convert size in pages to size in bytes
pullupmsgpullupmsg(9F) concatenate bytes in a message
putbqputbq(9F) place a message at the head of a queue
putctlputctl(9F) send a control message to a queue
putctl1putctl1(9F) send a control message with a one-byte
parameter to a queue
putnextputnext(9F) send a message to the next queue
putqputq(9F) put a message on a queue
qenableqenable(9F) enable a queue
qreplyqreply(9F) send a message on a stream in the reverse
direction
qsizeqsize(9F) find the number of messages on a queue
RDRD(9F) get pointer to the read queue
rmallocrmalloc(9F) allocate space from a resource map
rmfreermfree(9F) free space back into a resource map
rmvbrmvb(9F) remove a message block from a message
rmvqrmvq(9F) remove a message from a queue
rwlockrwlock(9F) readers/writer lock functions
rw_destroyrwlock(9F) readers/writer lock functions
rw_downgraderwlock(9F) readers/writer lock functions
rw_enterrwlock(9F) readers/writer lock functions
rw_exitrwlock(9F) readers/writer lock functions
rw_initrwlock(9F) readers/writer lock functions
rw_read_lockedrwlock(9F) readers/writer lock functions
rwtryupgraderwlock(9F) readers/writer lock functions
SAMESTRSAMESTR(9F) test if next queue is in the same stream
scsi_abortscsi_abort(9F) abort a command
scsi_alloc_consistent_bufscsi_alloc_consistent_buf(9F)  allocate an I/O buffer for SCSI DMA
scsi_cnamescsi_cname(9F) decode a SCSI name
scsi_destroy_pktscsi_destroy_pkt(9F) free allocated SCSI packet and buffer
scsi_dmafreescsi_dmaget(9F) SCSI dma utility routines
scsi_dmagetscsi_dmaget(9F) SCSI dma utility routines
scsi_dnamescsi_cname(9F) decode a SCSI name
scsi_errmsgscsi errmsg(9F) display a SCSI request sense message
scsi_free_consistent_buf scsi_free_consistent_buf(9F) free a previously allocated SCSI DMA I/O
buffer
scsi_ifgetcapscsi_ifgetcap(9F) set/get transport capability
scsi_ifsetcapscsi_ifgetcap(9F) set/get transport capability
scsi_init_pktscsi_init_pkt(9F) prepare a complete SCSI packet
scsi_logscsi_log(9F) display a SCSI-device-related message
scsi_mnamescsi_cname(9F) decode a SCSI name
scsi_pktallocscsi_pktalloc(9F) SCSI packet utility routines
scsi_pktfreescsi_pktalloc(9F) SCSI packet utility routines
scsi_pollscsi_poll(9F)  run a polled command on behalf of a target
  driver
scsi_probescsi_probe(9F)probe the device with up to three inquiries
scsi_resallocscsi_pktalloc(9F) SCSI packet utility routines
scsi_resetscsi_reset(9F) target driver asks the host adapter driver
to reset
scsi_resfreescsi_pktalloc(9F) SCSI packet utility routines
scsi_rnamescsi_cname(9F) decode a SCSI name
scsi_slavescsi_slave(9F) utility for target drivers to establish
the presence of a target
scsi_snamescsi_cname(9F) decode a SCSI name
scsi_transportscsi_transport(9F) request by a target driver to start
a command
scsi_unprobescsi_unprobe(9F) free memory allocated during initial probing
scsi_unslavescsi_unprobe(9F) free memory allocated during initial probing
semaphoresemaphore(9F) semaphore functions
sema_destroysemaphore(9F) semaphore functions
sema_initsemaphore(9F) semaphore functions
sema_psemaphore(9F) semaphore functions
sema_p_sigsemaphore(9F) semaphore functions
sema_trypsemaphore(9F) semaphore functions
sema_vsemaphore(9F) semaphore functions
sprintfsprintf(9F) format characters in memory
stoistoi(9F) convert between an integer and a
decimal string
strcmpstrcmp(9F) compare two null terminated strings
strcpystrcpy(9F) copy a string from one location to another
strlenstrlen(9F) determine the number of non-NULL bytes
in a string
strlogstrlog(9F) submit messages to the log driver
strncmpstrcmp(9F) compare two null terminated strings
strncpystrcpy(9F) copy a string from one location to another
strqgetstrqget(9F) get information about a queue or band
of the queue
strqsetstrqset(9F) change information about a queue or band
of the queue
swabswab(9F) swap bytes in 16-bit halfwords
testbtestb(9F) check for an available buffer
timeouttimeout(9F) execute a function after a specified length
of time
uiomoveuiomove(9F) copy kernel data using uio(9S) structure
unlinkbunlinkb(9F) remove a message block from the head of
a message
untimeoutuntimeout(9F) cancel previous timeout(9F) function call
ureadcureadc(9F) add character to a uio structure
useraccuseracc(9F) verify whether user has access to memory
uwritecuwritec(9F) remove a character from a uio structure
vcmn_errcmn_err(9F) display error message or panic system
vsprintfvsprintf(9F) format characters in memory
WRWR(9F) get pointer to the write queue for
this module or driver

SunOS 5.1

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