Lines Matching refs:freed_len
586 uint32_t freed_len; in jffs2_mark_node_obsolete() local
618 freed_len = ref_totlen(c, jeb, ref); in jffs2_mark_node_obsolete()
621 D1(if (unlikely(jeb->unchecked_size < freed_len)) { in jffs2_mark_node_obsolete()
623 freed_len, blocknr, in jffs2_mark_node_obsolete()
628 ref_offset(ref), freed_len); in jffs2_mark_node_obsolete()
629 jeb->unchecked_size -= freed_len; in jffs2_mark_node_obsolete()
630 c->unchecked_size -= freed_len; in jffs2_mark_node_obsolete()
632 D1(if (unlikely(jeb->used_size < freed_len)) { in jffs2_mark_node_obsolete()
634 freed_len, blocknr, in jffs2_mark_node_obsolete()
639 ref_offset(ref), freed_len); in jffs2_mark_node_obsolete()
640 jeb->used_size -= freed_len; in jffs2_mark_node_obsolete()
641 c->used_size -= freed_len; in jffs2_mark_node_obsolete()
645 if ((jeb->dirty_size || ISDIRTY(jeb->wasted_size + freed_len)) && jeb != c->nextblock) { in jffs2_mark_node_obsolete()
647 addedsize = freed_len; in jffs2_mark_node_obsolete()
648 jeb->dirty_size += freed_len; in jffs2_mark_node_obsolete()
649 c->dirty_size += freed_len; 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()
769 if (PAD(je32_to_cpu(n.totlen)) != PAD(freed_len)) { in jffs2_mark_node_obsolete()
771 je32_to_cpu(n.totlen), freed_len); in jffs2_mark_node_obsolete()