Home
last modified time | relevance | path

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

/linux-4.19.296/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()
Djffs2_fs_sb.h67 uint32_t used_size; member
Dscan.c264 …if ( !c->used_size && ((c->nr_free_blocks+empty_blocks+bad_blocks)!= c->nr_blocks || bad_blocks ==… in jffs2_scan_medium()
311 if ((jeb->used_size + jeb->unchecked_size) == PAD(c->cleanmarker_size) && !jeb->dirty_size in jffs2_scan_classify_jeb()
316 else if (!ISDIRTY(c->sector_size - (jeb->used_size + jeb->unchecked_size))) { in jffs2_scan_classify_jeb()
322 } else if (jeb->used_size || jeb->unchecked_size) in jffs2_scan_classify_jeb()
689 if (buf_ofs == jeb->offset && jeb->used_size == PAD(c->cleanmarker_size) && in jffs2_scan_eraseblock()
948 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()
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()
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()
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()
/linux-4.19.296/lib/
Dbitmap.c518 unsigned int group_size, used_size, off; in __bitmap_parselist() local
525 group_size = used_size = 0; in __bitmap_parselist()
562 used_size = a; in __bitmap_parselist()
605 used_size = group_size = b - a + 1; in __bitmap_parselist()
610 if (!(a <= b) || group_size == 0 || !(used_size <= group_size)) in __bitmap_parselist()
615 off = min(b - a + 1, used_size); in __bitmap_parselist()
/linux-4.19.296/drivers/misc/mic/vop/
Dvop_main.c65 int used_size[VOP_MAX_VRINGS]; member
254 vdev->used_size[n], DMA_BIDIRECTIONAL); in vop_del_vq()
255 free_pages((unsigned long)vr->used, get_order(vdev->used_size[n])); in vop_del_vq()
332 vdev->used_size[index] = PAGE_ALIGN(sizeof(__u16) * 3 + in vop_find_vq()
336 get_order(vdev->used_size[index])); in vop_find_vq()
344 vdev->used_size[index], in vop_find_vq()
367 get_order(vdev->used_size[index])); in vop_find_vq()
Dvop_vringh.c72 int i, used_size; in vop_virtio_init_post() local
75 used_size = PAGE_ALIGN(sizeof(u16) * 3 + in vop_virtio_init_post()
86 used_size); in vop_virtio_init_post()