Lines Matching +full:0 +full:x30000

31 seq=`basename $0`
38 _rm_test_img "$TEST_IMG.0"
44 trap "_cleanup; exit \$status" 0 1 2 3 15
60 TEST_IMG="$TEST_IMG.0" _make_test_img -o cluster_size=64k 10M
66 quorum="$quorum,file.children.0.file.filename=$TEST_IMG.0"
69 quorum="$quorum,file.children.0.driver=$IMGFMT"
87 # Three data regions, the largest one (0x30000) will be picked, end result:
88 # offset 0x10000, length 0x30000 -> data
89 $QEMU_IO -c "write -P 0 $((0x10000)) $((0x10000))" "$TEST_IMG.0" | _filter_qemu_io
90 $QEMU_IO -c "write -P 0 $((0x10000)) $((0x30000))" "$TEST_IMG.1" | _filter_qemu_io
91 $QEMU_IO -c "write -P 0 $((0x10000)) $((0x20000))" "$TEST_IMG.2" | _filter_qemu_io
95 $QEMU_IO -c "open -o $quorum" -c "write -P 0 $((0x100000)) $((0x40000))" | _filter_qemu_io
97 # Three zero regions, the smallest one (0x10000) will be picked, end result:
98 # offset 0x100000, length 0x10000 -> data
99 # offset 0x110000, length 0x10000 -> zeroes
100 # offset 0x120000, length 0x20000 -> data
101 $QEMU_IO -c "write -z $((0x110000)) $((0x10000))" "$TEST_IMG.0" | _filter_qemu_io
102 $QEMU_IO -c "write -z $((0x110000)) $((0x30000))" "$TEST_IMG.1" | _filter_qemu_io
103 $QEMU_IO -c "write -z $((0x110000)) $((0x20000))" "$TEST_IMG.2" | _filter_qemu_io
107 $QEMU_IO -c "write -z $((0x150000)) $((0x10000))" "$TEST_IMG.0" | _filter_qemu_io
108 $QEMU_IO -c "write -z $((0x150000)) $((0x30000))" "$TEST_IMG.1" | _filter_qemu_io
109 $QEMU_IO -c "write -z $((0x150000)) $((0x20000))" "$TEST_IMG.2" | _filter_qemu_io
113 # (0x20000), end result:
114 # offset 0x200000, length 0x20000 -> data
115 $QEMU_IO -c "write -P 0 $((0x200000)) $((0x10000))" "$TEST_IMG.0" | _filter_qemu_io
116 $QEMU_IO -c "write -z $((0x200000)) $((0x30000))" "$TEST_IMG.1" | _filter_qemu_io
117 $QEMU_IO -c "write -P 0 $((0x200000)) $((0x20000))" "$TEST_IMG.2" | _filter_qemu_io
123 $QEMU_IO -c "open -o $quorum" -c "write -P 1 $((0x250000)) $((0x10000))" | _filter_qemu_io
125 $QEMU_IO -c "open -o $quorum" -c "read -P 1 $((0x250000)) $((0x10000))" | _filter_qemu_io
126 $QEMU_IO -c "open -o $quorum" -c "write -z $((0x250000)) $((0x10000))" | _filter_qemu_io
128 $QEMU_IO -c "open -o $quorum" -c "read -P 0 $((0x250000)) $((0x10000))" | _filter_qemu_io
161 status=0