brelse - General: Deallocates a buf structure
register struct buf *bp );
Specifies a pointer to a buf structure. This structure
contains information such as the binary status flags, the
major/minor device numbers, and the address of the associated
buffer. This buffer is always a special buffer header
owned exclusively by the device for handling I/O requests.
The brelse routine deallocates a buf structure that was
previously allocated by the getnewbuf routine. The buf
structure contains information describing an I/O request.
Device drivers call the brelse routine after the I/O
request has completed to free the memory used by the buf
Data Structures: buf(9s)
[ Back ]