Searched refs:rnswap (Results 1 - 3 of 3) sorted by relevance

/openbsd-current/sbin/swapctl/
H A Dswaplist.c53 int rnswap, nswap, i; local
62 rnswap = swapctl(SWAP_STATS, (void *)sep, nswap);
63 if (rnswap == -1)
65 if (nswap != rnswap)
67 rnswap, nswap);
78 for (i = rnswap; i-- > 0; sep++)
87 for (; rnswap-- > 0; sep++) {
/openbsd-current/usr.bin/systat/
H A Dswap.c51 static int hlen, nswap, rnswap; variable
122 rnswap = swapctl(SWAP_STATS, (void *)swap_devices, nswap);
123 if (rnswap == -1 || nswap != rnswap)
/openbsd-current/usr.bin/top/
H A Dmachine.c823 int nswap, rnswap, i; local
833 rnswap = swapctl(SWAP_STATS, swdev, nswap);
834 if (rnswap == -1) {
839 /* if rnswap != nswap, then what? */

Completed in 120 milliseconds