Lines Matching refs:read
119 size_t read; in verify_eraseblock() local
125 err = mtd_read(mtd, addr, subpgsize, &read, readbuf); in verify_eraseblock()
126 if (unlikely(err || read != subpgsize)) { in verify_eraseblock()
127 if (mtd_is_bitflip(err) && read == subpgsize) { in verify_eraseblock()
152 err = mtd_read(mtd, addr, subpgsize, &read, readbuf); in verify_eraseblock()
153 if (unlikely(err || read != subpgsize)) { in verify_eraseblock()
154 if (mtd_is_bitflip(err) && read == subpgsize) { in verify_eraseblock()
180 size_t read; in verify_eraseblock2() local
189 err = mtd_read(mtd, addr, subpgsize * k, &read, readbuf); in verify_eraseblock2()
190 if (unlikely(err || read != subpgsize * k)) { in verify_eraseblock2()
191 if (mtd_is_bitflip(err) && read == subpgsize * k) { in verify_eraseblock2()
215 size_t read; in verify_eraseblock_ff() local
222 err = mtd_read(mtd, addr, subpgsize, &read, readbuf); in verify_eraseblock_ff()
223 if (unlikely(err || read != subpgsize)) { in verify_eraseblock_ff()
224 if (mtd_is_bitflip(err) && read == subpgsize) { in verify_eraseblock_ff()