Lines Matching refs:loop_dev
130 if [ "x${loop_dev}" != "x" ]; then \
132 dmsetup remove -f ${loop_dev}
135 ${LOSETUPBIN} -d ${loop_dev}
226 loop_dev=$(${LOSETUPBIN} -f) || ( echo "ERROR: losetup wouldn't tell us the next unused device"; exit 1 )
228 ${LOSETUPBIN} ${loop_dev} ${tempfile} || ( echo "ERROR: couldn't create loopback device"; exit 1 )
233 echo "0 `blockdev --getsize ${loop_dev}` crypt ${CRYPTO} ${key} 0 ${loop_dev} 0" | dmsetup create ${unique_dm_name}
234 old_loop_dev=${loop_dev}
235 loop_dev=/dev/mapper/${unique_dm_name}
242 ${MKFSBIN} -I ${loop_dev}
250 ${MOUNTBIN} -t ${FS} -o loop ${loop_dev} ${temp_mount}
272 dmsetup remove -f ${loop_dev}
275 ${LOSETUPBIN} -d ${loop_dev}