Searched refs:nr_free_blocks (Results 1 – 5 of 5) sorted by relevance
100 while(c->nr_free_blocks + c->nr_erasing_blocks < blocksneeded) { in jffs2_reserve_space()117 …if (prio == ALLOC_DELETION && c->nr_free_blocks + c->nr_erasing_blocks >= c->resv_blocks_deletion)… in jffs2_reserve_space()142 …if (prio == ALLOC_DELETION && c->nr_free_blocks + c->nr_erasing_blocks >= c->resv_blocks_deletion)… in jffs2_reserve_space()158 c->nr_free_blocks, c->nr_erasing_blocks, in jffs2_reserve_space()316 c->nr_erasing_blocks, c->nr_free_blocks, in jffs2_find_nextblock()337 c->nr_free_blocks--; in jffs2_find_nextblock()864 if (c->nr_free_blocks + c->nr_erasing_blocks < c->resv_blocks_gctrigger && in jffs2_thread_should_wake()879 __func__, c->nr_free_blocks, c->nr_erasing_blocks, in jffs2_thread_should_wake()
77 uint32_t nr_free_blocks; member
179 c->nr_free_blocks++; in jffs2_scan_medium()265 ((c->nr_free_blocks+empty_blocks+bad_blocks) != c->nr_blocks || bad_blocks == c->nr_blocks)) { in jffs2_scan_medium()1178 if (c->nr_free_blocks) { in jffs2_rotate_lists()1179 rotateby = pseudo_random % c->nr_free_blocks; in jffs2_rotate_lists()
463 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()1185 if (c->nr_free_blocks + c->nr_erasing_blocks > c->resv_blocks_gcmerge) { in jffs2_garbage_collect_dnode()