Home
last modified time | relevance | path

Searched refs:swap_total (Results 1 – 25 of 27) sorted by relevance

12

/freebsd/tools/test/stress2/misc/
H A Doom.sh41 [ `sysctl -n vm.swap_total` -gt 0 ] && { swapoff -a; off=1; }
H A Dsort.sh34 [ `sysctl -n vm.swap_total` -eq 0 ] && exit 0
H A Doom2.sh35 [ `sysctl -n vm.swap_total` -gt 0 ] && { swapoff -a; off=1; }
H A Dswap6.sh35 [ `sysctl -n vm.swap_total` -eq 0 ] && exit 0
H A Dsort2.sh32 [ `sysctl -n vm.swap_total` -eq 0 ] && exit 0
H A Dswapoff.sh38 [ `sysctl -n vm.swap_total` -eq 0 ] && exit 0
H A Dgjournal4.sh32 [ `sysctl -n vm.swap_total` -eq 0 ] && exit 0
H A Dgnop3.sh40 [ $((`sysctl -n vm.swap_total` / 1024 / 1024 / 1024)) -lt 9 ] && exit 0
H A Dbuildworld4.sh54 [ `sysctl -n vm.swap_total` -gt 0 ] && p=$((p * 4))
H A Dswapoff4.sh46 [ `sysctl -n vm.swap_total` -gt 0 ] && { swapoff -a > /dev/null; off=1; }
H A Dzfs8.sh38 [ `sysctl -n vm.swap_total` -eq 0 ] && exit 0
H A Dgnop4.sh42 [ $((`sysctl -n vm.swap_total` / 1024 / 1024 / 1024)) -lt $gigs ] && exit 0
H A Dvm_map.sh45 [ `sysctl -n vm.swap_total` -eq 0 ] &&
H A Dswap4.sh46 [ `sysctl -n vm.swap_total` -gt 0 ] && { swapoff -a; off=1; }
H A Dswap.sh43 if [ `sysctl -n vm.swap_total` -gt 0 ]; then
H A Dcrossmp11.sh49 [ `sysctl -n vm.swap_total` -eq 0 ] && usermem=$((usermem/100*80))
H A Dcrossmp3.sh46 [ `sysctl -n vm.swap_total` -eq 0 ] && usermem=$((usermem / 2))
H A Dradix.sh36 [ `sysctl vm.swap_total | sed 's/.* //'` -eq 0 ] && exit 0
H A Dswap2.sh57 swap=`sysctl -n vm.swap_total`
H A Dmincore.sh46 [ `sysctl -n vm.swap_total` -eq 0 ] && exit 0
H A Dmlockall2.sh40 [ `sysctl -n vm.swap_total` -eq 0 ] && mem=$((mem / 100 * 60))
H A Dswapoff3.sh104 [ `sysctl -n vm.swap_total` -gt 0 ] && { swapoff -a > /dev/null; off=1; }
H A Dmmap40.sh37 [ `sysctl -n vm.swap_total` -eq 0 ] && exit 0
H A Dlaundry.sh43 swaptotal=`sysctl -n vm.swap_total`
/freebsd/sys/vm/
H A Dswap_pager.c164 static u_long swap_total; variable
173 SYSCTL_PROC(_vm, OID_AUTO, swap_total, CTLTYPE_U64 | CTLFLAG_RD | CTLFLAG_MPSAFE,
174 &swap_total, 0, sysctl_page_shift, "QU",
290 s = swap_total; in swap_reserve_by_cred()
2725 if (swap_total > swap_maxpages / 2) { in swapon_check_swzone()
2728 swap_total, swap_maxpages / 2); in swapon_check_swzone()
2785 swap_total += nblks; in swaponsomething()
2897 swap_total -= nblks; in swapoff_one()
2956 *total = swap_total; in swap_pager_status()
2957 *used = swap_total - swap_pager_avail - in swap_pager_status()

12