Lines Matching +full:- +full:- +full:local
57 local offset=$1
58 local sectors=$2
59 local op=$3
60 local pattern=0
61 local cur_sec=0
63 for i in $(seq 0 $((sectors - 1))); do
67 echo "$op -P $pattern $((cur_sec * 64))k 64k"
75 _make_test_img -b "$TEST_IMG.base" -F $IMGFMT 6G
83 echo aio_write -P 0x80 2020k 80k
87 echo aio_write -P $((0x81 + i)) $((i * 128))k 64k
92 echo aio_write -P $((0x81 + i)) $((i * 128 + 32))k 64k
96 echo aio_write -P 0x90 4080k 80k
100 sed -e 's/bytes at offset [0-9]*/bytes at offset XXX/g' \
101 -e 's/qemu-io> //g' | paste - - | sort | tr '\t' '\n'
108 echo read -P 31 2016k 4k
109 echo read -P 0x80 2020k 80k
110 echo read -P 32 2100k 12k
111 echo read -P 33 2112k 64k
113 echo read -P 63 4064k 16k
114 echo read -P 0x90 4080k 80k
115 echo read -P 65 4160k 64k
118 echo read -P $((0x81 + i)) $((i * 128))k 96k
122 local cur_sec=$(( i * 2 + 1 ))
123 local pattern=$(( ( (cur_sec % 128) + (cur_sec / 128)) % 128 ))
125 echo read -P $pattern $((i * 128 + 96))k 32k
135 rm -f $seq.full