Lines Matching refs:swapsize
738 # NOTE: $swapsize and $bootsize should be defined by the calling function.
897 [ ${swapsize:-0} -gt 0 ] && targetpart=p5
901 [ ${swapsize:-0} -gt 0 ] && targetpart=p4
906 [ ${swapsize:-0} -gt 0 ] && targetpart=p4
910 [ ${swapsize:-0} -gt 0 ] && targetpart=p3
937 if [ ${swapsize:-0} -gt 0 ]; then
941 ${swapsize}b $disk ||
1016 if [ ${swapsize:-0} -gt 0 ]; then
1019 "$align_small" 2 freebsd-swap ${swapsize}b ${disk}s1 ||
1041 local swapsize
1042 f_expand_number "$ZFSBOOT_SWAP_SIZE" swapsize
1045 elif [ ${swapsize:-0} -eq 0 ]; then
1125 local swapsize bootsize
1126 if ! f_expand_number "$ZFSBOOT_SWAP_SIZE" swapsize; then
1140 "$ZFSBOOT_SWAP_SIZE" "$swapsize"
1305 if [ ${swapsize:-0} -gt 0 -a "$ZFSBOOT_SWAP_MIRROR" ]; then
1647 if f_expand_number "$ZFSBOOT_SWAP_SIZE" swapsize &&
1651 minsize=$(( $swapsize + $zpoolmin )) teeny_disks=
1759 if f_expand_number "$ZFSBOOT_SWAP_SIZE" swapsize
1761 if [ $swapsize -ne 0 -a $swapsize -lt 104857600 ]; then