freerbuf(D3)freerbuf(D3)NAMEfreerbuf - free a raw buffer header
SYNOPSIS
#include <sys/buf.h>
#include <sys/ddi.h>
void freerbuf(buf_t *bp);
Arguments
bp Pointer to a previously allocated buffer header structure.
DESCRIPTIONfreerbuf frees a raw buffer header previously allocated by getrbuf(D3).
Return Values
None
USAGEfreerbuf may not be used on a buffer header obtained through an interface
other than getrbuf.
freerbuf is typically called from a driver's biodone (D3) routine, as
specified in the b_iodone field of the buf(D4) structure.
Level
Base or Interrupt.
Synchronization Constraints
Does not sleep.
Driver-defined basic locks, read/write locks, and sleep locks may be held
across calls to this function.
REFERENCESbiodone(D3), biowait(D3), buf(D4), getrbuf(D3).
Page 1