Lines Matching refs:erasesize
76 loff_t addr = ebnum * mtd->erasesize; in erase_eraseblock()
81 ei.len = mtd->erasesize; in erase_eraseblock()
120 loff_t addr = ebnum * mtd->erasesize; in write_eraseblock()
155 loff_t addr = ebnum * mtd->erasesize; in write_eraseblock2()
158 if (addr + (subpgsize * k) > (ebnum + 1) * mtd->erasesize) in write_eraseblock2()
194 loff_t addr = ebnum * mtd->erasesize; in verify_eraseblock()
255 loff_t addr = ebnum * mtd->erasesize; in verify_eraseblock2()
258 if (addr + (subpgsize * k) > (ebnum + 1) * mtd->erasesize) in verify_eraseblock2()
290 loff_t addr = ebnum * mtd->erasesize; in verify_eraseblock_ff()
293 for (j = 0; j < mtd->erasesize / subpgsize; ++j) { in verify_eraseblock_ff()
340 loff_t addr = ebnum * mtd->erasesize; in is_block_bad()
401 do_div(tmp, mtd->erasesize); in mtd_subpagetest_init()
403 pgcnt = mtd->erasesize / mtd->writesize; in mtd_subpagetest_init()
408 (unsigned long long)mtd->size, mtd->erasesize, in mtd_subpagetest_init()