Searched refs:dirty_size (Results 1 – 11 of 11) sorted by relevance
/linux-3.4.99/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 | 75 …dirty = c->dirty_size + c->erasing_size - c->nr_erasing_blocks * c->sector_size + c->unchecked_siz… in jffs2_reserve_space() 100 avail = c->free_size + c->dirty_size + c->erasing_size + c->unchecked_size; in jffs2_reserve_space() 119 c->free_size, c->dirty_size, c->wasted_size, in jffs2_reserve_space() 121 c->free_size + c->dirty_size + in jffs2_reserve_space() 210 if (ISDIRTY (jeb->wasted_size + jeb->dirty_size)) { in jffs2_close_nextblock() 211 c->dirty_size += jeb->wasted_size; in jffs2_close_nextblock() 213 jeb->dirty_size += jeb->wasted_size; in jffs2_close_nextblock() 215 if (VERYDIRTY(c, jeb->dirty_size)) { in jffs2_close_nextblock() 217 jeb->offset, jeb->free_size, jeb->dirty_size, in jffs2_close_nextblock() 222 jeb->offset, jeb->free_size, jeb->dirty_size, in jffs2_close_nextblock() [all …]
|
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() 309 if ((jeb->used_size + jeb->unchecked_size) == PAD(c->cleanmarker_size) && !jeb->dirty_size in jffs2_scan_classify_jeb() [all …]
|
D | erase.c | 61 c->dirty_size += c->sector_size; in jffs2_erase_block() 62 jeb->dirty_size = c->sector_size; in jffs2_erase_block() 95 c->dirty_size += c->sector_size; in jffs2_erase_block() 96 jeb->dirty_size = c->sector_size; in jffs2_erase_block() 146 c->dirty_size -= jeb->dirty_size; in jffs2_erase_pending_blocks() 147 jeb->wasted_size = jeb->used_size = jeb->dirty_size = jeb->free_size = 0; in jffs2_erase_pending_blocks() 198 c->dirty_size += c->sector_size; in jffs2_erase_failed() 199 jeb->dirty_size = c->sector_size; in jffs2_erase_failed()
|
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() 261 jeb->offset, jeb->used_size, jeb->dirty_size, jeb->free_size); in jffs2_garbage_collect_pass() 263 … %08x\n", c->nextblock->offset, c->nextblock->used_size, c->nextblock->dirty_size, c->nextblock->w… in jffs2_garbage_collect_pass() 271 gcblock_dirty = jeb->dirty_size; in jffs2_garbage_collect_pass() 281 jeb->dirty_size, jeb->used_size); in jffs2_garbage_collect_pass() 449 if (jeb->dirty_size == gcblock_dirty && !ref_obsolete(jeb->gc_node)) { in jffs2_garbage_collect_pass() 1219 if (!ISDIRTY(jeb->dirty_size + jeb->wasted_size)) { in jffs2_garbage_collect_dnode() 1275 if (!ISDIRTY(jeb->dirty_size + jeb->wasted_size)) { in jffs2_garbage_collect_dnode()
|
D | nodelist.c | 670 c->dirty_size += len; in jffs2_link_node_ref() 671 jeb->dirty_size += len; in jffs2_link_node_ref() 701 c->dirty_size += size; in jffs2_scan_dirty_space() 703 jeb->dirty_size += size; in jffs2_scan_dirty_space() 766 jeb->wasted_size, jeb->dirty_size, jeb->used_size, in __jffs2_ref_totlen()
|
D | jffs2_fs_sb.h | 61 uint32_t dirty_size; member
|
D | wbuf.c | 172 c->dirty_size -= oldfree; in jffs2_block_refile() 173 jeb->dirty_size -= oldfree; in jffs2_block_refile() 536 jeb->dirty_size += rawlen; in jffs2_wbuf_recover() 538 c->dirty_size += rawlen; in jffs2_wbuf_recover() 678 wbuf_jeb->dirty_size -= waste; in __jffs2_flush_wbuf() 679 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 | 281 uint32_t dirty_size; member
|
D | fs.c | 219 avail = c->dirty_size + c->free_size; in jffs2_statfs()
|