Searched refs:nr_free_blocks (Results 1 – 5 of 5) sorted by relevance
60 while(c->nr_free_blocks + c->nr_erasing_blocks < blocksneeded) { in jffs2_reserve_space()77 …if (prio == ALLOC_DELETION && c->nr_free_blocks + c->nr_erasing_blocks >= c->resv_blocks_deletion)… in jffs2_reserve_space()102 …if (prio == ALLOC_DELETION && c->nr_free_blocks + c->nr_erasing_blocks >= c->resv_blocks_deletion)… in jffs2_reserve_space()118 c->nr_free_blocks, c->nr_erasing_blocks, in jffs2_reserve_space()274 c->nr_erasing_blocks, c->nr_free_blocks, in jffs2_find_nextblock()295 c->nr_free_blocks--; in jffs2_find_nextblock()822 if (c->nr_free_blocks + c->nr_erasing_blocks < c->resv_blocks_gctrigger && in jffs2_thread_should_wake()837 __func__, c->nr_free_blocks, c->nr_erasing_blocks, in jffs2_thread_should_wake()
69 uint32_t nr_free_blocks; member
179 c->nr_free_blocks++; in jffs2_scan_medium()264 …if ( !c->used_size && ((c->nr_free_blocks+empty_blocks+bad_blocks)!= c->nr_blocks || bad_blocks ==… in jffs2_scan_medium()1167 if (c->nr_free_blocks) { in jffs2_rotate_lists()1168 rotateby = pseudo_random % c->nr_free_blocks; in jffs2_rotate_lists()
492 c->nr_free_blocks++; in jffs2_mark_erased_block()
55 if (!list_empty(&c->bad_used_list) && c->nr_free_blocks > c->resv_blocks_gcbad) { in jffs2_find_gc_block()1164 if (c->nr_free_blocks + c->nr_erasing_blocks > c->resv_blocks_gcmerge) { in jffs2_garbage_collect_dnode()