brelse(D3)
brelse - return a buffer to the system's free list
As shipped in IRIX 6.5.5. Unchanged since IRIX 6.5.
NAME brelse - return a buffer to the system's free list SYNOPSIS #include <sys/types.h> #include <sys/buf.h> #include <sys/ddi.h> void brelse(struct buf_t *bp); Arguments bp Pointer to the buffer header structure. DESCRIPTION The brelse function returns the buffer specified by bp to the system's buffer free list. If there were any processes waiting for this specific buffer to become free, or for any buffer to become available on the free list, one is awakened. Return Values None USAGE The buffer specified by bp must have been previously allocated by a call to geteblk(D3) or ngeteblk(D3). brelse may not be called to release a buffer which has been allocated by any other means. 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), clrbuf(D3), geteblk(D3), ngeteblk(D3)