mem_openbsd_amd64.go 2.8 KB

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