Lines Matching refs:kvnsw
90 static int kvnsw, okvnsw;
100 if ((kvnsw = kvm_getswapinfo(kd, kvmsw, NSWAP, 0)) < 0) {
115 okvnsw = kvnsw;
116 if ((kvnsw = kvm_getswapinfo(kd, kvmsw, NSWAP, 0)) < 0) {
141 if (kvnsw <= 0) {
150 for (i = 0; i <= kvnsw; ++i) {
151 name = i == kvnsw ? "Total" : kvmsw[i].ksw_devname;
162 if (kvnsw != okvnsw)
167 if (kvnsw <= 0)
170 for (i = 0; i <= kvnsw; ++i) {