Lines Matching refs:swapsize
757 # 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
1063 local swapsize bootsize poolsize
1064 if ! f_expand_number "$ZFSBOOT_SWAP_SIZE" swapsize; then
1088 "$ZFSBOOT_SWAP_SIZE" "$swapsize"
1253 if [ ${swapsize:-0} -gt 0 -a "$ZFSBOOT_SWAP_MIRROR" ]; then
1588 if f_expand_number "$ZFSBOOT_SWAP_SIZE" swapsize &&
1592 minsize=$swapsize teeny_disks=
1708 if f_expand_number "$ZFSBOOT_SWAP_SIZE" swapsize
1710 if [ $swapsize -ne 0 -a $swapsize -lt 104857600 ]; then