Home
last modified time | relevance | path

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

/linux-6.1.9/fs/jffs2/
Ddebug.c32 jeb->free_size + jeb->wasted_size + in __jffs2_dbg_acct_sanity_check_nolock()
37 jeb->wasted_size, jeb->unchecked_size, c->sector_size); in __jffs2_dbg_acct_sanity_check_nolock()
42 + c->wasted_size + c->unchecked_size != c->flash_size)) { in __jffs2_dbg_acct_sanity_check_nolock()
46 c->wasted_size, c->unchecked_size, c->flash_size); in __jffs2_dbg_acct_sanity_check_nolock()
173 wasted += c->gcblock->wasted_size; in __jffs2_dbg_superblock_counts()
181 wasted += c->nextblock->wasted_size; in __jffs2_dbg_superblock_counts()
189 wasted += jeb->wasted_size; in __jffs2_dbg_superblock_counts()
197 wasted += jeb->wasted_size; in __jffs2_dbg_superblock_counts()
205 wasted += jeb->wasted_size; in __jffs2_dbg_superblock_counts()
213 wasted += jeb->wasted_size; in __jffs2_dbg_superblock_counts()
[all …]
Dnodemgmt.c159 c->free_size, c->dirty_size, c->wasted_size, in jffs2_reserve_space()
162 c->wasted_size + c->used_size + in jffs2_reserve_space()
252 if (ISDIRTY (jeb->wasted_size + jeb->dirty_size)) { in jffs2_close_nextblock()
253 c->dirty_size += jeb->wasted_size; in jffs2_close_nextblock()
254 c->wasted_size -= jeb->wasted_size; in jffs2_close_nextblock()
255 jeb->dirty_size += jeb->wasted_size; in jffs2_close_nextblock()
256 jeb->wasted_size = 0; in jffs2_close_nextblock()
443 jeb->wasted_size += waste; in jffs2_do_reserve_space()
444 c->wasted_size += waste; in jffs2_do_reserve_space()
532 if (!jeb->free_size && !jeb->dirty_size && !ISDIRTY(jeb->wasted_size)) { in jffs2_add_physical_node_ref()
[all …]
Dscan.c79 jeb->dirty_size += jeb->wasted_size; in file_dirty()
80 c->dirty_size += jeb->wasted_size; in file_dirty()
81 c->wasted_size -= jeb->wasted_size; in file_dirty()
82 jeb->wasted_size = 0; in file_dirty()
244 c->nextblock->wasted_size += c->nextblock->dirty_size; in jffs2_scan_medium()
245 c->wasted_size += c->nextblock->dirty_size; in jffs2_scan_medium()
319 c->wasted_size += jeb->dirty_size; in jffs2_scan_classify_jeb()
320 jeb->wasted_size += jeb->dirty_size; in jffs2_scan_classify_jeb()
952 jeb->unchecked_size, jeb->used_size, jeb->wasted_size); in jffs2_scan_eraseblock()
955 if (jeb->wasted_size) { in jffs2_scan_eraseblock()
[all …]
Dgc.c108 if (ret->wasted_size) { in jffs2_find_gc_block()
110 ret->wasted_size); in jffs2_find_gc_block()
111 ret->dirty_size += ret->wasted_size; in jffs2_find_gc_block()
112 c->wasted_size -= ret->wasted_size; in jffs2_find_gc_block()
113 c->dirty_size += ret->wasted_size; in jffs2_find_gc_block()
114 ret->wasted_size = 0; in jffs2_find_gc_block()
283 …fset, c->nextblock->used_size, c->nextblock->dirty_size, c->nextblock->wasted_size, c->nextblock->… in jffs2_garbage_collect_pass()
1240 if (!ISDIRTY(jeb->dirty_size + jeb->wasted_size)) { in jffs2_garbage_collect_dnode()
1296 if (!ISDIRTY(jeb->dirty_size + jeb->wasted_size)) { in jffs2_garbage_collect_dnode()
Derase.c130 c->wasted_size -= jeb->wasted_size; in jffs2_erase_pending_blocks()
134 jeb->wasted_size = jeb->used_size = jeb->dirty_size = jeb->free_size = 0; in jffs2_erase_pending_blocks()
Djffs2_fs_sb.h70 uint32_t wasted_size; member
Dsummary.c556 c->wasted_size -= jeb->wasted_size; in jffs2_sum_process_sum_data()
560 jeb->wasted_size = jeb->used_size = jeb->dirty_size = 0; in jffs2_sum_process_sum_data()
658 jeb->wasted_size += jeb->free_size; in jffs2_sum_scan_sumnode()
659 c->wasted_size += jeb->free_size; in jffs2_sum_scan_sumnode()
Dwbuf.c171 c->wasted_size += oldfree; in jffs2_block_refile()
172 jeb->wasted_size += oldfree; in jffs2_block_refile()
681 wbuf_jeb->wasted_size += waste; in __jffs2_flush_wbuf()
682 c->wasted_size += waste; in __jffs2_flush_wbuf()
Dnodelist.c669 size, jeb->free_size, jeb->wasted_size); in jffs2_scan_dirty_space()
742 jeb->wasted_size, jeb->dirty_size, jeb->used_size, in __jffs2_ref_totlen()
Dnodelist.h286 uint32_t wasted_size; member