Home
last modified time | relevance | path

Searched refs:nswapmap (Results 1 – 13 of 13) sorted by relevance

/original-bsd/usr.bin/systat/
H A Dswap.c53 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 Dmap.h51 int nswapmap; variable
/original-bsd/old/analyze/
H A Danalyze.c55 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 Dpstat.c892 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 Dvm_swap.c389 vsbase + ctod(CLSIZE), "swap", nswapmap);
/original-bsd/sys/tahoe/tahoe/
H A Dmachdep.c129 valloc(swapmap, struct map, nswapmap = nproc * 2);
/original-bsd/sys/vax/vax/
H A Dmachdep.c142 valloc(swapmap, struct map, nswapmap = nproc * 2);
/original-bsd/sys/sparc/sparc/
H A Dmachdep.c223 valloc(swapmap, struct map, nswapmap = maxproc * 2);
/original-bsd/sys/news3400/news3400/
H A Dmachdep.c212 valloc(swapmap, struct map, nswapmap = maxproc * 2);
/original-bsd/sys/i386/i386/
H A Dmachdep.c137 valloc(swapmap, struct map, nswapmap = maxproc * 2);
/original-bsd/sys/luna68k/luna68k/
H A Dmachdep.c173 valloc(swapmap, struct map, nswapmap = maxproc * 2); in cpu_startup()
/original-bsd/sys/hp300/hp300/
H A Dmachdep.c203 valloc(swapmap, struct map, nswapmap = maxproc * 2); in cpu_startup()
/original-bsd/sys/pmax/pmax/
H A Dmachdep.c582 valloc(swapmap, struct map, nswapmap = maxproc * 2);