Lines Matching refs:LOOP
30 echo $LOOP
43 test -n "$LOOP" && losetup -d $LOOP
63 test -n "$LOOP" && return 0
70 if LOOP=`losetup -s -f "$LOOPFILE" 2>/dev/null`; then
72 elif LOOP=`losetup -f` && losetup $LOOP "$LOOPFILE"; then
84 LOOP=$dev
87 if [ -n "$LOOP" ]; then
91 test -n "$LOOP" # confirm or fail
109 if ! loopsz=`blockdev --getsz $LOOP 2>/dev/null`; then
110 loopsz=`blockdev --getsize $LOOP 2>/dev/null`
120 echo 0 $size linear $LOOP $((($i-1)*$size)) > $name.table