Lines Matching refs:wasted_size
119 c->free_size, c->dirty_size, c->wasted_size, in jffs2_reserve_space()
122 c->wasted_size + c->used_size + in jffs2_reserve_space()
210 if (ISDIRTY (jeb->wasted_size + jeb->dirty_size)) { in jffs2_close_nextblock()
211 c->dirty_size += jeb->wasted_size; in jffs2_close_nextblock()
212 c->wasted_size -= jeb->wasted_size; in jffs2_close_nextblock()
213 jeb->dirty_size += jeb->wasted_size; in jffs2_close_nextblock()
214 jeb->wasted_size = 0; in jffs2_close_nextblock()
401 jeb->wasted_size += waste; in jffs2_do_reserve_space()
402 c->wasted_size += waste; in jffs2_do_reserve_space()
490 if (!jeb->free_size && !jeb->dirty_size && !ISDIRTY(jeb->wasted_size)) { in jffs2_add_physical_node_ref()
603 if ((jeb->dirty_size || ISDIRTY(jeb->wasted_size + freed_len)) && jeb != c->nextblock) { in jffs2_mark_node_obsolete()
610 if (jeb->wasted_size) { in jffs2_mark_node_obsolete()
617 jeb->wasted_size, jeb->offset); in jffs2_mark_node_obsolete()
618 addedsize += jeb->wasted_size; in jffs2_mark_node_obsolete()
619 jeb->dirty_size += jeb->wasted_size; in jffs2_mark_node_obsolete()
620 c->dirty_size += jeb->wasted_size; in jffs2_mark_node_obsolete()
621 c->wasted_size -= jeb->wasted_size; in jffs2_mark_node_obsolete()
622 jeb->wasted_size = 0; in jffs2_mark_node_obsolete()
628 jeb->wasted_size += freed_len; in jffs2_mark_node_obsolete()
629 c->wasted_size += freed_len; in jffs2_mark_node_obsolete()