Lines Matching refs:nextblock
199 (!c->nextblock || c->nextblock->free_size < jeb->free_size)) { in jffs2_scan_medium()
201 if (c->nextblock) { in jffs2_scan_medium()
202 ret = file_dirty(c, c->nextblock); in jffs2_scan_medium()
212 c->nextblock = jeb; in jffs2_scan_medium()
243 if (c->nextblock && (c->nextblock->dirty_size)) { in jffs2_scan_medium()
244 c->nextblock->wasted_size += c->nextblock->dirty_size; in jffs2_scan_medium()
245 c->wasted_size += c->nextblock->dirty_size; in jffs2_scan_medium()
246 c->dirty_size -= c->nextblock->dirty_size; in jffs2_scan_medium()
247 c->nextblock->dirty_size = 0; in jffs2_scan_medium()
250 …if (!jffs2_can_mark_obsolete(c) && c->wbuf_pagesize && c->nextblock && (c->nextblock->free_size % … in jffs2_scan_medium()
255 uint32_t skip = c->nextblock->free_size % c->wbuf_pagesize; in jffs2_scan_medium()
259 jffs2_prealloc_raw_node_refs(c, c->nextblock, 1); in jffs2_scan_medium()
260 jffs2_scan_dirty_space(c, c->nextblock, skip); in jffs2_scan_medium()