1// Code generated by cmd/cgo -godefs; DO NOT EDIT. 2// cgo -godefs types_openbsd.go 3 4package disk 5 6const ( 7 devstat_NO_DATA = 0x00 8 devstat_READ = 0x01 9 devstat_WRITE = 0x02 10 devstat_FREE = 0x03 11) 12 13const ( 14 sizeOfDiskstats = 0x70 15) 16 17type Diskstats struct { 18 Name [16]int8 19 Busy int32 20 Pad_cgo_0 [4]byte 21 Rxfer uint64 22 Wxfer uint64 23 Seek uint64 24 Rbytes uint64 25 Wbytes uint64 26 Attachtime Timeval 27 Timestamp Timeval 28 Time Timeval 29} 30type Timeval struct { 31 Sec int64 32 Usec int64 33} 34 35type Diskstat struct{} 36type bintime struct{} 37