Searched refs:nswapmap (Results 1 – 13 of 13) sorted by relevance
/original-bsd/usr.bin/systat/ |
H A D | swap.c | 53 static int nswap, nswdev, dmmax, nswapmap; variable 110 KGET(VM_NSWAPMAP, nswapmap); in initswap() 114 (mp = malloc(nswapmap * sizeof(*mp))) == NULL) { in initswap() 128 s = nswapmap * sizeof(*mp); in fetchswap() 134 if (nswapmap != swapmap->m_limit - (struct mapent *)kswapmap) in fetchswap()
|
/original-bsd/sys/sys/ |
H A D | map.h | 51 int nswapmap; variable
|
/original-bsd/old/analyze/ |
H A D | analyze.c | 55 int nswapmap; variable 278 read(fcore, (char *)&nswapmap, sizeof nswapmap); 279 nswapmap--; 280 printf("%d swapmap entries\n", nswapmap); 281 swapmap = (struct mapent *)calloc(nswapmap, sizeof (struct mapent)); 282 dblks = (struct dblks *)calloc(2 * nswapmap, sizeof (struct dblks)); 284 if (read(fcore, (char *)swapmap, nswapmap * sizeof (struct mapent)) 285 != nswapmap * sizeof (struct mapent)) { 451 if (++ndblks > 2*nswapmap) { in duse()
|
/original-bsd/usr.sbin/pstat/ |
H A D | pstat.c | 892 int hlen, nswap, nswdev, dmmax, nswapmap, niswap, niswdev; in swapmode() local 902 KGET(VM_NSWAPMAP, nswapmap); in swapmode() 906 (mp = malloc(nswapmap * sizeof(*mp))) == NULL) in swapmode() 909 KGET2((long)kswapmap, mp, nswapmap * sizeof(*mp), "swapmap"); in swapmode() 922 if (nswapmap != swapmap->m_limit - (struct mapent *)kswapmap) in swapmode()
|
/original-bsd/sys/vm/ |
H A D | vm_swap.c | 389 vsbase + ctod(CLSIZE), "swap", nswapmap);
|
/original-bsd/sys/tahoe/tahoe/ |
H A D | machdep.c | 129 valloc(swapmap, struct map, nswapmap = nproc * 2);
|
/original-bsd/sys/vax/vax/ |
H A D | machdep.c | 142 valloc(swapmap, struct map, nswapmap = nproc * 2);
|
/original-bsd/sys/sparc/sparc/ |
H A D | machdep.c | 223 valloc(swapmap, struct map, nswapmap = maxproc * 2);
|
/original-bsd/sys/news3400/news3400/ |
H A D | machdep.c | 212 valloc(swapmap, struct map, nswapmap = maxproc * 2);
|
/original-bsd/sys/i386/i386/ |
H A D | machdep.c | 137 valloc(swapmap, struct map, nswapmap = maxproc * 2);
|
/original-bsd/sys/luna68k/luna68k/ |
H A D | machdep.c | 173 valloc(swapmap, struct map, nswapmap = maxproc * 2); in cpu_startup()
|
/original-bsd/sys/hp300/hp300/ |
H A D | machdep.c | 203 valloc(swapmap, struct map, nswapmap = maxproc * 2); in cpu_startup()
|
/original-bsd/sys/pmax/pmax/ |
H A D | machdep.c | 582 valloc(swapmap, struct map, nswapmap = maxproc * 2);
|