MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Kernel Functions for Drivers         scsifreeconsistentbuf(9F)



NAME
     scsifreeconsistentbuf - free a previously allocated  SCSI
     DMA I/O buffer

SYNOPSIS
     #include 



     void scsifreeconsistentbuf(struct buf *bp);


INTERFACE LEVEL
     Solaris DI specific (Solaris DI).

PARAMETERS
     bp    Pointer to the buf(9S) structure.


DESCRIPTION
     The  scsifreeconsistentbuf()  function  frees  a   buffer
     header  and consistent data buffer that was previously allo-
     cated using scsiallocconsistentbuf(9F).

CONTEXT
     The scsifreeconsistentbuf() function can be  called  from
     user, interrupt, or kernel context.

SEE ALSO
     freerbuf(9F), scsiallocconsistentbuf(9F), buf(9S)


     Writing Device Drivers

WARNING
     The   scsifreeconsistentbuf()    function    will    call
     freerbuf(9F)  to  free the buf(9S) that was allocated before
     or during the call to scsiallocconsistentbuf(9F).


     If consistent memory is bound to  a  scsipkt(9S),  the  pkt
     should be destroyed before freeing the consistent memory.













SunOS 5.11          Last change: 16 Jan 2006                    1



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™