Home
last modified time | relevance | path

Searched refs:nr_free_blocks (Results 1 – 5 of 5) sorted by relevance

/linux-4.19.296/fs/jffs2/
Dnodemgmt.c100 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()
Djffs2_fs_sb.h76 uint32_t nr_free_blocks; member
Dscan.c179 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()
1174 if (c->nr_free_blocks) { in jffs2_rotate_lists()
1175 rotateby = pseudo_random % c->nr_free_blocks; in jffs2_rotate_lists()
Derase.c465 c->nr_free_blocks++; in jffs2_mark_erased_block()
Dgc.c55 if (!list_empty(&c->bad_used_list) && c->nr_free_blocks > c->resv_blocks_gcbad) { in jffs2_find_gc_block()
1184 if (c->nr_free_blocks + c->nr_erasing_blocks > c->resv_blocks_gcmerge) { in jffs2_garbage_collect_dnode()