Lines Matching refs:swapsize
738 # NOTE: $swapsize and $bootsize should be defined by the calling function.
894 [ ${swapsize:-0} -gt 0 ] && targetpart=p5
898 [ ${swapsize:-0} -gt 0 ] && targetpart=p4
903 [ ${swapsize:-0} -gt 0 ] && targetpart=p4
907 [ ${swapsize:-0} -gt 0 ] && targetpart=p3
933 if [ ${swapsize:-0} -gt 0 ]; then
937 ${swapsize}b $disk || return $FAILURE
1010 if [ ${swapsize:-0} -gt 0 ]; then
1014 ${swapsize}b ${disk}s1 || return $FAILURE
1036 local swapsize
1037 f_expand_number "$ZFSBOOT_SWAP_SIZE" swapsize
1040 elif [ ${swapsize:-0} -eq 0 ]; then
1117 local swapsize bootsize
1118 if ! f_expand_number "$ZFSBOOT_SWAP_SIZE" swapsize; then
1132 "$ZFSBOOT_SWAP_SIZE" "$swapsize"
1298 if [ ${swapsize:-0} -gt 0 -a "$ZFSBOOT_SWAP_MIRROR" ]; then
1658 if f_expand_number "$ZFSBOOT_SWAP_SIZE" swapsize &&
1662 minsize=$(( $swapsize + $zpoolmin )) teeny_disks=
1777 if f_expand_number "$ZFSBOOT_SWAP_SIZE" swapsize
1779 if [ $swapsize -ne 0 -a $swapsize -lt 104857600 ]; then