Lines Matching refs:ubi
24 void ubi_dump_flash(struct ubi_device *ubi, int pnum, int offset, int len);
61 int ubi_self_check_all_ff(struct ubi_device *ubi, int pnum, int offset,
65 int ubi_debugfs_init_dev(struct ubi_device *ubi);
66 void ubi_debugfs_exit_dev(struct ubi_device *ubi);
75 static inline int ubi_dbg_is_bgt_disabled(const struct ubi_device *ubi) in ubi_dbg_is_bgt_disabled() argument
77 return ubi->dbg.disable_bgt; in ubi_dbg_is_bgt_disabled()
86 static inline int ubi_dbg_is_bitflip(const struct ubi_device *ubi) in ubi_dbg_is_bitflip() argument
88 if (ubi->dbg.emulate_bitflips) in ubi_dbg_is_bitflip()
100 static inline int ubi_dbg_is_write_failure(const struct ubi_device *ubi) in ubi_dbg_is_write_failure() argument
102 if (ubi->dbg.emulate_io_failures) in ubi_dbg_is_write_failure()
114 static inline int ubi_dbg_is_erase_failure(const struct ubi_device *ubi) in ubi_dbg_is_erase_failure() argument
116 if (ubi->dbg.emulate_io_failures) in ubi_dbg_is_erase_failure()
121 static inline int ubi_dbg_chk_io(const struct ubi_device *ubi) in ubi_dbg_chk_io() argument
123 return ubi->dbg.chk_io; in ubi_dbg_chk_io()
126 static inline int ubi_dbg_chk_gen(const struct ubi_device *ubi) in ubi_dbg_chk_gen() argument
128 return ubi->dbg.chk_gen; in ubi_dbg_chk_gen()