2016-11-22 06:18:52 +08:00
|
|
|
// Created by cgo -godefs - DO NOT EDIT
|
|
|
|
// cgo -godefs types_openbsd.go
|
|
|
|
|
|
|
|
package mem
|
|
|
|
|
|
|
|
const (
|
2017-02-02 07:05:29 +08:00
|
|
|
CTLVfs = 10
|
|
|
|
VfsGeneric = 0
|
|
|
|
VfsBcacheStat = 3
|
2016-11-22 06:18:52 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
const (
|
2017-02-02 07:05:29 +08:00
|
|
|
sizeOfBcachestats = 0x78
|
2016-11-22 06:18:52 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
type Bcachestats struct {
|
2017-02-02 07:05:29 +08:00
|
|
|
Numbufs int64
|
|
|
|
Numbufpages int64
|
|
|
|
Numdirtypages int64
|
|
|
|
Numcleanpages int64
|
|
|
|
Pendingwrites int64
|
|
|
|
Pendingreads int64
|
|
|
|
Numwrites int64
|
|
|
|
Numreads int64
|
|
|
|
Cachehits int64
|
|
|
|
Busymapped int64
|
|
|
|
Dmapages int64
|
|
|
|
Highpages int64
|
|
|
|
Delwribufs int64
|
|
|
|
Kvaslots int64
|
|
|
|
Avail int64
|
2016-11-22 06:18:52 +08:00
|
|
|
}
|