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

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/jffs2/
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 Dxattr.c139 if (ref_flags(xd->node) == REF_PRISTINE)
186 raw->flash_offset = ref_offset(raw) | ((xd->node==raw) ? REF_PRISTINE : REF_NORMAL);
207 BUG_ON(ref_flags(xd->node) != REF_PRISTINE);
323 jffs2_add_physical_node_ref(c, phys_ofs | REF_PRISTINE, PAD(totlen), (void *)xd);
490 raw->flash_offset = ref_offset(raw) | ((ref->node==raw) ? REF_PRISTINE : REF_NORMAL);
536 jffs2_add_physical_node_ref(c, phys_ofs | REF_PRISTINE, PAD(sizeof(rr)), (void *)ref);
783 if (ref_flags(ref->node) != REF_PRISTINE) {
1295 | ((xd->node == (void *)raw) ? REF_PRISTINE : REF_NORMAL);
H A Dgc.c282 if (ref_flags(raw) == REF_PRISTINE) {
323 2. Inode is not in-core, node is REF_PRISTINE. We lock the
335 if (ref_flags(raw) == REF_PRISTINE)
338 D1(printk(KERN_DEBUG "Ino #%u is absent but node not REF_PRISTINE. Reading.\n",
506 if (ref_flags(raw) == REF_PRISTINE) {
563 D1(printk(KERN_DEBUG "Going to GC REF_PRISTINE node at 0x%08x\n", ref_offset(raw)));
596 printk(KERN_WARNING "Header CRC failed on REF_PRISTINE node at 0x%08x: Read 0x%08x, calculated 0x%08x\n",
605 printk(KERN_WARNING "Node CRC failed on REF_PRISTINE data node at 0x%08x: Read 0x%08x, calculated 0x%08x\n",
613 printk(KERN_WARNING "Data CRC failed on REF_PRISTINE data node at 0x%08x: Read 0x%08x, calculated 0x%08x\n",
623 printk(KERN_WARNING "Node CRC failed on REF_PRISTINE diren
[all...]
H A Dscan.c355 = jffs2_link_node_ref(c, jeb, ofs | REF_PRISTINE, totlen, NULL);
365 jffs2_link_node_ref(c, jeb, ofs | REF_PRISTINE, totlen, (void *)xd);
422 jffs2_link_node_ref(c, jeb, ofs | REF_PRISTINE, PAD(je32_to_cpu(rr->totlen)), (void *)ref);
891 jffs2_link_node_ref(c, jeb, ofs | REF_PRISTINE, PAD(je32_to_cpu(node->totlen)), NULL);
H A Dnodelist.c90 * REF_PRISTINE irrespective of its size. */
92 dbg_fragtree2("marking the last fragment 0x%08x-0x%08x REF_PRISTINE.\n",
94 frag->node->raw->flash_offset = ref_offset(frag->node->raw) | REF_PRISTINE;
662 case REF_PRISTINE:
H A Ddebug.c84 if (ref_flags(fn->raw) == REF_PRISTINE) {
86 JFFS2_ERROR("REF_PRISTINE node at 0x%08x had %d frags. Tell dwmw2.\n",
98 JFFS2_ERROR("REF_PRISTINE node at 0x%08x had a previous non-hole frag in the same page. Tell dwmw2.\n",
105 JFFS2_ERROR("REF_PRISTINE node at 0x%08x (%08x-%08x) had a following non-hole frag in the same page. Tell dwmw2.\n",
H A Dwrite.c166 it's a hole node, mark it REF_PRISTINE, else REF_NORMAL.
171 flash_ofs |= REF_PRISTINE;
H A Dreadinode.c118 moving it while it's marked REF_PRISTINE -- GC won't happen
120 ref->flash_offset |= REF_PRISTINE;
276 /* Version number collision means REF_PRISTINE GC. Accept either of them

Completed in 166 milliseconds