Home
last modified time | relevance | path

Searched refs:cleanmarker_size (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/fs/jffs2/
Derase.c414 if (jffs2_cleanmarker_oob(c) || c->cleanmarker_size == 0) { in jffs2_mark_erased_block()
426 .totlen = cpu_to_je32(c->cleanmarker_size) in jffs2_mark_erased_block()
458 if (c->cleanmarker_size && !jffs2_cleanmarker_oob(c)) in jffs2_mark_erased_block()
459 jffs2_link_node_ref(c, jeb, jeb->offset | REF_NORMAL, c->cleanmarker_size, NULL); in jffs2_mark_erased_block()
Dscan.c312 if ((jeb->used_size + jeb->unchecked_size) == PAD(c->cleanmarker_size) && !jeb->dirty_size in jffs2_scan_classify_jeb()
593 if (c->cleanmarker_size == 0) in jffs2_scan_eraseblock()
693 if (buf_ofs == jeb->offset && jeb->used_size == PAD(c->cleanmarker_size) && in jffs2_scan_eraseblock()
694 c->cleanmarker_size && !jeb->dirty_size && !ref_next(jeb->first_node)) { in jffs2_scan_eraseblock()
873 if (je32_to_cpu(node->totlen) != c->cleanmarker_size) { in jffs2_scan_eraseblock()
876 c->cleanmarker_size); in jffs2_scan_eraseblock()
887 jffs2_link_node_ref(c, jeb, ofs | REF_NORMAL, c->cleanmarker_size, NULL); in jffs2_scan_eraseblock()
889 ofs += PAD(c->cleanmarker_size); in jffs2_scan_eraseblock()
Djffs2_fs_sb.h64 uint32_t cleanmarker_size; /* Size of an _inline_ CLEANMARKER member
Dnodemgmt.c459 if (jeb->free_size != c->sector_size - c->cleanmarker_size) { in jffs2_do_reserve_space()
469 if (c->cleanmarker_size && jeb->used_size == c->cleanmarker_size && in jffs2_do_reserve_space()
Dwbuf.c1190 c->cleanmarker_size = 0; in jffs2_nand_flash_setup()
1238 c->cleanmarker_size = 0; /* No cleanmarkers needed */ in jffs2_dataflash_setup()
1296 c->cleanmarker_size = max(16u, c->mtd->writesize); in jffs2_nor_wbuf_flash_setup()
1327 c->cleanmarker_size = 0; in jffs2_ubivol_setup()
Dsummary.c624 if (je32_to_cpu(summary->cln_mkr) != c->cleanmarker_size) { in jffs2_sum_scan_sumnode()
626 je32_to_cpu(summary->cln_mkr), c->cleanmarker_size); in jffs2_sum_scan_sumnode()
714 isum.cln_mkr = cpu_to_je32(c->cleanmarker_size); in jffs2_sum_write_data()
Dfs.c557 c->cleanmarker_size = sizeof(struct jffs2_unknown_node); in jffs2_do_fill_super()