MAN 9f
MAN 9f
- ASSERT, assert - expression verification
- Intro, intro - introduction to DDI/DKI functions
- OTHERQ, otherq - get pointer to queue's partner queue
- RD, rd - get pointer to the read queue
- SAMESTR, samestr - test if next queue is in the same stream
- WR, wr - get pointer to the write queue for this module or driver
- adjmsg - trim bytes from a message
- allocb - allocate a message block
- anocancel - prevent cancellation of asynchronous I/O request
- aphysio - perform asynchronous physical I/O
- backq - get pointer to the queue behind the current queue
- bcanput - test for flow control in specified priority band
- bcmp - compare two byte arrays
- bcopy - copy data between address locations in the kernel
- biodone - release buffer after buffer I/O transfer and notify blocked threads
- bioerror - indicate error in buffer header
- bioreset - reuse a private buffer header after I/O is complete
- biowait - suspend processes pending completion of block I/O
- bp_mapin - allocate virtual address space
- bp_mapout - deallocate virtual address space
- btop - convert size in bytes to size in pages (round down)
- btopr - convert size in bytes to size in pages (round up)
- bufcall - call a function when a buffer becomes available
- bzero - clear memory for a given number of bytes
- canput - test for room in a message queue
- canputnext, bcanputnext - test for room in next module's message queue
- clrbuf - erase the contents of a buffer
- cmn_err, vcmn_err - display an error message or panic the system
- condvar, cv_init, cv_destroy, cv_wait, cv_signal, cv_broadcast, cv_wait_sig, cv_timedwait, cv_timedwait_sig - condition variable routines
- copyb - copy a message block
- copyin - copy data from a user program to a driver buffer
- copymsg - copy a message
- copyout - copy data from a driver to a user program
- datamsg - test whether a message is a data message
- ddi_add_intr, ddi_get_iblock_cookie, ddi_remove_intr - hardware interrupt handling routines
- ddi_add_softintr, ddi_get_soft_iblock_cookie, ddi_remove_softintr, ddi_trigger_softintr - software interrupt handling routines
- ddi_btop, ddi_btopr, ddi_ptob - page size conversions
- ddi_copyin - copy data to a driver buffer
- ddi_copyout - copy data from a driver
- ddi_create_minor_node - create a minor node for this device
- ddi_dev_is_sid - tell whether a device is self-identifying
- ddi_dev_nintrs - return the number of interrupt specifications a device has
- ddi_dev_nregs - return the number of register sets a device has
- ddi_dev_regsize - return the size of a device's register
- ddi_device_copy - copy data from one device register to another device register
- ddi_device_zero - zero fill the device
- ddi_dma_addr_bind_handle - binds an address to a DMA handle
- ddi_dma_addr_setup - easier DMA setup for use with virtual addresses
- ddi_dma_alloc_handle - allocate DMA handle
- ddi_dma_buf_bind_handle - binds a system buffer to a DMA handle
- ddi_dma_buf_setup - easier DMA setup for use with buffer structures
- ddi_dma_burstsizes - find out the allowed burst sizes for a DMA mapping
- ddi_dma_coff - convert a DMA cookie to an offset within a DMA handle
- ddi_dma_curwin - report current DMA window offset and size
- ddi_dma_devalign - find DMA mapping alignment and minimum transfer size
- ddi_dma_free - release system DMA resources
- ddi_dma_free_handle - free DMA handle
- ddi_dma_getwin - activate a new DMA window
- ddi_dma_htoc - convert a DMA handle to a DMA address cookie
- ddi_dma_mem_alloc - allocate memory for DMA transfer
- ddi_dma_mem_free - free previously allocated memory
- ddi_dma_movwin - shift current DMA window
- ddi_dma_nextcookie - retrieve subsequent DMA cookie
- ddi_dma_nextseg - get next DMA segment
- ddi_dma_nextwin - get next DMA window
- ddi_dma_numwin - retrieve number of DMA windows
- ddi_dma_segtocookie - convert a DMA segment to a DMA address cookie
- ddi_dma_set_sbus64 - allow 64 bit transfers on SBus
- ddi_dma_setup - setup DMA resources
- ddi_dma_sync - synchronize CPU and I/O views of memory
- ddi_dma_unbind_handle - unbinds the address in a DMA handle
- ddi_dmae, ddi_dmae_alloc, ddi_dmae_release, ddi_dmae_prog, ddi_dmae_disable, ddi_dmae_enable, ddi_dmae_stop, ddi_dmae_getcnt, ddi_dmae_1stparty, ddi_dmae_getlim, ddi_dmae_getattr - system DMA engine functions
- ddi_enter_critical, ddi_exit_critical - enter and exit a critical region of control
- ddi_ffs, ddi_fls - find first (last) bit set in a long integer
- ddi_get_cred - returns a pointer to the credential structure of the caller
- ddi_get_driver_private, ddi_set_driver_private - get or set the address of the device's private data area
- ddi_get_instance - get device instance number
- ddi_get_name - return the devinfo node name
- ddi_get_parent - find the parent of a device information structure
- ddi_getb, ddi_getw, ddi_getl, ddi_getll - read data from the mapped memory address, device register or allocated DMA memory address
- ddi_intr_hilevel - indicate interrupt handler type
- ddi_io_getb, ddi_io_getw, ddi_io_getl - read data from the mapped device register in I/O space
- ddi_io_putb, ddi_io_putw, ddi_io_putl - write data to the mapped device register in I/O space
- ddi_io_rep_getb, ddi_io_rep_getw, ddi_io_rep_getl - read multiple data from the mapped device register in I/O space
- ddi_io_rep_putb, ddi_io_rep_putw, ddi_io_rep_putl - write multiple data to the mapped device register in I/O space
- ddi_iomin - find minimum alignment and transfer size for DMA
- ddi_iopb_alloc, ddi_iopb_free - allocate and free non-sequentially accessed memory
- ddi_map_regs, ddi_unmap_regs - map or unmap registers
- ddi_mapdev - create driver-controlled mapping of device
- ddi_mapdev_intercept, ddi_mapdev_nointercept - control driver notification of user accesses
- ddi_mapdev_set_device_acc_attr - Set the device attributes for the mapping
- ddi_mem_alloc, ddi_mem_free - allocate and free sequentially accessed memory
- ddi_mem_getb, ddi_mem_getw, ddi_mem_getl, ddi_mem_getll - read data from mapped device in the memory space or allocated DMA memory
- ddi_mem_putb, ddi_mem_putw, ddi_mem_putl, ddi_mem_putll - write data to mapped device in the memory space or allocated DMA memory
- ddi_mem_rep_getb, ddi_mem_rep_getw, ddi_mem_rep_getl, ddi_mem_rep_getll - read multiple data from mapped device in the memory space or allocated DMA memory
- ddi_mem_rep_putb, ddi_mem_rep_putw, ddi_mem_rep_putl, ddi_mem_rep_putll - write multiple data to mapped device in the memory space or allocated DMA memory
- ddi_peek, ddi_peekc, ddi_peeks, ddi_peekl, ddi_peekd - read a value from a location
- ddi_poke, ddi_pokec, ddi_pokes, ddi_pokel, ddi_poked - write a value to a location
- ddi_prop_create, ddi_prop_modify, ddi_prop_remove, ddi_prop_remove_all, ddi_prop_undefine - create, remove, or modify properties for leaf device drivers
- ddi_prop_exists - check for the existence of a property
- ddi_prop_get_int - lookup integer property
- ddi_prop_lookup, ddi_prop_lookup_int_array, ddi_prop_lookup_string_array, ddi_prop_lookup_string, ddi_prop_lookup_byte_array, ddi_prop_free - look up property information
- ddi_prop_op, ddi_getprop, ddi_getlongprop, ddi_getlongprop_buf, ddi_getproplen - get property information for leaf device drivers
- ddi_prop_update, ddi_prop_update_int_array, ddi_prop_update_int, ddi_prop_update_string_array, ddi_prop_update_string, ddi_prop_update_byte_array - update properties
- ddi_putb, ddi_putw, ddi_putl, ddi_putll - write data to the mapped memory address, device register or allocated DMA memory address
- ddi_regs_map_free - free a previously mapped register address space
- ddi_regs_map_setup - set up a mapping for a register address space
- ddi_remove_minor_node - remove a minor node for this dev_info
- ddi_rep_getb, ddi_rep_getw, ddi_rep_getl, ddi_rep_getll - read data from the mapped memory address, device register or allocated DMA memory address
- ddi_rep_putb, ddi_rep_putw, ddi_rep_putl, ddi_rep_putll - write data to the mapped memory address, device register or allocated DMA memory address
- ddi_report_dev - announce a device
- ddi_root_node - get the root of the dev_info tree
- ddi_segmap, ddi_segmap_setup - Set up a user mapping using seg_dev
- ddi_slaveonly - tell if a device is installed in a slave access only location
- ddi_soft_state, ddi_get_soft_state, ddi_soft_state_fini, ddi_soft_state_free, ddi_soft_state_init, ddi_soft_state_zalloc - driver soft state utility routines
- delay - delay execution for a specified number of clock ticks
- disksort - single direction elevator seek sort for buffers
- drv_getparm - retrieve kernel state information
- drv_hztousec - convert clock ticks to microseconds
- drv_priv - determine driver privilege
- drv_usectohz - convert microseconds to clock ticks
- drv_usecwait - busy-wait for specified interval
- dupb - duplicate a message block descriptor
- dupmsg - duplicate a message
- enableok - reschedule a queue for service
- esballoc - allocate a message block using a caller-supplied buffer
- esbbcall - call function when buffer is available
- flushband - flush messages for a specified priority band
- flushq - remove messages from a queue
- freeb - free a message block
- freemsg - free all message blocks in a message
- freerbuf - free a raw buffer header
- freezestr, unfreezestr - freeze, thaw the state of a stream
- get_pktiopb, free_pktiopb - allocate/free a SCSI packet in the iopb map
- geterror - return I/O error
- getmajor - get major device number
- getminor - get minor device number
- getq - get the next message from a queue
- getrbuf - get a raw buffer header
- hat_getkpfnum - get page frame number for kernel address
- inb, inw, inl, repinsb, repinsw, repinsd - read from an I/O port
- insq - insert a message into a queue
- kmem_alloc, kmem_zalloc, kmem_free - allocate kernel memory
- kstat_create - create and initialize a new kstat
- kstat_delete - remove a kstat from the system
- kstat_install - add a fully initialized kstat to the system
- kstat_named_init - initialize a named kstat
- kstat_queue, kstat_waitq_enter, kstat_waitq_exit, kstat_runq_enter, kstat_runq_exit, kstat_waitq_to_runq, kstat_runq_back_to_waitq - update I/O kstat statistics
- linkb - concatenate two message blocks
- makecom, makecom_g0, makecom_g0_s, makecom_g1, makecom_g5 - make a packet for SCSI commands
- makedevice - make device number from major and minor numbers
- max - return the larger of two integers
- min - return the lesser of two integers
- mod_install, mod_remove, mod_info - add, remove or query a loadable module
- msgdsize - return the number of bytes in a message
- msgpullup - concatenate bytes in a message
- mt-streams - STREAMS multithreading
- mutex, mutex_enter, mutex_exit, mutex_init, mutex_destroy, mutex_owned, mutex_tryenter - mutual exclusion lock routines
- nochpoll - error return function for non-pollable devices
- nodev - error return function
- noenable - prevent a queue from being scheduled
- nulldev - zero return function
- outb, outw, outl, repoutsb, repoutsw, repoutsd - write to an I/O port
- pci_config_getb, pci_config_getw, pci_config_getl, pci_config_getll, pci_config_putb, pci_config_putw, pci_config_putl, pci_config_putll - read or write single datum of various sizes to the PCI Local Bus Configuration space
- pci_config_setup, pci_config_teardown - setup or tear down the resources for enabling accesses to the PCI Local Bus Configuration space
- physio, minphys - perform physical I/O
- pollwakeup - inform a process that an event has occurred
- proc_signal, proc_ref, proc_unref - send a signal to a process
- ptob - convert size in pages to size in bytes
- pullupmsg - concatenate bytes in a message
- put - call a STREAMS put procedure
- putbq - place a message at the head of a queue
- putctl - send a control message to a queue
- putctl1 - send a control message with a one-byte parameter to a queue
- putnext - send a message to the next queue
- putnextctl - send a control message to a queue
- putnextctl1 - send a control message with a one-byte parameter to a queue
- putq - put a message on a queue
- qbufcall - call a function when a buffer becomes available
- qenable - enable a queue
- qprocson, qprocsoff - enable, disable put and service routines
- qreply - send a message on a stream in the reverse direction
- qsize - find the number of messages on a queue
- qtimeout - execute a function after a specified length of time
- qunbufcall - cancel a pending qbufcall request
- quntimeout - cancel previous qtimeout function call
- qwait, qwait_sig - STREAMS wait routines
- qwriter - asynchronous STREAMS perimeter upgrade
- rmalloc - allocate space from a resource map
- rmalloc_wait - allocate space from a resource map, wait if necessary
- rmallocmap, rmallocmap_wait, rmfreemap - allocate and free resource maps
- rmfree - free space back into a resource map
- rmvb - remove a message block from a message
- rmvq - remove a message from a queue
- rwlock, rw_init, rw_destroy, rw_enter, rw_exit, rw_tryenter, rw_downgrade, rw_tryupgrade, rw_read_locked - readers/writer lock functions
- scsi_abort - abort a SCSI command
- scsi_alloc_consistent_buf - allocate an I/O buffer for SCSI DMA
- scsi_cname, scsi_dname, scsi_mname, scsi_rname, scsi_sname - decode a SCSI name
- scsi_destroy_pkt - free an allocated SCSI packet and its DMA resource
- scsi_dmaget, scsi_dmafree - SCSI dma utility routines
- scsi_errmsg - display a SCSI request sense message
- scsi_free_consistent_buf - free a previously allocated SCSI DMA I/O buffer
- scsi_hba_attach_setup, scsi_hba_attach, scsi_hba_detach - SCSI HBA attach and detach routines
- scsi_hba_init, scsi_hba_fini - SCSI Host Bus Adapter system initialization and completion routines
- scsi_hba_lookup_capstr - return index matching capability string
- scsi_hba_pkt_alloc, scsi_hba_pkt_free - allocate and free a scsi_pkt structure
- scsi_hba_probe - default SCSI HBA probe function
- scsi_hba_tran_alloc, scsi_hba_tran_free - allocate and free transport structures
- scsi_ifgetcap, scsi_ifsetcap - get/set SCSI transport capability
- scsi_init_pkt - prepare a complete SCSI packet
- scsi_log - display a SCSI-device-related message
- scsi_pktalloc, scsi_resalloc, scsi_pktfree, scsi_resfree - SCSI packet utility routines
- scsi_poll - run a polled SCSI command on behalf of a target driver
- scsi_probe - utility for probing a scsi device
- scsi_reset - reset a SCSI bus or target
- scsi_reset_notify - notify target driver of bus resets
- scsi_slave - utility for SCSI target drivers to establish the presence of a target
- scsi_sync_pkt - synchronize CPU and I/O views of memory
- scsi_transport - request by a SCSI target driver to start a command
- scsi_unprobe, scsi_unslave - free resources allocated during initial probing
- semaphore, sema_init, sema_destroy, sema_p, sema_p_sig, sema_v, sema_tryp - semaphore functions
- sprintf - format characters in memory
- stoi, numtos - convert between an integer and a decimal string
- strchr - find a character in a string
- strcmp, strncmp - compare two null terminated strings.
- strcpy, strncpy - copy a string from one location to another.
- strlen - determine the number of non-null bytes in a string
- strlog - submit messages to the log driver
- strqget - get information about a queue or band of the queue
- strqset - change information about a queue or band of the queue
- swab - swap bytes in 16-bit halfwords
- testb - check for an available buffer
- timeout - execute a function after a specified length of time
- uiomove - copy kernel data using uio structure
- unbufcall - cancel a pending bufcall request
- unlinkb - remove a message block from the head of a message
- untimeout - cancel previous timeout function call
- ureadc - add character to a uio structure
- uwritec - remove a character from a uio structure
- va_arg, va_start, va_end - handle variable argument list
- vsprintf - format characters in memory
|
|
Created by unroff & hp-tools.
© by Hans-Peter Bischof. All Rights Reserved (1997).
Last modified 21/April/97