SCSI_FREE_CONSISTENT_BUF(9F) Kernel Functions for Drivers
scsi_free_consistent_buf - free a previously allocated SCSI DMA I/O
#include <sys/scsi/scsi.h> void scsi_free_consistent_buf
(struct buf *bp
Solaris DDI specific (Solaris DDI).
Pointer to the buf(9S)
function frees a buffer header and
consistent data buffer that was previously allocated using scsi_alloc_consistent_buf(9F)
function can be called from user,
interrupt, or kernel context.
SEE ALSO freerbuf(9F)
, buf(9S) Writing Device Drivers
function will call freerbuf(9F)
that was allocated before or during the call to scsi_alloc_consistent_buf(9F)
If consistent memory is bound to a scsi_pkt(9S)
, the pkt should be
destroyed before freeing the consistent memory.
January 16, 2006 SCSI_FREE_CONSISTENT_BUF(9F)