Lines Matching refs:written
45 size_t written; in write_eraseblock() local
50 err = mtd_write(mtd, addr, subpgsize, &written, writebuf); in write_eraseblock()
51 if (unlikely(err || written != subpgsize)) { in write_eraseblock()
54 if (written != subpgsize) { in write_eraseblock()
56 pr_err(" written: %#zx\n", written); in write_eraseblock()
64 err = mtd_write(mtd, addr, subpgsize, &written, writebuf); in write_eraseblock()
65 if (unlikely(err || written != subpgsize)) { in write_eraseblock()
68 if (written != subpgsize) { in write_eraseblock()
70 pr_err(" written: %#zx\n", written); in write_eraseblock()
80 size_t written; in write_eraseblock2() local
88 err = mtd_write(mtd, addr, subpgsize * k, &written, writebuf); in write_eraseblock2()
89 if (unlikely(err || written != subpgsize * k)) { in write_eraseblock2()
92 if (written != subpgsize * k) { in write_eraseblock2()
96 written); in write_eraseblock2()