Home
last modified time | relevance | path

Searched refs:swap_maxpages (Results 1 – 3 of 3) sorted by relevance

/freebsd/libexec/rc/rc.d/
H A Dgrowfs87 vm_swap_max=$(($(sysctl -n vm.swap_maxpages) / 2 * $pagesize))
/freebsd/usr.bin/top/
H A Dmachine.c1588 static unsigned long swap_maxpages = 0; in swapmode() local
1601 if (swap_maxpages == 0) in swapmode()
1602 GETSYSCTL("vm.swap_maxpages", swap_maxpages); in swapmode()
1606 if ( swapary[0].ksw_total > swap_maxpages ) in swapmode()
1607 swapary[0].ksw_total = swap_maxpages; in swapmode()
/freebsd/sys/vm/
H A Dswap_pager.c184 static unsigned long swap_maxpages; variable
185 SYSCTL_ULONG(_vm, OID_AUTO, swap_maxpages, CTLFLAG_RD, &swap_maxpages, 0,
759 swap_maxpages = n * SWAP_META_PAGES; in swap_pager_swap_init()
2725 if (swap_total > swap_maxpages / 2) { in swapon_check_swzone()
2728 swap_total, swap_maxpages / 2); in swapon_check_swzone()