Home
last modified time | relevance | path

Searched refs:subpgsize (Results 1 – 1 of 1) sorted by relevance

/kernel/linux/linux-5.10/drivers/mtd/tests/
Dsubpagetest.c31 static int subpgsize; variable
49 prandom_bytes_state(&rnd_state, writebuf, subpgsize); in write_eraseblock()
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()
55 pr_err(" write size: %#x\n", subpgsize); in write_eraseblock()
61 addr += subpgsize; in write_eraseblock()
63 prandom_bytes_state(&rnd_state, writebuf, subpgsize); in write_eraseblock()
64 err = mtd_write(mtd, addr, subpgsize, &written, writebuf); in write_eraseblock()
65 if (unlikely(err || written != subpgsize)) { in write_eraseblock()
[all …]