Lines Matching refs:ebnum
43 static int write_eraseblock(int ebnum) in write_eraseblock() argument
47 loff_t addr = (loff_t)ebnum * mtd->erasesize; in write_eraseblock()
78 static int write_eraseblock2(int ebnum) in write_eraseblock2() argument
82 loff_t addr = (loff_t)ebnum * mtd->erasesize; in write_eraseblock2()
85 if (addr + (subpgsize * k) > (loff_t)(ebnum + 1) * mtd->erasesize) in write_eraseblock2()
117 static int verify_eraseblock(int ebnum) in verify_eraseblock() argument
121 loff_t addr = (loff_t)ebnum * mtd->erasesize; in verify_eraseblock()
178 static int verify_eraseblock2(int ebnum) in verify_eraseblock2() argument
182 loff_t addr = (loff_t)ebnum * mtd->erasesize; in verify_eraseblock2()
185 if (addr + (subpgsize * k) > (loff_t)(ebnum + 1) * mtd->erasesize) in verify_eraseblock2()
212 static int verify_eraseblock_ff(int ebnum) in verify_eraseblock_ff() argument
217 loff_t addr = (loff_t)ebnum * mtd->erasesize; in verify_eraseblock_ff()