Home
last modified time | relevance | path

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

/linux-6.6.21/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()
70 bad_offset = instr->fail_addr; in jffs2_erase_block()
96 jffs2_erase_failed(c, jeb, bad_offset); in jffs2_erase_block()
172 …void jffs2_erase_failed(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, uint32_t bad_offset) in jffs2_erase_failed() argument
176 if (jffs2_cleanmarker_oob(c) && (bad_offset != (uint32_t)MTD_FAIL_ADDR_UNKNOWN)) { in jffs2_erase_failed()
179 if (!jffs2_write_nand_badblock(c, jeb, bad_offset)) { in jffs2_erase_failed()
311 …ffs2_block_check_erase(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, uint32_t *bad_offset) in jffs2_block_check_erase() argument
363 *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()
/linux-6.6.21/mm/
Dswapfile.c1145 goto bad_offset; in _swap_info_get()
1153 bad_offset: in _swap_info_get()