biodone(9r)biodone(9r)NAMEbiodone - 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 infor‐
mation such as the binary status flags, the major/minor device numbers,
and the address of the associated buffer. This buffer is always a spe‐
cial 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 operation.
CAUTIONS
The routine panics if the buf structure is NULL.
RETURN VALUES
None
SEE ALSO
Routines: iodone(9r)
Data Structures: buf(9s)biodone(9r)