Searched refs:TST_DEVICE (Results 1 – 6 of 6) sorted by relevance
24 real_size=`blockdev --getsize64 $TST_DEVICE`116 local mkswap_cmd="mkswap $mkswap_op $op_arg $TST_DEVICE $size"131 udevadm trigger --name-match=$TST_DEVICE147 1) mkswap_test "" "" "$TST_DEVICE";;148 2) mkswap_test "" "" "$TST_DEVICE" "$((DEVICE_SIZE-PAGE_SIZE/1024))";;149 3) mkswap_test "-f" "" "$TST_DEVICE" "$((DEVICE_SIZE+PAGE_SIZE/1024))";;150 4) mkswap_test "-c" "" "$TST_DEVICE";;151 5) mkswap_test "-p" "2048" "$TST_DEVICE";;153 7) mkswap_test "-v1" "" "$TST_DEVICE";;
30 device_backup="$TST_DEVICE"31 TST_DEVICE="overlay"86 tst_umount $TST_DEVICE88 TST_DEVICE="$device_backup"
42 DF_FS_TYPE=$(mount | grep "$TST_DEVICE" | awk '{print $5}')108 grep ${TST_DEVICE} output | grep -q "${total}.*${used}"146 df_test "df -v ${TST_DEVICE}"190 grep ${TST_DEVICE} output | grep -q mntpoint
36 if ! tst_device release "$TST_DEVICE"; then37 tst_res TWARN "Failed to release device '$TST_DEVICE'"263 mount $mnt_opt $TST_DEVICE $TST_MNTPOINT $TST_MNT_PARAMS277 local device="${1:-$TST_DEVICE}"307 local device=${2:-$TST_DEVICE}551 TST_DEVICE=$(tst_device acquire)553 if [ ! -b "$TST_DEVICE" -o $? -ne 0 ]; then554 unset TST_DEVICE
149 mkfs_test "" "$TST_FS_TYPE" "" "$TST_DEVICE"154 mkfs_test "" "$TST_FS_TYPE" "" "$TST_DEVICE" "16000"159 mkfs_test "" "$TST_FS_TYPE" "-c" "$TST_DEVICE"
2130 device is stored in '$TST_DEVICE' variable.2382 tst_mkfs ext2 $TST_DEVICE2383 # default params are $TST_FS_TYPE $TST_DEVICE2395 The 'tst_mount' mounts '$TST_DEVICE' of '$TST_FS_TYPE' (optional) to2400 If the path passed (optional, defaults to '$TST_DEVICE') to the 'tst_umount' is