Lines Matching refs:swapsize
752 # NOTE: $swapsize and $bootsize should be defined by the calling function.
908 [ ${swapsize:-0} -gt 0 ] && targetpart=p5
912 [ ${swapsize:-0} -gt 0 ] && targetpart=p4
917 [ ${swapsize:-0} -gt 0 ] && targetpart=p4
921 [ ${swapsize:-0} -gt 0 ] && targetpart=p3
947 if [ ${swapsize:-0} -gt 0 ]; then
951 ${swapsize}b $disk || return $FAILURE
1030 if [ ${swapsize:-0} -gt 0 ]; then
1034 ${swapsize}b ${disk}s1 || return $FAILURE
1060 local swapsize
1061 f_expand_number "$ZFSBOOT_SWAP_SIZE" swapsize
1064 elif [ ${swapsize:-0} -eq 0 ]; then
1141 local swapsize bootsize poolsize
1142 if ! f_expand_number "$ZFSBOOT_SWAP_SIZE" swapsize; then
1166 "$ZFSBOOT_SWAP_SIZE" "$swapsize"
1332 if [ ${swapsize:-0} -gt 0 -a "$ZFSBOOT_SWAP_MIRROR" ]; then
1701 if f_expand_number "$ZFSBOOT_SWAP_SIZE" swapsize &&
1705 minsize=$swapsize teeny_disks=
1824 if f_expand_number "$ZFSBOOT_SWAP_SIZE" swapsize
1826 if [ $swapsize -ne 0 -a $swapsize -lt 104857600 ]; then