Lines Matching refs:wasted_size
159 c->free_size, c->dirty_size, c->wasted_size, in jffs2_reserve_space()
162 c->wasted_size + c->used_size + in jffs2_reserve_space()
252 if (ISDIRTY (jeb->wasted_size + jeb->dirty_size)) { in jffs2_close_nextblock()
253 c->dirty_size += jeb->wasted_size; in jffs2_close_nextblock()
254 c->wasted_size -= jeb->wasted_size; in jffs2_close_nextblock()
255 jeb->dirty_size += jeb->wasted_size; in jffs2_close_nextblock()
256 jeb->wasted_size = 0; in jffs2_close_nextblock()
443 jeb->wasted_size += waste; in jffs2_do_reserve_space()
444 c->wasted_size += waste; in jffs2_do_reserve_space()
532 if (!jeb->free_size && !jeb->dirty_size && !ISDIRTY(jeb->wasted_size)) { in jffs2_add_physical_node_ref()
645 if ((jeb->dirty_size || ISDIRTY(jeb->wasted_size + freed_len)) && jeb != c->nextblock) { in jffs2_mark_node_obsolete()
652 if (jeb->wasted_size) { in jffs2_mark_node_obsolete()
659 jeb->wasted_size, jeb->offset); in jffs2_mark_node_obsolete()
660 addedsize += jeb->wasted_size; in jffs2_mark_node_obsolete()
661 jeb->dirty_size += jeb->wasted_size; in jffs2_mark_node_obsolete()
662 c->dirty_size += jeb->wasted_size; in jffs2_mark_node_obsolete()
663 c->wasted_size -= jeb->wasted_size; in jffs2_mark_node_obsolete()
664 jeb->wasted_size = 0; in jffs2_mark_node_obsolete()
670 jeb->wasted_size += freed_len; in jffs2_mark_node_obsolete()
671 c->wasted_size += freed_len; in jffs2_mark_node_obsolete()