432 lines
13 KiB
Groff
432 lines
13 KiB
Groff
|
.\"
|
|||
|
.\" Copyright (c) 1998, 1999 Kenneth D. Merry.
|
|||
|
.\" All rights reserved.
|
|||
|
.\"
|
|||
|
.\" Redistribution and use in source and binary forms, with or without
|
|||
|
.\" modification, are permitted provided that the following conditions
|
|||
|
.\" are met:
|
|||
|
.\" 1. Redistributions of source code must retain the above copyright
|
|||
|
.\" notice, this list of conditions and the following disclaimer.
|
|||
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|||
|
.\" notice, this list of conditions and the following disclaimer in the
|
|||
|
.\" documentation and/or other materials provided with the distribution.
|
|||
|
.\" 3. The name of the author may not be used to endorse or promote products
|
|||
|
.\" derived from this software without specific prior written permission.
|
|||
|
.\"
|
|||
|
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
|||
|
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|||
|
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|||
|
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
|||
|
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|||
|
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|||
|
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|||
|
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|||
|
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|||
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|||
|
.\" SUCH DAMAGE.
|
|||
|
.\"
|
|||
|
.\" %FreeBSD: src/share/man/man9/devstat.9,v 1.10.2.5 2001/12/17 11:30:18 ru Exp %
|
|||
|
.\"
|
|||
|
.\" $FreeBSD$
|
|||
|
.Dd May 22, 1998
|
|||
|
.Dt DEVSTAT 9
|
|||
|
.Os
|
|||
|
.Sh ̾<EFBFBD><EFBFBD>
|
|||
|
.Nm devstat ,
|
|||
|
.Nm devstat_add_entry ,
|
|||
|
.Nm devstat_end_transaction ,
|
|||
|
.Nm devstat_end_transaction_buf ,
|
|||
|
.Nm devstat_remove_entry ,
|
|||
|
.Nm devstat_start_transaction
|
|||
|
.Nd <EFBFBD>ǥХ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>פε<EFBFBD>Ͽ<EFBFBD>Τ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Υ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͥ륤<EFBFBD>ե<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
.Sh <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
.In sys/devicestat.h
|
|||
|
.Ft void
|
|||
|
.Fo devstat_add_entry
|
|||
|
.Fa "struct devstat *ds"
|
|||
|
.Fa "const char *dev_name"
|
|||
|
.Fa "int unit_number"
|
|||
|
.Fa "u_int32_t block_size"
|
|||
|
.Fa "devstat_support_flags flags"
|
|||
|
.Fa "devstat_type_flags device_type"
|
|||
|
.Fa "devstat_priority priority"
|
|||
|
.Fc
|
|||
|
.Ft void
|
|||
|
.Fn devstat_remove_entry "struct devstat *ds"
|
|||
|
.Ft void
|
|||
|
.Fn devstat_start_transaction "struct devstat *ds"
|
|||
|
.Ft void
|
|||
|
.Fo devstat_end_transaction
|
|||
|
.Fa "struct devstat *ds"
|
|||
|
.Fa "u_int32_t bytes"
|
|||
|
.Fa "devstat_tag_type tag_type"
|
|||
|
.Fa "devstat_trans_flags flags"
|
|||
|
.Fc
|
|||
|
.Ft void
|
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BFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ߤ<EFBFBD><EFBFBD>ä<EFBFBD><EFBFBD>Τ<EFBFBD><EFBFBD><EFBFBD>
|
|||
|
<EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD>ž<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>줿<EFBFBD>ǡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʤ<EFBFBD><EFBFBD>ä<EFBFBD><EFBFBD>Τ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ե饰<EFBFBD>Ǥ<EFBFBD><EFBFBD><EFBFBD>
|
|||
|
.El
|
|||
|
.Pp
|
|||
|
.Fn devstat_end_transaction_buf
|
|||
|
<EFBFBD>ϡ<EFBFBD>biodone() <20>ν<EFBFBD><CEBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>äƤ<C3A4><C6A4><EFBFBD>
|
|||
|
.Va "struct buf"
|
|||
|
<EFBFBD><EFBFBD><EFBFBD>餹<EFBFBD>٤Ƥξ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ф<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ρ<EFBFBD>
|
|||
|
.Fn devstat_end_transaction
|
|||
|
<EFBFBD>Τ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Υ<EFBFBD><EFBFBD>åѤǤ<EFBFBD><EFBFBD><EFBFBD>
|
|||
|
.Pp
|
|||
|
.Va devstat
|
|||
|
<EFBFBD><EFBFBD>¤<EFBFBD>Τϰʲ<EFBFBD><EFBFBD>Υե<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɤǹ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD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><EFBFBD>
|
|||
|
ͥ<EFBFBD><EFBFBD><EFBFBD>٤ϰʲ<EFBFBD><EFBFBD>ΤȤ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ǥ<EFBFBD><EFBFBD><EFBFBD>
|
|||
|
.Bd -literal -offset indent
|
|||
|
typedef enum {
|
|||
|
DEVSTAT_PRIORITY_MIN = 0x000,
|
|||
|
DEVSTAT_PRIORITY_OTHER = 0x020,
|
|||
|
DEVSTAT_PRIORITY_PASS = 0x030,
|
|||
|
DEVSTAT_PRIORITY_FD = 0x040,
|
|||
|
DEVSTAT_PRIORITY_WFD = 0x050,
|
|||
|
DEVSTAT_PRIORITY_TAPE = 0x060,
|
|||
|
DEVSTAT_PRIORITY_CD = 0x090,
|
|||
|
DEVSTAT_PRIORITY_DISK = 0x110,
|
|||
|
DEVSTAT_PRIORITY_ARRAY = 0x120,
|
|||
|
DEVSTAT_PRIORITY_MAX = 0xfff
|
|||
|
} devstat_priority;
|
|||
|
.Ed
|
|||
|
.Pp
|
|||
|
<EFBFBD>ġ<EFBFBD><EFBFBD>ΥǥХ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϲ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݡ<EFBFBD><EFBFBD>Ȥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƥ<EFBFBD><EFBFBD>뤫<EFBFBD><EFBFBD><EFBFBD>ݡ<EFBFBD><EFBFBD>Ȥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƥ<EFBFBD><EFBFBD>ʤ<EFBFBD><EFBFBD>Τ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˴<EFBFBD>Ϣ<EFBFBD>դ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>줿<EFBFBD>ե饰<EFBFBD><EFBFBD><EFBFBD><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|
.Fn devstat_end_transaction
|
|||
|
<EFBFBD><EFBFBD><EFBFBD>Ϥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
.Va flags
|
|||
|
<EFBFBD><EFBFBD>ɽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƥ<EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD>
|
|||
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>η<EFBFBD><EFBFBD>ϰʲ<EFBFBD><EFBFBD>ΤȤ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ǥ<EFBFBD><EFBFBD><EFBFBD>
|
|||
|
.Bd -literal -offset indent
|
|||
|
typedef enum {
|
|||
|
DEVSTAT_NO_DATA = 0x00,
|
|||
|
DEVSTAT_READ = 0x01,
|
|||
|
DEVSTAT_WRITE = 0x02,
|
|||
|
DEVSTAT_FREE = 0x03
|
|||
|
} devstat_trans_flags;
|
|||
|
.Ed
|
|||
|
.Pp
|
|||
|
.Fn devstat_end_transaction
|
|||
|
<EFBFBD><EFBFBD>
|
|||
|
.Va tag_type
|
|||
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ˤϡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 4 <20>Ĥ<EFBFBD><C4A4>ͤ<EFBFBD><CDA4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ǽ<EFBFBD>Ǥ<EFBFBD>:
|
|||
|
.Bl -tag -width DEVSTAT_TAG_ORDERED
|
|||
|
.It DEVSTAT_TAG_SIMPLE
|
|||
|
<EFBFBD><EFBFBD><EFBFBD>ν<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ñ<EFBFBD><EFBFBD><EFBFBD>ʥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>äƤ<EFBFBD><EFBFB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