mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-22 17:24:23 +01:00
document devstat_end_transaction_buf()
This commit is contained in:
parent
2186cd9e8d
commit
bd9e52dcc4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=51377
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user