freerbuf(D3)
freerbuf - free a raw buffer header
As shipped in IRIX 6.5.7. Unchanged since IRIX 6.5.
NAME freerbuf - 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. DESCRIPTION freerbuf frees a raw buffer header previously allocated by getrbuf(D3). Return Values None USAGE freerbuf 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. REFERENCES biodone(D3), biowait(D3), buf(D4), getrbuf(D3).