Searched refs:swap_maxpages (Results 1 - 2 of 2) sorted by relevance

/freebsd-12-stable/usr.bin/top/
H A Dmachine.c1530 static unsigned long swap_maxpages = 0; local
1543 if (swap_maxpages == 0)
1544 GETSYSCTL("vm.swap_maxpages", swap_maxpages);
1548 if ( swapary[0].ksw_total > swap_maxpages )
1549 swapary[0].ksw_total = swap_maxpages;
/freebsd-12-stable/sys/vm/
H A Dswap_pager.c172 static unsigned long swap_maxpages; variable
173 SYSCTL_ULONG(_vm, OID_AUTO, swap_maxpages, CTLFLAG_RD, &swap_maxpages, 0,
585 * calculating swap_maxpages.
593 swap_maxpages = n * SWAP_META_PAGES;
2273 if (swap_total > swap_maxpages / 2) {
2276 swap_total, swap_maxpages / 2);

Completed in 182 milliseconds