Home
last modified time | relevance | path

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

/openbmc/linux/fs/jffs2/
H A Ddebug.c32 jeb->free_size + jeb->wasted_size + in __jffs2_dbg_acct_sanity_check_nolock()
173 wasted += c->gcblock->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()
221 wasted += jeb->wasted_size; in __jffs2_dbg_superblock_counts()
229 wasted += jeb->wasted_size; in __jffs2_dbg_superblock_counts()
237 wasted += jeb->wasted_size; in __jffs2_dbg_superblock_counts()
245 wasted += jeb->wasted_size; in __jffs2_dbg_superblock_counts()
[all …]
H A Dnodemgmt.c253 c->dirty_size += jeb->wasted_size; in jffs2_close_nextblock()
254 c->wasted_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()
652 if (jeb->wasted_size) { in jffs2_mark_node_obsolete()
660 addedsize += jeb->wasted_size; in jffs2_mark_node_obsolete()
663 c->wasted_size -= jeb->wasted_size; in jffs2_mark_node_obsolete()
664 jeb->wasted_size = 0; in jffs2_mark_node_obsolete()
670 jeb->wasted_size += freed_len; in jffs2_mark_node_obsolete()
[all …]
H A 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()
319 c->wasted_size += jeb->dirty_size; in jffs2_scan_classify_jeb()
320 jeb->wasted_size += jeb->dirty_size; in jffs2_scan_classify_jeb()
955 if (jeb->wasted_size) { in jffs2_scan_eraseblock()
956 jeb->dirty_size += jeb->wasted_size; in jffs2_scan_eraseblock()
957 c->dirty_size += jeb->wasted_size; in jffs2_scan_eraseblock()
958 c->wasted_size -= jeb->wasted_size; in jffs2_scan_eraseblock()
[all …]
H A 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()
H A 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()
H A Djffs2_fs_sb.h70 uint32_t wasted_size; member
H A 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()
H A 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()
H A 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()
H A Dnodelist.h286 uint32_t wasted_size; member