Home
last modified time | relevance | path

Searched refs:swapsize (Results 1 – 5 of 5) sorted by relevance

/src/tools/tools/nanobsd/rescue/Files/root/
H A DGPT4ZFS_Create.sh5 swapsize=$(expr 1 \* 1024 \* 2048 + 1024)
12 \tswap size: if no -s size in blocks is given, default is $swapsize blocks\n\
22 s) swapsize=${OPTARG};;
37 siz=$swapsize
41 off=$(expr $align + $swapsize)
/src/libexec/rc/rc.d/
H A Dgrowfs155 swapsize="$(kenv -q growfs_swap_size 2>/dev/null)"
156 case "$swapsize" in
171 *) swapsize="$growfs_swap_size"
183 echo "swapsize is $swapsize"
282 }' dev="$search" addswap="$addswap" swapsize="$swapsize" swaplim="$swaplim"
/src/usr.sbin/bsdinstall/partedit/
H A Dpart_wizard.c57 intmax_t swapsize; in swap_size() local
61 swapsize = MIN(available/20, 4*1024*1024*1024LL); in swap_size()
64 swapsize = MIN(swapsize, (intmax_t)swap_maxpages * getpagesize()); in swap_size()
66 return (swapsize); in swap_size()
364 intmax_t swapsize, available; in wizard_makeparts() local
407 swapsize = swap_size(available); in wizard_makeparts()
408 humanize_number(swapsizestr, 7, swapsize, "B", HN_AUTOSCALE, in wizard_makeparts()
410 humanize_number(rootsizestr, 7, available - swapsize - 1024*1024, in wizard_makeparts()
/src/usr.sbin/bsdinstall/scripts/
H A Dzfsboot757 # NOTE: $swapsize and $bootsize should be defined by the calling function.
915 [ ${swapsize:-0} -gt 0 ] && targetpart=p5
919 [ ${swapsize:-0} -gt 0 ] && targetpart=p4
924 [ ${swapsize:-0} -gt 0 ] && targetpart=p4
928 [ ${swapsize:-0} -gt 0 ] && targetpart=p3
954 if [ ${swapsize:-0} -gt 0 ]; then
958 ${swapsize}b $disk || return $FAILURE
983 local swapsize
984 f_expand_number "$ZFSBOOT_SWAP_SIZE" swapsize
987 elif [ ${swapsize:-0} -eq 0 ]; then
[all …]
/src/contrib/tcsh/
H A DFixes293 12. add rlimit swapsize from FreeBSD.