Lines Matching refs:nextblock
210 ret = jffs2_prealloc_raw_node_refs(c, c->nextblock, 1); in jffs2_reserve_space()
239 ret = jffs2_prealloc_raw_node_refs(c, c->nextblock, 1); in jffs2_reserve_space_gc()
250 if (c->nextblock == NULL) { in jffs2_close_nextblock()
278 c->nextblock = NULL; in jffs2_close_nextblock()
340 c->nextblock = list_entry(next, struct jffs2_eraseblock, list); in jffs2_find_nextblock()
352 __func__, c->nextblock->offset); in jffs2_find_nextblock()
361 struct jffs2_eraseblock *jeb = c->nextblock; in jffs2_do_reserve_space()
423 jeb = c->nextblock; in jffs2_do_reserve_space()
461 jeb = c->nextblock; in jffs2_do_reserve_space()
522 if ((c->nextblock || ((ofs & 3) != REF_OBSOLETE)) in jffs2_add_physical_node_ref()
523 && (jeb != c->nextblock || (ofs & ~3) != jeb->offset + (c->sector_size - jeb->free_size))) { in jffs2_add_physical_node_ref()
526 if (c->nextblock) in jffs2_add_physical_node_ref()
527 pr_warn("nextblock 0x%08x", c->nextblock->offset); in jffs2_add_physical_node_ref()
552 c->nextblock = NULL; in jffs2_add_physical_node_ref()
652 if ((jeb->dirty_size || ISDIRTY(jeb->wasted_size + freed_len)) && jeb != c->nextblock) { in jffs2_mark_node_obsolete()
696 if (jeb == c->nextblock) { in jffs2_mark_node_obsolete()