Lines Matching refs:ebnum
56 static int write_eraseblock(int ebnum) in write_eraseblock() argument
60 loff_t addr = (loff_t)ebnum * mtd->erasesize; in write_eraseblock()
91 static int write_eraseblock2(int ebnum) in write_eraseblock2() argument
95 loff_t addr = (loff_t)ebnum * mtd->erasesize; in write_eraseblock2()
98 if (addr + (subpgsize * k) > (loff_t)(ebnum + 1) * mtd->erasesize) in write_eraseblock2()
130 static int verify_eraseblock(int ebnum) in verify_eraseblock() argument
134 loff_t addr = (loff_t)ebnum * mtd->erasesize; in verify_eraseblock()
191 static int verify_eraseblock2(int ebnum) in verify_eraseblock2() argument
195 loff_t addr = (loff_t)ebnum * mtd->erasesize; in verify_eraseblock2()
198 if (addr + (subpgsize * k) > (loff_t)(ebnum + 1) * mtd->erasesize) in verify_eraseblock2()
225 static int verify_eraseblock_ff(int ebnum) in verify_eraseblock_ff() argument
230 loff_t addr = (loff_t)ebnum * mtd->erasesize; in verify_eraseblock_ff()