Home
last modified time | relevance | path

Searched refs:nr_erasing_blocks (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/fs/jffs2/
Dnodemgmt.c39 c->nr_erasing_blocks, avail, c->nospc_dirty_size); in jffs2_rp_can_write()
100 while(c->nr_free_blocks + c->nr_erasing_blocks < blocksneeded) { in jffs2_reserve_space()
115 …dirty = c->dirty_size + c->erasing_size - c->nr_erasing_blocks * c->sector_size + c->unchecked_siz… 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()
171 if (c->nr_erasing_blocks && in jffs2_reserve_space()
288 if (!c->nr_erasing_blocks && in jffs2_find_nextblock()
294 c->nr_erasing_blocks++; in jffs2_find_nextblock()
300 if (!c->nr_erasing_blocks && in jffs2_find_nextblock()
[all …]
Djffs2_fs_sb.h78 uint32_t nr_erasing_blocks; member
Dscan.c171 c->nr_erasing_blocks++; in jffs2_scan_medium()
185 c->nr_erasing_blocks++; in jffs2_scan_medium()
226 c->nr_erasing_blocks++; in jffs2_scan_medium()
263 if (c->nr_erasing_blocks) { in jffs2_scan_medium()
1173 if (c->nr_erasing_blocks) { in jffs2_rotate_lists()
1174 rotateby = pseudo_random % c->nr_erasing_blocks; in jffs2_rotate_lists()
Derase.c198 c->nr_erasing_blocks--; in jffs2_erase_failed()
462 c->nr_erasing_blocks--; in jffs2_mark_erased_block()
Dwbuf.c127 c->nr_erasing_blocks++; in jffs2_refile_wbuf_blocks()
160 c->nr_erasing_blocks++; in jffs2_block_refile()
554 c->nr_erasing_blocks++; in jffs2_wbuf_recover()
Dgc.c269 if (c->nr_erasing_blocks) { in jffs2_garbage_collect_pass()
489 c->nr_erasing_blocks++; in jffs2_garbage_collect_pass()
1185 if (c->nr_free_blocks + c->nr_erasing_blocks > c->resv_blocks_gcmerge) { in jffs2_garbage_collect_dnode()