1// Created by cgo -godefs - DO NOT EDIT 2// cgo -godefs types_openbsd.go 3 4package mem 5 6const ( 7 CTLVm = 2 8 CTLVfs = 10 9 VmUvmexp = 4 10 VfsGeneric = 0 11 VfsBcacheStat = 3 12) 13 14const ( 15 sizeOfUvmexp = 0x154 16 sizeOfBcachestats = 0x78 17) 18 19type Uvmexp struct { 20 Pagesize int32 21 Pagemask int32 22 Pageshift int32 23 Npages int32 24 Free int32 25 Active int32 26 Inactive int32 27 Paging int32 28 Wired int32 29 Zeropages int32 30 Reserve_pagedaemon int32 31 Reserve_kernel int32 32 Anonpages int32 33 Vnodepages int32 34 Vtextpages int32 35 Freemin int32 36 Freetarg int32 37 Inactarg int32 38 Wiredmax int32 39 Anonmin int32 40 Vtextmin int32 41 Vnodemin int32 42 Anonminpct int32 43 Vtextminpct int32 44 Vnodeminpct int32 45 Nswapdev int32 46 Swpages int32 47 Swpginuse int32 48 Swpgonly int32 49 Nswget int32 50 Nanon int32 51 Nanonneeded int32 52 Nfreeanon int32 53 Faults int32 54 Traps int32 55 Intrs int32 56 Swtch int32 57 Softs int32 58 Syscalls int32 59 Pageins int32 60 Obsolete_swapins int32 61 Obsolete_swapouts int32 62 Pgswapin int32 63 Pgswapout int32 64 Forks int32 65 Forks_ppwait int32 66 Forks_sharevm int32 67 Pga_zerohit int32 68 Pga_zeromiss int32 69 Zeroaborts int32 70 Fltnoram int32 71 Fltnoanon int32 72 Fltpgwait int32 73 Fltpgrele int32 74 Fltrelck int32 75 Fltrelckok int32 76 Fltanget int32 77 Fltanretry int32 78 Fltamcopy int32 79 Fltnamap int32 80 Fltnomap int32 81 Fltlget int32 82 Fltget int32 83 Flt_anon int32 84 Flt_acow int32 85 Flt_obj int32 86 Flt_prcopy int32 87 Flt_przero int32 88 Pdwoke int32 89 Pdrevs int32 90 Pdswout int32 91 Pdfreed int32 92 Pdscans int32 93 Pdanscan int32 94 Pdobscan int32 95 Pdreact int32 96 Pdbusy int32 97 Pdpageouts int32 98 Pdpending int32 99 Pddeact int32 100 Pdreanon int32 101 Pdrevnode int32 102 Pdrevtext int32 103 Fpswtch int32 104 Kmapent int32 105} 106type Bcachestats struct { 107 Numbufs int64 108 Numbufpages int64 109 Numdirtypages int64 110 Numcleanpages int64 111 Pendingwrites int64 112 Pendingreads int64 113 Numwrites int64 114 Numreads int64 115 Cachehits int64 116 Busymapped int64 117 Dmapages int64 118 Highpages int64 119 Delwribufs int64 120 Kvaslots int64 121 Avail int64 122} 123