Deleted Added
full compact
devstat.9 (211936) devstat.9 (231564)
1.\"
2.\" Copyright (c) 1998, 1999 Kenneth D. Merry.
3.\" All rights reserved.
4.\"
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\" 1. Redistributions of source code must retain the above copyright

--- 11 unchanged lines hidden (view full) ---

20.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26.\" SUCH DAMAGE.
27.\"
1.\"
2.\" Copyright (c) 1998, 1999 Kenneth D. Merry.
3.\" All rights reserved.
4.\"
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\" 1. Redistributions of source code must retain the above copyright

--- 11 unchanged lines hidden (view full) ---

20.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26.\" SUCH DAMAGE.
27.\"
28.\" $FreeBSD: head/share/man/man9/devstat.9 211936 2010-08-28 16:32:01Z brucec $
28.\" $FreeBSD: head/share/man/man9/devstat.9 231564 2012-02-12 18:29:56Z ed $
29.\"
30.Dd May 22, 1998
31.Dt DEVSTAT 9
32.Os
33.Sh NAME
34.Nm devstat ,
35.Nm devstat_add_entry ,
36.Nm devstat_end_transaction ,
37.Nm devstat_end_transaction_bio ,
38.Nm devstat_remove_entry ,
39.Nm devstat_start_transaction
40.Nd kernel interface for keeping device statistics
41.Sh SYNOPSIS
42.In sys/devicestat.h
43.Ft void
44.Fo devstat_add_entry
45.Fa "struct devstat *ds"
46.Fa "const char *dev_name"
47.Fa "int unit_number"
29.\"
30.Dd May 22, 1998
31.Dt DEVSTAT 9
32.Os
33.Sh NAME
34.Nm devstat ,
35.Nm devstat_add_entry ,
36.Nm devstat_end_transaction ,
37.Nm devstat_end_transaction_bio ,
38.Nm devstat_remove_entry ,
39.Nm devstat_start_transaction
40.Nd kernel interface for keeping device statistics
41.Sh SYNOPSIS
42.In sys/devicestat.h
43.Ft void
44.Fo devstat_add_entry
45.Fa "struct devstat *ds"
46.Fa "const char *dev_name"
47.Fa "int unit_number"
48.Fa "u_int32_t block_size"
48.Fa "uint32_t block_size"
49.Fa "devstat_support_flags flags"
50.Fa "devstat_type_flags device_type"
51.Fa "devstat_priority priority"
52.Fc
53.Ft void
54.Fn devstat_remove_entry "struct devstat *ds"
55.Ft void
56.Fn devstat_start_transaction "struct devstat *ds"
57.Ft void
58.Fo devstat_end_transaction
59.Fa "struct devstat *ds"
49.Fa "devstat_support_flags flags"
50.Fa "devstat_type_flags device_type"
51.Fa "devstat_priority priority"
52.Fc
53.Ft void
54.Fn devstat_remove_entry "struct devstat *ds"
55.Ft void
56.Fn devstat_start_transaction "struct devstat *ds"
57.Ft void
58.Fo devstat_end_transaction
59.Fa "struct devstat *ds"
60.Fa "u_int32_t bytes"
60.Fa "uint32_t bytes"
61.Fa "devstat_tag_type tag_type"
62.Fa "devstat_trans_flags flags"
63.Fc
64.Ft void
65.Fo devstat_end_transaction_bio
66.Fa "struct devstat *ds"
67.Fa "struct bio *bp"
68.Fc

--- 387 unchanged lines hidden ---
61.Fa "devstat_tag_type tag_type"
62.Fa "devstat_trans_flags flags"
63.Fc
64.Ft void
65.Fo devstat_end_transaction_bio
66.Fa "struct devstat *ds"
67.Fa "struct bio *bp"
68.Fc

--- 387 unchanged lines hidden ---