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