brelse - General: Deallocates a buf structure
void brelse(
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
structure.
None
Routines: getnewbuf(9r)
Data Structures: buf(9s)
brelse(9r)
[ Back ] |