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