FREERBUF(9F) Kernel Functions for Drivers FREERBUF(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
The
freerbuf() function 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
The
freerbuf() function can be called from user, interrupt, or kernel
context.
SEE ALSO
getrbuf(9F),
kmem_alloc(9F),
kmem_free(9F),
kmem_zalloc(9F) January 16, 2006 FREERBUF(9F)