Lines Matching refs:dirty_size

29 	avail = c->dirty_size + c->free_size + c->unchecked_size +
34 jffs2_dbg(1, "rpsize %u, dirty_size %u, free_size %u, "
37 opts->rp_size, c->dirty_size, c->free_size,
104 * dirty_size contains blocks on erase_pending_list
109 * Blocks on erasable_list are counted as dirty_size, but not in c->nr_erasing_blocks
115 dirty = c->dirty_size + c->erasing_size - c->nr_erasing_blocks * c->sector_size + c->unchecked_size;
140 avail = c->free_size + c->dirty_size + c->erasing_size + c->unchecked_size;
157 jffs2_dbg(1, "Triggering GC pass. nr_free_blocks %d, nr_erasing_blocks %d, free_size 0x%08x, dirty_size 0x%08x, wasted_size 0x%08x, used_size 0x%08x, erasing_size 0x%08x, bad_size 0x%08x (total 0x%08x of 0x%08x)\n",
159 c->free_size, c->dirty_size, c->wasted_size,
161 c->free_size + c->dirty_size +
252 if (ISDIRTY (jeb->wasted_size + jeb->dirty_size)) {
253 c->dirty_size += jeb->wasted_size;
255 jeb->dirty_size += jeb->wasted_size;
257 if (VERYDIRTY(c, jeb->dirty_size)) {
259 jeb->offset, jeb->free_size, jeb->dirty_size,
264 jeb->offset, jeb->free_size, jeb->dirty_size,
270 jeb->offset, jeb->free_size, jeb->dirty_size,
441 jeb->dirty_size -= waste;
442 c->dirty_size -= waste;
532 if (!jeb->free_size && !jeb->dirty_size && !ISDIRTY(jeb->wasted_size)) {
535 jeb->offset, jeb->free_size, jeb->dirty_size,
645 if ((jeb->dirty_size || ISDIRTY(jeb->wasted_size + freed_len)) && jeb != c->nextblock) {
648 jeb->dirty_size += freed_len;
649 c->dirty_size += freed_len;
661 jeb->dirty_size += jeb->wasted_size;
662 c->dirty_size += jeb->wasted_size;
724 } else if (ISDIRTY(jeb->dirty_size) && !ISDIRTY(jeb->dirty_size - addedsize)) {
730 } else if (VERYDIRTY(c, jeb->dirty_size) &&
731 !VERYDIRTY(c, jeb->dirty_size - addedsize)) {
739 jeb->offset, jeb->free_size, jeb->dirty_size,
854 /* dirty_size contains blocks on erase_pending_list
859 * Blocks on erasable_list are counted as dirty_size, but not in c->nr_erasing_blocks
862 dirty = c->dirty_size + c->erasing_size - c->nr_erasing_blocks * c->sector_size;
878 jffs2_dbg(1, "%s(): nr_free_blocks %d, nr_erasing_blocks %d, dirty_size 0x%x, vdirty_blocks %d: %s\n",
880 c->dirty_size, nr_very_dirty, ret ? "yes" : "no");