Searched refs:bad_offset (Results 1 – 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/fs/jffs2/ |
D | erase.c | 24 …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 …]
|
D | os-linux.h | 83 #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);
|
D | wbuf.c | 1133 …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()
|
/kernel/liteos_a/fs/jffs2/ |
D | jffs2.patch | 2150 …oid jffs2_erase_failed(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, uint32_t bad_offset); 2156 - uint32_t bad_offset; 2163 - bad_offset = jeb->offset; 2183 + uint64_t bad_offset = 0; 2191 + ret = c->mtd->erase(c->mtd, jeb->offset, c->sector_size, &bad_offset); 2198 - bad_offset = instr->fail_addr; 2212 …void jffs2_erase_failed(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, uint32_t bad_offset) 2216 - if (jffs2_cleanmarker_oob(c) && (bad_offset != (uint32_t)MTD_FAIL_ADDR_UNKNOWN)) { 2219 - if (!jffs2_write_nand_badblock(c, jeb, bad_offset)) { 2287 *bad_offset = ofs; [all …]
|
/kernel/linux/linux-5.10/mm/ |
D | swapfile.c | 1174 goto bad_offset; in __swap_info_get() 1177 bad_offset: in __swap_info_get()
|