Lines Matching refs:free_size
29 avail = c->dirty_size + c->free_size + c->unchecked_size + in jffs2_rp_can_write()
37 opts->rp_size, c->dirty_size, c->free_size, in jffs2_rp_can_write()
140 avail = c->free_size + c->dirty_size + c->erasing_size + c->unchecked_size; in jffs2_reserve_space()
159 c->free_size, c->dirty_size, c->wasted_size, in jffs2_reserve_space()
161 c->free_size + c->dirty_size + in jffs2_reserve_space()
259 jeb->offset, jeb->free_size, jeb->dirty_size, in jffs2_close_nextblock()
264 jeb->offset, jeb->free_size, jeb->dirty_size, in jffs2_close_nextblock()
270 jeb->offset, jeb->free_size, jeb->dirty_size, in jffs2_close_nextblock()
371 minsize, jeb->free_size, in jffs2_do_reserve_space()
378 JFFS2_SUMMARY_FRAME_SIZE) > jeb->free_size)) { in jffs2_do_reserve_space()
407 if (jeb && minsize > jeb->free_size) { in jffs2_do_reserve_space()
436 waste = jeb->free_size; in jffs2_do_reserve_space()
459 if (jeb->free_size != c->sector_size - c->cleanmarker_size) { in jffs2_do_reserve_space()
461 jeb->offset, jeb->free_size); in jffs2_do_reserve_space()
467 *len = jeb->free_size - reserved_size; in jffs2_do_reserve_space()
484 *len, jeb->offset + (c->sector_size - jeb->free_size)); in jffs2_do_reserve_space()
516 && (jeb != c->nextblock || (ofs & ~3) != jeb->offset + (c->sector_size - jeb->free_size))) { in jffs2_add_physical_node_ref()
524 jeb->offset + (c->sector_size - jeb->free_size)); in jffs2_add_physical_node_ref()
532 if (!jeb->free_size && !jeb->dirty_size && !ISDIRTY(jeb->wasted_size)) { in jffs2_add_physical_node_ref()
535 jeb->offset, jeb->free_size, jeb->dirty_size, in jffs2_add_physical_node_ref()
739 jeb->offset, jeb->free_size, jeb->dirty_size, in jffs2_mark_node_obsolete()