biodone(9r) biodone(9r)
NAME
biodone - General: Indicates that block I/O is complete
SYNOPSIS
void biodone(
struct buf *bp );
ARGUMENTS
Specifies a pointer to a buf structure. This structure contains information such as the binary status flags, the major/minor device num-
bers, 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.
DESCRIPTION
The biodone routine is called after an I/O operation to mark the buf structure as completed. It sets the b_flags member to B_SWAP, B_UBC,
or B_ASYNC to indicate the type of I/O operation that has completed. Other members may be set as well, depending on the type of I/O opera-
tion.
CAUTIONS
The routine panics if the buf structure is NULL.
RETURN VALUES
None
SEE ALSO
Routines: iodone(9r)
Data Structures: buf(9s)
biodone(9r)