Home
last modified time | relevance | path

Searched refs:free_size (Results 1 – 10 of 10) sorted by relevance

/linux-2.4.37.9/fs/jffs2/
Dnodemgmt.c96 …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()
[all …]
Dnodelist.h176 __u32 free_size; /* Note that sector_size - free_size member
193 if (jeb->used_size + jeb->dirty_size + jeb->free_size != c->sector_size) { \
196 jeb->free_size, jeb->dirty_size, jeb->used_size, c->sector_size); \
199 …if (c->used_size + c->dirty_size + c->free_size + c->erasing_size + c->bad_size != c->flash_size) …
202 c->free_size, c->dirty_size, c->used_size, c->erasing_size, c->bad_size, c->flash_size); \
Derase.c124 c->free_size -= jeb->free_size; in jffs2_erase_pending_blocks()
127 jeb->used_size = jeb->dirty_size = jeb->free_size = 0; in jffs2_erase_pending_blocks()
355 jeb->free_size = c->sector_size - marker_ref->totlen; in jffs2_mark_erased_blocks()
361 c->free_size += jeb->free_size; in jffs2_mark_erased_blocks()
Dscan.c47 c->free_size -= _x; c->dirty_size += _x; \
48 jeb->free_size -= _x ; jeb->dirty_size += _x; \
51 c->free_size -= _x; c->used_size += _x; \
52 jeb->free_size -= _x ; jeb->used_size += _x; \
131 if (jeb->free_size > 2*sizeof(struct jffs2_raw_inode) && in jffs2_scan_medium()
132 (!c->nextblock || c->nextblock->free_size < jeb->free_size)) { in jffs2_scan_medium()
342 jeb->free_size, jeb->dirty_size, jeb->used_size)); in jffs2_scan_eraseblock()
Dsuper.c88 avail = c->dirty_size + c->free_size; in jffs2_statfs()
101 printk(KERN_DEBUG "free_size: %08x\n", c->free_size); in jffs2_statfs()
217 c->free_size = c->flash_size = c->mtd->size; in jffs2_read_super()
225 c->blocks[i].free_size = c->sector_size; in jffs2_read_super()
Dgc.c150 jeb->offset, jeb->free_size, jeb->dirty_size, jeb->used_size); in jffs2_garbage_collect_pass()
/linux-2.4.37.9/fs/jffs/
Djffs_fm.c63 fmc->free_size = mtd->size; in jffs_build_begin()
218 if (free_chunk_size1 + free_chunk_size2 != fmc->free_size) { in jffs_fmalloc()
220 …hunk_size2 == 0x%x, fmc->free_size == 0x%x\n", free_chunk_size1, free_chunk_size2, fmc->free_size); in jffs_fmalloc()
256 fmc->free_size -= size; in jffs_fmalloc()
269 fmc->free_size -= fm->size; in jffs_fmalloc()
393 fmc->free_size -= size; in jffs_fmalloced()
398 fmc->free_size -= size; in jffs_fmalloced()
463 fmc->free_size += size; in jffs_fmfree_partly()
521 fmc->free_size += erased_size; in jffs_sync_erase()
753 D(printk(" %u, /* free_size */\n", fmc->free_size)); in jffs_print_fmcontrol()
Djffs_fm.h93 __u32 free_size; member
Dintrep.c1263 if (free_chunk_size1 + free_chunk_size2 != fmc->free_size) { in jffs_scan_flash()
1268 free_chunk_size1, free_chunk_size2, fmc->free_size); in jffs_scan_flash()
1793 while(fmc->free_size < fmc->min_free_size + total_size + slack) { in jffs_write_node()
2981 if (space_needed > fmc->free_size) { in jffs_garbage_collect_next()
2989 space_needed, fmc->free_size)); in jffs_garbage_collect_next()
2992 extra_available = fmc->free_size - space_needed; in jffs_garbage_collect_next()
3214 fmc->dirty_size, fmc->free_size, jffs_free_size1(fmc), jffs_free_size2(fmc))); in jffs_garbage_collect_now()
3235 if (fmc->free_size == 0) { in jffs_garbage_collect_now()
3289 c->fmc->free_size, c->fmc->dirty_size, c->fmc->sector_size)); in thread_should_wake()
3308 if (c->fmc->free_size < c->gc_minfree_threshold) { in thread_should_wake()
[all …]
/linux-2.4.37.9/include/linux/
Djffs2_fs_sb.h43 __u32 free_size; member