document devstat_end_transaction_buf()

This commit is contained in:
Poul-Henning Kamp 1999-09-18 21:31:19 +00:00
parent 2186cd9e8d
commit bd9e52dcc4
1 changed files with 12 additions and 0 deletions

View File

@ -56,6 +56,11 @@
.Fa "devstat_tag_type tag_type"
.Fa "devstat_trans_flags flags"
.Fc
.Ft void
.Fo devstat_end_transaction_buf
.Fa "struct devstat *ds"
.Fa "struct buf *bp"
.Fc
.Sh DESCRIPTION
The devstat subsystem is an interface for recording device
statistics, as its name implies. The idea is to keep reasonably detailed
@ -140,6 +145,13 @@ Transaction flags indicating whether the transaction was a read, write, or
whether no data was transferred.
.El
.Pp
.Fn devstat_end_transaction_buf
is a wrapper for
.Fn devstat_end_transaction
which pulls all the information from a
.Va "struct buf"
which is ready for biodone().
.Pp
The
.Va devstat
structure is composed of the following fields: