Lines Matching refs:nswap
51 static int hlen, nswap, rnswap;
94 if (swap_devices == NULL || nswap == 0)
97 num_disp = nswap;
98 if (nswap > 1)
108 nswap = swapctl(SWAP_NSWAP, 0, 0);
110 if (nswap < 0)
112 if (nswap == 0)
118 swap_devices = calloc(nswap, sizeof(*swap_devices));
122 rnswap = swapctl(SWAP_STATS, (void *)swap_devices, nswap);
123 if (rnswap == -1 || nswap != rnswap)
126 num_disp = nswap;
127 if (nswap > 1)
139 if (swap_devices == NULL || nswap == 0) {
146 if (n >= nswap)
208 for (sep = swap_devices, i = 0; i < nswap; i++, sep++) {