Searched refs:nswap (Results 1 - 5 of 5) sorted by relevance
/netbsd-6-1-5-RELEASE/usr.bin/systat/ |
H A D | swap.c | 81 static int hlen, nswap, rnswap; variable 117 nswap = swapctl(SWAP_NSWAP, 0, 0); 118 if (nswap < 0) 120 if (nswap == 0) 122 update_label = (nswap != rnswap); 126 if ((swap_devices = malloc(nswap * sizeof(*swap_devices))) == NULL) { 131 if ((rnswap = swapctl(SWAP_STATS, (void *)swap_devices, nswap)) != nswap) { 151 if (nswap == 0) { 170 for (sep = swap_devices, i = 0; i < nswap; [all...] |
/netbsd-6-1-5-RELEASE/sbin/swapctl/ |
H A D | swaplist.c | 65 int rnswap, nswap = swapctl(SWAP_NSWAP, 0, 0), i; local 67 if (nswap < 1) { 72 fsep = sep = (struct swapent *)malloc(nswap * sizeof(*sep)); 75 rnswap = swapctl(SWAP_STATS, (void *)sep, nswap); 78 if (nswap != rnswap) 80 rnswap, nswap);
|
/netbsd-6-1-5-RELEASE/distrib/utils/sysinst/ |
H A D | disks.c | 1081 int nswap; local 1085 nswap = swapctl(SWAP_NSWAP, 0, 0); 1086 if (nswap <= 0) 1089 swap = malloc(nswap * sizeof *swap); 1093 nswap = swapctl(SWAP_STATS, swap, nswap); 1094 if (nswap < 0) 1098 while (--nswap >= 0) { 1100 cp = swap[nswap].se_path;
|
/netbsd-6-1-5-RELEASE/external/bsd/top/dist/machine/ |
H A D | m_netbsd.c | 455 int rnswap, nswap; local 501 nswap = swapctl(SWAP_NSWAP, 0, 0); 502 if (nswap < 1) 504 if (nswap > maxswap) { 507 swapp = sep = malloc(nswap * sizeof(*sep)); 510 maxswap = nswap; 513 rnswap = swapctl(SWAP_STATS, (void *)sep, nswap); 514 if (nswap != rnswap)
|
/netbsd-6-1-5-RELEASE/sys/ufs/ufs/ |
H A D | ufs_vnops.c | 2338 int nswap = UFS_MPNEEDSWAP(ump); local 2340 int needswap = ump->um_maxsymlinklen <= 0 && nswap == 0; 2342 int needswap = ump->um_maxsymlinklen <= 0 && nswap != 0; 2393 cdp->d_reclen = ufs_rw16(cdp->d_reclen, nswap); 2425 ndp->d_fileno = ufs_rw32(cdp->d_ino, nswap);
|
Completed in 86 milliseconds