• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/jffs2/

Lines Matching refs:nextblock

152 		ret = jffs2_prealloc_raw_node_refs(c, c->nextblock, 1);
175 ret = jffs2_prealloc_raw_node_refs(c, c->nextblock, 1);
181 /* Classify nextblock (clean, dirty of verydirty) and force to select an other one */
186 if (c->nextblock == NULL) {
211 c->nextblock = NULL;
215 /* Select a new jeb for nextblock */
240 /* c->nextblock is NULL, no update to c->nextblock allowed */
270 c->nextblock = list_entry(next, struct jffs2_eraseblock, list);
281 D1(printk(KERN_DEBUG "jffs2_find_nextblock(): new nextblock = 0x%08x\n", c->nextblock->offset));
290 struct jffs2_eraseblock *jeb = c->nextblock;
309 write out summary information now, close this jeb and select new nextblock? */
351 jeb = c->nextblock;
386 jeb = c->nextblock;
393 /* OK, jeb (==c->nextblock) is now pointing at a block which definitely has
402 already set c->nextblock so that jffs2_mark_node_obsolete()
438 /* Allow non-obsolete nodes only to be added at the end of c->nextblock,
439 if c->nextblock is set. Note that wbuf.c will file obsolete nodes
440 even after refiling c->nextblock */
441 if ((c->nextblock || ((ofs & 3) != REF_OBSOLETE))
442 && (jeb != c->nextblock || (ofs & ~3) != jeb->offset + (c->sector_size - jeb->free_size))) {
444 if (c->nextblock)
445 printk(KERN_WARNING "nextblock 0x%08x", c->nextblock->offset);
447 printk(KERN_WARNING "No nextblock");
467 c->nextblock = NULL;
561 if ((jeb->dirty_size || ISDIRTY(jeb->wasted_size + freed_len)) && jeb != c->nextblock) {
605 if (jeb == c->nextblock) {
606 D2(printk(KERN_DEBUG "Not moving nextblock 0x%08x to dirty/erase_pending list\n", jeb->offset));