Sun Microsystems, Inc.
spacerspacer
spacer   www.sun.com docs.sun.com | | |  
spacer
black dot
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
Kernel Functions for Driversfreerbuf(9F)


NAME

 freerbuf - free a raw buffer header

SYNOPSIS

 
#include <sys/buf.h>
#include <sys/ddi.h>
void freerbuf(struct buf *bp);

INTERFACE LEVEL

 

Architecture independent level 1 (DDI/DKI).

PARAMETERS

 
bp
Pointer to a previously allocated buffer header structure.

DESCRIPTION

 

freerbuf() frees a raw buffer header previously allocated by getrbuf(9F). This function does not sleep and so may be called from an interrupt routine.

CONTEXT

 

freerbuf() can be called from user or interrupt context.

SEE ALSO

 

getrbuf(9F), kmem_alloc(9F), kmem_free(9F), kmem_zalloc(9F)


SunOS 5.9Go To TopLast Changed 11 Apr 1991

 
      
      
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.