Searched refs:REF_PRISTINE (Results 1 – 10 of 10) sorted by relevance
/kernel/linux/linux-5.10/fs/jffs2/ |
D | xattr.c | 144 if (ref_flags(xd->node) == REF_PRISTINE) in do_verify_xattr_datum() 191 raw->flash_offset = ref_offset(raw) | ((xd->node==raw) ? REF_PRISTINE : REF_NORMAL); in do_verify_xattr_datum() 212 BUG_ON(ref_flags(xd->node) != REF_PRISTINE); in do_load_xattr_datum() 328 jffs2_add_physical_node_ref(c, phys_ofs | REF_PRISTINE, PAD(totlen), (void *)xd); in save_xattr_datum() 497 raw->flash_offset = ref_offset(raw) | ((ref->node==raw) ? REF_PRISTINE : REF_NORMAL); in verify_xattr_ref() 543 jffs2_add_physical_node_ref(c, phys_ofs | REF_PRISTINE, PAD(sizeof(rr)), (void *)ref); in save_xattr_ref() 794 if (ref_flags(ref->node) != REF_PRISTINE) { in jffs2_build_xattr_subsystem() 1312 | ((xd->node == (void *)raw) ? REF_PRISTINE : REF_NORMAL); in jffs2_verify_xattr()
|
D | TODO | 24 By writing _new_ nodes to one block, and garbage-collected REF_PRISTINE
|
D | nodelist.h | 134 #define REF_PRISTINE 2 /* Completely clean. GC without looking */ macro 144 #define dirent_node_state(rd) ( (je32_to_cpu((rd)->ino)?REF_PRISTINE:REF_NORMAL) )
|
D | scan.c | 364 = jffs2_link_node_ref(c, jeb, ofs | REF_PRISTINE, totlen, NULL); in jffs2_scan_xattr_node() 374 jffs2_link_node_ref(c, jeb, ofs | REF_PRISTINE, totlen, (void *)xd); in jffs2_scan_xattr_node() 431 jffs2_link_node_ref(c, jeb, ofs | REF_PRISTINE, PAD(je32_to_cpu(rr->totlen)), (void *)ref); in jffs2_scan_xref_node() 929 jffs2_link_node_ref(c, jeb, ofs | REF_PRISTINE, PAD(je32_to_cpu(node->totlen)), NULL); in jffs2_scan_eraseblock()
|
D | gc.c | 316 if (ref_flags(raw) == REF_PRISTINE) { in jffs2_garbage_collect_pass() 371 if (ref_flags(raw) == REF_PRISTINE) in jffs2_garbage_collect_pass() 545 if (ref_flags(raw) == REF_PRISTINE) { in jffs2_garbage_collect_live() 744 jffs2_add_physical_node_ref(c, phys_ofs | REF_PRISTINE, rawlen, ic); in jffs2_garbage_collect_pristine()
|
D | nodelist.c | 96 frag->node->raw->flash_offset = ref_offset(frag->node->raw) | REF_PRISTINE; in jffs2_truncate_fragtree() 640 case REF_PRISTINE: in jffs2_link_node_ref()
|
D | write.c | 178 flash_ofs |= REF_PRISTINE; in jffs2_write_dnode()
|
D | debug.c | 86 if (ref_flags(fn->raw) == REF_PRISTINE) { in __jffs2_dbg_fragtree_paranoia_check_nolock()
|
D | readinode.c | 120 ref->flash_offset |= REF_PRISTINE; in check_node_data()
|
/kernel/liteos_a/fs/jffs2/ |
D | jffs2.patch | 3719 if (ref_flags(raw) == REF_PRISTINE) { 3724 - if (ref_flags(raw) == REF_PRISTINE) 3725 + if (raw && ref_flags(raw) == REF_PRISTINE) 3728 jffs2_dbg(1, "Ino #%u is absent but node not REF_PRISTINE. Reading.\n", 3761 if (ref_flags(raw) == REF_PRISTINE) { 3775 pr_warn("Header CRC failed on REF_PRISTINE node at 0x%08x: Read 0x%08x, calculated 0x%08x\n", 3782 pr_warn("Node CRC failed on REF_PRISTINE data node at 0x%08x: Read 0x%08x, calculated 0x%08x\n", 3790 … pr_warn("Data CRC failed on REF_PRISTINE data node at 0x%08x: Read 0x%08x, calculated 0x%08x\n", 3798 … pr_warn("Node CRC failed on REF_PRISTINE dirent node at 0x%08x: Read 0x%08x, calculated 0x%08x\n", 3814 … pr_warn("Name CRC failed on REF_PRISTINE dirent node at 0x%08x: Read 0x%08x, calculated 0x%08x\n", [all …]
|