Lines Matching +full:read +full:- +full:write
4 # Make sure we can't read and write outside of the image size.
51 echo "write before image boundary"
52 $QEMU_IO -c "write $pre_offset 1M" "$TEST_IMG" | _filter_qemu_io
55 echo "write into image boundary"
56 $QEMU_IO -c "write $pre_offset 4M" "$TEST_IMG"
59 echo "write at image boundary"
60 $QEMU_IO -c "write $size 4096" "$TEST_IMG"
63 echo "write past image boundary"
64 $QEMU_IO -c "write $past_offset 4096" "$TEST_IMG"
68 $QEMU_IO -c "write -p $past_offset 4096" "$TEST_IMG"
72 $QEMU_IO -c "writev $past_offset 4096" "$TEST_IMG"
75 echo "read before image boundary"
76 $QEMU_IO -c "read $pre_offset 1M" "$TEST_IMG" | _filter_qemu_io
79 echo "read into image boundary"
80 $QEMU_IO -c "read $pre_offset 4M" "$TEST_IMG"
83 echo "read at image boundary"
84 $QEMU_IO -c "read $size 4096" "$TEST_IMG"
87 echo "read past image boundary"
88 $QEMU_IO -c "read $past_offset 4096" "$TEST_IMG"
92 $QEMU_IO -c "read -p $past_offset 4096" "$TEST_IMG"
96 $QEMU_IO -c "readv $past_offset 4096" "$TEST_IMG"
101 rm -f $seq.full