Home
last modified time | relevance | path

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

/linux/fs/jffs2/
H A 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()
1319 | ((xd->node == (void *)raw) ? REF_PRISTINE : REF_NORMAL); in jffs2_verify_xattr()
H A Dnodelist.h134 #define REF_PRISTINE 2 /* Completely clean. GC without looking */ macro
141 /* Dirent nodes should be REF_PRISTINE only if they are not a deletion
144 #define dirent_node_state(rd) ( (je32_to_cpu((rd)->ino)?REF_PRISTINE:REF_NORMAL) )
146 /* NB: REF_PRISTINE for an inode-less node (ref->next_in_ino == NULL) indicates
186 someone from doing a read_inode() while we're moving a 'REF_PRISTINE'
H A Dscan.c368 = jffs2_link_node_ref(c, jeb, ofs | REF_PRISTINE, totlen, NULL); in jffs2_scan_xattr_node()
378 jffs2_link_node_ref(c, jeb, ofs | REF_PRISTINE, totlen, (void *)xd); in jffs2_scan_xattr_node()
435 jffs2_link_node_ref(c, jeb, ofs | REF_PRISTINE, PAD(je32_to_cpu(rr->totlen)), (void *)ref); in jffs2_scan_xref_node()
933 jffs2_link_node_ref(c, jeb, ofs | REF_PRISTINE, PAD(je32_to_cpu(node->totlen)), NULL); in jffs2_scan_eraseblock()
H A Dnodelist.c92 * REF_PRISTINE irrespective of its size. */ in jffs2_truncate_fragtree()
94 dbg_fragtree2("marking the last fragment 0x%08x-0x%08x REF_PRISTINE.\n", in jffs2_truncate_fragtree()
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()
H A Dwrite.c173 it's a hole node, mark it REF_PRISTINE, else REF_NORMAL. in jffs2_write_dnode()
178 flash_ofs |= REF_PRISTINE; in jffs2_write_dnode()
H A Ddebug.c86 if (ref_flags(fn->raw) == REF_PRISTINE) { in __jffs2_dbg_fragtree_paranoia_check_nolock()
88 JFFS2_ERROR("REF_PRISTINE node at 0x%08x had %d frags. Tell dwmw2.\n", in __jffs2_dbg_fragtree_paranoia_check_nolock()
100 JFFS2_ERROR("REF_PRISTINE node at 0x%08x had a previous non-hole frag in the same page. Tell dwmw2.\n", in __jffs2_dbg_fragtree_paranoia_check_nolock()
107 JFFS2_ERROR("REF_PRISTINE node at 0x%08x (%08x-%08x) had a following non-hole frag in the same page. Tell dwmw2.\n", in __jffs2_dbg_fragtree_paranoia_check_nolock()
H A Dreadinode.c118 moving it while it's marked REF_PRISTINE -- GC won't happen in check_node_data()
120 ref->flash_offset |= REF_PRISTINE; in check_node_data()
276 /* Version number collision means REF_PRISTINE GC. Accept either of them in jffs2_add_tn_to_tree()