Lines Matching refs:free_size
96 …c->nr_free_blocks, c->nr_erasing_blocks, c->free_size, c->dirty_size, c->used_size, c->erasing_siz… in jffs2_reserve_space()
97 c->free_size + c->dirty_size + c->used_size + c->erasing_size + c->bad_size, c->flash_size)); in jffs2_reserve_space()
149 if (jeb && minsize > jeb->free_size) { in jffs2_do_reserve_space()
151 c->dirty_size += jeb->free_size; in jffs2_do_reserve_space()
152 c->free_size -= jeb->free_size; in jffs2_do_reserve_space()
153 jeb->dirty_size += jeb->free_size; in jffs2_do_reserve_space()
154 jeb->free_size = 0; in jffs2_do_reserve_space()
156 jeb->offset, jeb->free_size, jeb->dirty_size, jeb->used_size)); in jffs2_do_reserve_space()
204 if (jeb->free_size != c->sector_size - sizeof(struct jffs2_unknown_node)) { in jffs2_do_reserve_space()
205 …"Eep. Block 0x%08x taken from free_list had free_size of 0x%08x!!\n", jeb->offset, jeb->free_size); in jffs2_do_reserve_space()
211 *ofs = jeb->offset + (c->sector_size - jeb->free_size); in jffs2_do_reserve_space()
212 *len = jeb->free_size; in jffs2_do_reserve_space()
238 …b != c->nextblock || (new->flash_offset & ~3) != jeb->offset + (c->sector_size - jeb->free_size)) { in jffs2_add_physical_node_ref()
251 jeb->free_size -= len; in jffs2_add_physical_node_ref()
252 c->free_size -= len; in jffs2_add_physical_node_ref()
262 if (!jeb->free_size && !jeb->dirty_size) { in jffs2_add_physical_node_ref()
265 jeb->offset, jeb->free_size, jeb->dirty_size, jeb->used_size)); in jffs2_add_physical_node_ref()