Searched refs:dirty_size (Results 1 – 11 of 11) sorted by relevance
/linux-4.19.296/fs/jffs2/ |
D | debug.c | 31 if (unlikely(jeb && jeb->used_size + jeb->dirty_size + in __jffs2_dbg_acct_sanity_check_nolock() 36 jeb->free_size, jeb->dirty_size, jeb->used_size, in __jffs2_dbg_acct_sanity_check_nolock() 41 if (unlikely(c->used_size + c->dirty_size + c->free_size + c->erasing_size + c->bad_size in __jffs2_dbg_acct_sanity_check_nolock() 45 c->free_size, c->dirty_size, c->used_size, c->erasing_size, c->bad_size, in __jffs2_dbg_acct_sanity_check_nolock() 171 dirty += c->gcblock->dirty_size; in __jffs2_dbg_superblock_counts() 179 dirty += c->nextblock->dirty_size; in __jffs2_dbg_superblock_counts() 187 dirty += jeb->dirty_size; in __jffs2_dbg_superblock_counts() 195 dirty += jeb->dirty_size; in __jffs2_dbg_superblock_counts() 203 dirty += jeb->dirty_size; in __jffs2_dbg_superblock_counts() 211 dirty += jeb->dirty_size; in __jffs2_dbg_superblock_counts() [all …]
|
D | nodemgmt.c | 29 avail = c->dirty_size + c->free_size + c->unchecked_size + in jffs2_rp_can_write() 37 opts->rp_size, c->dirty_size, c->free_size, in jffs2_rp_can_write() 115 …dirty = c->dirty_size + c->erasing_size - c->nr_erasing_blocks * c->sector_size + c->unchecked_siz… in jffs2_reserve_space() 140 avail = c->free_size + c->dirty_size + c->erasing_size + c->unchecked_size; in jffs2_reserve_space() 159 c->free_size, c->dirty_size, c->wasted_size, in jffs2_reserve_space() 161 c->free_size + c->dirty_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() 255 jeb->dirty_size += jeb->wasted_size; in jffs2_close_nextblock() 257 if (VERYDIRTY(c, jeb->dirty_size)) { in jffs2_close_nextblock() [all …]
|
D | erase.c | 53 c->dirty_size += c->sector_size; in jffs2_erase_block() 54 jeb->dirty_size = c->sector_size; in jffs2_erase_block() 84 c->dirty_size += c->sector_size; in jffs2_erase_block() 85 jeb->dirty_size = c->sector_size; in jffs2_erase_block() 135 c->dirty_size -= jeb->dirty_size; in jffs2_erase_pending_blocks() 136 jeb->wasted_size = jeb->used_size = jeb->dirty_size = jeb->free_size = 0; in jffs2_erase_pending_blocks() 187 c->dirty_size += c->sector_size; in jffs2_erase_failed() 188 jeb->dirty_size = c->sector_size; in jffs2_erase_failed()
|
D | scan.c | 79 jeb->dirty_size += jeb->wasted_size; in file_dirty() 80 c->dirty_size += jeb->wasted_size; in file_dirty() 83 if (VERYDIRTY(c, jeb->dirty_size)) { in file_dirty() 176 if (!jeb->dirty_size) { in jffs2_scan_medium() 243 if (c->nextblock && (c->nextblock->dirty_size)) { in jffs2_scan_medium() 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() 246 c->dirty_size -= c->nextblock->dirty_size; in jffs2_scan_medium() 247 c->nextblock->dirty_size = 0; in jffs2_scan_medium() 311 if ((jeb->used_size + jeb->unchecked_size) == PAD(c->cleanmarker_size) && !jeb->dirty_size in jffs2_scan_classify_jeb() [all …]
|
D | gc.c | 111 ret->dirty_size += ret->wasted_size; in jffs2_find_gc_block() 113 c->dirty_size += ret->wasted_size; in jffs2_find_gc_block() 281 jeb->offset, jeb->used_size, jeb->dirty_size, jeb->free_size); in jffs2_garbage_collect_pass() 283 … %08x\n", c->nextblock->offset, c->nextblock->used_size, c->nextblock->dirty_size, c->nextblock->w… in jffs2_garbage_collect_pass() 291 gcblock_dirty = jeb->dirty_size; in jffs2_garbage_collect_pass() 301 jeb->dirty_size, jeb->used_size); in jffs2_garbage_collect_pass() 469 if (jeb->dirty_size == gcblock_dirty && !ref_obsolete(jeb->gc_node)) { in jffs2_garbage_collect_pass() 1239 if (!ISDIRTY(jeb->dirty_size + jeb->wasted_size)) { in jffs2_garbage_collect_dnode() 1295 if (!ISDIRTY(jeb->dirty_size + jeb->wasted_size)) { in jffs2_garbage_collect_dnode()
|
D | nodelist.c | 646 c->dirty_size += len; in jffs2_link_node_ref() 647 jeb->dirty_size += len; in jffs2_link_node_ref() 677 c->dirty_size += size; in jffs2_scan_dirty_space() 679 jeb->dirty_size += size; in jffs2_scan_dirty_space() 742 jeb->wasted_size, jeb->dirty_size, jeb->used_size, in __jffs2_ref_totlen()
|
D | jffs2_fs_sb.h | 68 uint32_t dirty_size; member
|
D | wbuf.c | 173 c->dirty_size -= oldfree; in jffs2_block_refile() 174 jeb->dirty_size -= oldfree; in jffs2_block_refile() 537 jeb->dirty_size += rawlen; in jffs2_wbuf_recover() 539 c->dirty_size += rawlen; in jffs2_wbuf_recover() 679 wbuf_jeb->dirty_size -= waste; in __jffs2_flush_wbuf() 680 c->dirty_size -= waste; in __jffs2_flush_wbuf()
|
D | summary.c | 559 c->dirty_size -= jeb->dirty_size; in jffs2_sum_process_sum_data() 560 jeb->wasted_size = jeb->used_size = jeb->dirty_size = 0; in jffs2_sum_process_sum_data()
|
D | nodelist.h | 285 uint32_t dirty_size; member
|
D | fs.c | 223 avail = c->dirty_size + c->free_size; in jffs2_statfs()
|