Home
last modified time | relevance | path

Searched refs:used_size (Results 1 – 12 of 12) sorted by relevance

/fs/jffs2/
Ddebug.c31 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()
172 used += c->gcblock->used_size; in __jffs2_dbg_superblock_counts()
180 used += c->nextblock->used_size; in __jffs2_dbg_superblock_counts()
188 used += jeb->used_size; in __jffs2_dbg_superblock_counts()
196 used += jeb->used_size; in __jffs2_dbg_superblock_counts()
204 used += jeb->used_size; in __jffs2_dbg_superblock_counts()
212 used += jeb->used_size; in __jffs2_dbg_superblock_counts()
[all …]
Dnodemgmt.c160 c->used_size, c->erasing_size, c->bad_size, in jffs2_reserve_space()
162 c->wasted_size + c->used_size + in jffs2_reserve_space()
260 jeb->used_size); in jffs2_close_nextblock()
265 jeb->used_size); in jffs2_close_nextblock()
271 jeb->used_size); in jffs2_close_nextblock()
469 if (c->cleanmarker_size && jeb->used_size == c->cleanmarker_size && in jffs2_do_reserve_space()
536 jeb->used_size); in jffs2_add_physical_node_ref()
624 ref->flash_offset, jeb->used_size); in jffs2_mark_node_obsolete()
632 D1(if (unlikely(jeb->used_size < freed_len)) { in jffs2_mark_node_obsolete()
635 ref->flash_offset, jeb->used_size); in jffs2_mark_node_obsolete()
[all …]
Derase.c134 c->used_size -= jeb->used_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()
Dscan.c264 if (!c->used_size && !c->unchecked_size && in jffs2_scan_medium()
312 if ((jeb->used_size + jeb->unchecked_size) == PAD(c->cleanmarker_size) && !jeb->dirty_size in jffs2_scan_classify_jeb()
317 else if (!ISDIRTY(c->sector_size - (jeb->used_size + jeb->unchecked_size))) { in jffs2_scan_classify_jeb()
323 } else if (jeb->used_size || jeb->unchecked_size) in jffs2_scan_classify_jeb()
693 if (buf_ofs == jeb->offset && jeb->used_size == PAD(c->cleanmarker_size) && in jffs2_scan_eraseblock()
952 jeb->unchecked_size, jeb->used_size, jeb->wasted_size); in jffs2_scan_eraseblock()
Dreadinode.c126 jeb->used_size += len; in check_node_data()
128 c->used_size += len; in check_node_data()
621 jeb->used_size += len; in read_direntry()
623 c->used_size += len; in read_direntry()
823 jeb->used_size += len; in read_dnode()
825 c->used_size += len; in read_dnode()
Dxattr.c188 c->unchecked_size -= totlen; c->used_size += totlen; in do_verify_xattr_datum()
189 jeb->unchecked_size -= totlen; jeb->used_size += totlen; in do_verify_xattr_datum()
494 c->unchecked_size -= totlen; c->used_size += totlen; in verify_xattr_ref()
495 jeb->unchecked_size -= totlen; jeb->used_size += totlen; in verify_xattr_ref()
1314 c->unchecked_size -= totlen; c->used_size += totlen; in jffs2_verify_xattr()
1315 jeb->unchecked_size -= totlen; jeb->used_size += totlen; in jffs2_verify_xattr()
Djffs2_fs_sb.h68 uint32_t used_size; member
Dgc.c281 jeb->offset, jeb->used_size, jeb->dirty_size, jeb->free_size); in jffs2_garbage_collect_pass()
283 …asted_size %08x, free_size %08x\n", c->nextblock->offset, c->nextblock->used_size, c->nextblock->d… in jffs2_garbage_collect_pass()
285 if (!jeb->used_size) { in jffs2_garbage_collect_pass()
301 jeb->dirty_size, jeb->used_size); in jffs2_garbage_collect_pass()
483 if (c->gcblock && !c->gcblock->used_size) { in jffs2_garbage_collect_pass()
Dnodelist.c641 c->used_size += len; in jffs2_link_node_ref()
642 jeb->used_size += len; in jffs2_link_node_ref()
742 jeb->wasted_size, jeb->dirty_size, jeb->used_size, in __jffs2_ref_totlen()
Dsummary.c558 c->used_size -= jeb->used_size; in jffs2_sum_process_sum_data()
560 jeb->wasted_size = jeb->used_size = jeb->dirty_size = 0; in jffs2_sum_process_sum_data()
Dnodelist.h284 uint32_t used_size; member
Dwbuf.c538 jeb->used_size -= rawlen; in jffs2_wbuf_recover()
540 c->used_size -= rawlen; in jffs2_wbuf_recover()