Home
last modified time | relevance | path

Searched refs:bad_offset (Results 1 – 3 of 3) sorted by relevance

/fs/jffs2/
Derase.c24 …oid jffs2_erase_failed(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, uint32_t bad_offset);
32 uint32_t bad_offset; in jffs2_erase_block() local
39 bad_offset = jeb->offset; in jffs2_erase_block()
72 bad_offset = instr->fail_addr; in jffs2_erase_block()
98 jffs2_erase_failed(c, jeb, bad_offset); in jffs2_erase_block()
174 …void jffs2_erase_failed(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, uint32_t bad_offset) in jffs2_erase_failed() argument
178 if (jffs2_cleanmarker_oob(c) && (bad_offset != (uint32_t)MTD_FAIL_ADDR_UNKNOWN)) { in jffs2_erase_failed()
181 if (!jffs2_write_nand_badblock(c, jeb, bad_offset)) { in jffs2_erase_failed()
313 …ffs2_block_check_erase(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, uint32_t *bad_offset) in jffs2_block_check_erase() argument
365 *bad_offset = ofs; in jffs2_block_check_erase()
[all …]
Dos-linux.h83 #define jffs2_write_nand_badblock(c,jeb,bad_offset) (1) argument
122 …s2_write_nand_badblock(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, uint32_t bad_offset);
Dwbuf.c1133 …fs2_write_nand_badblock(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, uint32_t bad_offset) in jffs2_write_nand_badblock() argument
1141 pr_warn("marking eraseblock at %08x as bad\n", bad_offset); in jffs2_write_nand_badblock()
1142 ret = mtd_block_markbad(c->mtd, bad_offset); in jffs2_write_nand_badblock()