1// Created by cgo -godefs - DO NOT EDIT
2// cgo -godefs types_freebsd.go
3
4package disk
5
6const (
7	sizeofPtr        = 0x4
8	sizeofShort      = 0x2
9	sizeofInt        = 0x4
10	sizeofLong       = 0x4
11	sizeofLongLong   = 0x8
12	sizeofLongDouble = 0x8
13
14	devstat_NO_DATA = 0x00
15	devstat_READ    = 0x01
16	devstat_WRITE   = 0x02
17	devstat_FREE    = 0x03
18)
19
20const (
21	sizeOfdevstat = 0xf0
22)
23
24type (
25	_C_short       int16
26	_C_int         int32
27	_C_long        int32
28	_C_long_long   int64
29	_C_long_double int64
30)
31
32type devstat struct {
33	Sequence0     uint32
34	Allocated     int32
35	Start_count   uint32
36	End_count     uint32
37	Busy_from     bintime
38	Dev_links     _Ctype_struct___0
39	Device_number uint32
40	Device_name   [16]int8
41	Unit_number   int32
42	Bytes         [4]uint64
43	Operations    [4]uint64
44	Duration      [4]bintime
45	Busy_time     bintime
46	Creation_time bintime
47	Block_size    uint32
48	Tag_types     [3]uint64
49	Flags         uint32
50	Device_type   uint32
51	Priority      uint32
52	Id            *byte
53	Sequence1     uint32
54}
55type bintime struct {
56	Sec  int32
57	Frac uint64
58}
59
60type _Ctype_struct___0 struct {
61	Empty uint32
62}
63