/src/usr.bin/systat/ |
swap.c | 81 static int hlen, nswap, rnswap; variable in typeref:typename:int 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...] |
swap.c | 81 static int hlen, nswap, rnswap; variable in typeref:typename:int 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 | 65 int rnswap, nswap = swapctl(SWAP_NSWAP, 0, 0), i; local in function:list_swap 68 if (nswap < 1) { 73 fsep = sep = (struct swapent *)malloc(nswap * sizeof(*sep)); 76 rnswap = swapctl(SWAP_STATS, (void *)sep, nswap); 79 if (nswap != rnswap) 81 rnswap, nswap);
|
swaplist.c | 65 int rnswap, nswap = swapctl(SWAP_NSWAP, 0, 0), i; local in function:list_swap 68 if (nswap < 1) { 73 fsep = sep = (struct swapent *)malloc(nswap * sizeof(*sep)); 76 rnswap = swapctl(SWAP_STATS, (void *)sep, nswap); 79 if (nswap != rnswap) 81 rnswap, nswap);
|
/src/sys/ufs/ufs/ |
ufs_vnops.c | 1571 int nswap = UFS_MPNEEDSWAP(ump); local in function:ufs_readdir 1573 int needswap = ump->um_maxsymlinklen <= 0 && nswap == 0; 1575 int needswap = ump->um_maxsymlinklen <= 0 && nswap != 0; 1748 rawdp->d_reclen = ufs_rw16(rawdp->d_reclen, nswap); 1785 dirent->d_fileno = ufs_rw32(rawdp->d_ino, nswap);
|
ufs_vnops.c | 1571 int nswap = UFS_MPNEEDSWAP(ump); local in function:ufs_readdir 1573 int needswap = ump->um_maxsymlinklen <= 0 && nswap == 0; 1575 int needswap = ump->um_maxsymlinklen <= 0 && nswap != 0; 1748 rawdp->d_reclen = ufs_rw16(rawdp->d_reclen, nswap); 1785 dirent->d_fileno = ufs_rw32(rawdp->d_ino, nswap);
|
/src/usr.sbin/sysinst/ |
disks.c | 2159 int nswap; local in function:check_swap 2163 nswap = swapctl(SWAP_NSWAP, 0, 0); 2164 if (nswap <= 0) 2167 swap = malloc(nswap * sizeof *swap); 2171 nswap = swapctl(SWAP_STATS, swap, nswap); 2172 if (nswap < 0) 2176 while (--nswap >= 0) { 2178 cp = swap[nswap].se_path;
|
disks.c | 2159 int nswap; local in function:check_swap 2163 nswap = swapctl(SWAP_NSWAP, 0, 0); 2164 if (nswap <= 0) 2167 swap = malloc(nswap * sizeof *swap); 2171 nswap = swapctl(SWAP_STATS, swap, nswap); 2172 if (nswap < 0) 2176 while (--nswap >= 0) { 2178 cp = swap[nswap].se_path;
|