Home
last modified time | relevance | path

Searched refs:REF_PRISTINE (Results 1 – 8 of 8) sorted by relevance

/linux-6.6.21/fs/jffs2/
Dxattr.c144 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()
797 if (ref_flags(ref->node) != REF_PRISTINE) { in jffs2_build_xattr_subsystem()
1316 | ((xd->node == (void *)raw) ? REF_PRISTINE : REF_NORMAL); in jffs2_verify_xattr()
Dnodelist.h134 #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) )
Dscan.c366 = jffs2_link_node_ref(c, jeb, ofs | REF_PRISTINE, totlen, NULL); in jffs2_scan_xattr_node()
376 jffs2_link_node_ref(c, jeb, ofs | REF_PRISTINE, totlen, (void *)xd); in jffs2_scan_xattr_node()
433 jffs2_link_node_ref(c, jeb, ofs | REF_PRISTINE, PAD(je32_to_cpu(rr->totlen)), (void *)ref); in jffs2_scan_xref_node()
931 jffs2_link_node_ref(c, jeb, ofs | REF_PRISTINE, PAD(je32_to_cpu(node->totlen)), NULL); in jffs2_scan_eraseblock()
Dgc.c316 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()
Dnodelist.c96 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()
Dwrite.c178 flash_ofs |= REF_PRISTINE; in jffs2_write_dnode()
Ddebug.c86 if (ref_flags(fn->raw) == REF_PRISTINE) { in __jffs2_dbg_fragtree_paranoia_check_nolock()
Dreadinode.c120 ref->flash_offset |= REF_PRISTINE; in check_node_data()