Index Index for
Section 9r
Index Alphabetical
listing for B
Bottom of page Bottom of
page

biodone(9r)

NAME

biodone - General: Indicates that block I/O is complete

SYNOPSIS

void biodone( struct buf *bp );

ARGUMENTS

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.

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)

Index Index for
Section 9r
Index Alphabetical
listing for B
Top of page Top of
page