Searched refs:REF_PRISTINE (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.15/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 | 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()
|