HomeSort by: relevance | last modified time | path
    Searched refs:nswap (Results 1 - 4 of 4) sorted by relevancy

  /src/usr.bin/systat/
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);
124 if (reallocarr(&swap_devices, nswap, sizeof(*swap_devices)) != 0) {
129 if ((rnswap = swapctl(SWAP_STATS, (void *)swap_devices, nswap)) != nswap) {
149 if (nswap == 0) {
168 for (sep = swap_devices, i = 0; i < nswap; i++, sep++)
    [all...]
  /src/sbin/swapctl/
swaplist.c 94 int rnswap, nswap = swapctl(SWAP_NSWAP, 0, 0), i; local
97 if (nswap < 1) {
118 nswap += 3;
120 fsep = sep = (struct swapent *)malloc(nswap * sizeof(*sep));
123 rnswap = swapctl(SWAP_STATS, (void *)sep, nswap);
  /src/usr.sbin/sysinst/
disks.c 2160 int nswap; local
2164 nswap = swapctl(SWAP_NSWAP, 0, 0);
2165 if (nswap <= 0)
2168 swap = malloc(nswap * sizeof *swap);
2172 nswap = swapctl(SWAP_STATS, swap, nswap);
2173 if (nswap < 0)
2177 while (--nswap >= 0) {
2179 cp = swap[nswap].se_path;
  /src/sys/ufs/ufs/
ufs_vnops.c 1574 int nswap = UFS_MPNEEDSWAP(ump); local
1576 int needswap = ump->um_maxsymlinklen <= 0 && nswap == 0;
1578 int needswap = ump->um_maxsymlinklen <= 0 && nswap != 0;
1751 rawdp->d_reclen = ufs_rw16(rawdp->d_reclen, nswap);
1788 dirent->d_fileno = ufs_rw32(rawdp->d_ino, nswap);

Completed in 16 milliseconds