mtd_test.h 487 B

1234567891011
  1. #include <linux/mtd/mtd.h>
  2. int mtdtest_erase_eraseblock(struct mtd_info *mtd, unsigned int ebnum);
  3. int mtdtest_scan_for_bad_eraseblocks(struct mtd_info *mtd, unsigned char *bbt,
  4. unsigned int eb, int ebcnt);
  5. int mtdtest_erase_good_eraseblocks(struct mtd_info *mtd, unsigned char *bbt,
  6. unsigned int eb, int ebcnt);
  7. int mtdtest_read(struct mtd_info *mtd, loff_t addr, size_t size, void *buf);
  8. int mtdtest_write(struct mtd_info *mtd, loff_t addr, size_t size,
  9. const void *buf);