Searched refs:sum_size (Results 1 – 4 of 4) sorted by relevance
28 uint32_t sum_size = min_t(uint32_t, c->sector_size, MAX_SUMMARY_SIZE); in jffs2_sum_init() local37 c->summary->sum_buf = kmalloc(sum_size, GFP_KERNEL); in jffs2_sum_init()73 s->sum_size += JFFS2_SUMMARY_INODE_SIZE; in jffs2_sum_add_mem()79 s->sum_size += JFFS2_SUMMARY_DIRENT_SIZE(item->d.nsize); in jffs2_sum_add_mem()86 s->sum_size += JFFS2_SUMMARY_XATTR_SIZE; in jffs2_sum_add_mem()92 s->sum_size += JFFS2_SUMMARY_XREF_SIZE; in jffs2_sum_add_mem()214 s->sum_size = 0; in jffs2_sum_reset_collected()221 s->sum_size = JFFS2_SUMMARY_NOSUM_SIZE; in jffs2_sum_disable_collecting()226 return (s->sum_size == JFFS2_SUMMARY_NOSUM_SIZE); in jffs2_sum_is_disabled()234 c->summary->sum_size, c->summary->sum_num, in jffs2_sum_move_collected()[all …]
368 reserved_size = PAD(sumsize + c->summary->sum_size + JFFS2_SUMMARY_FRAME_SIZE); in jffs2_do_reserve_space()372 c->summary->sum_size, sumsize); in jffs2_do_reserve_space()377 if (jeb && (PAD(minsize) + PAD(c->summary->sum_size + sumsize + in jffs2_do_reserve_space()404 reserved_size = PAD(sumsize + c->summary->sum_size + JFFS2_SUMMARY_FRAME_SIZE); in jffs2_do_reserve_space()
153 uint32_t sum_size; /* collected summary information for nextblock */ member
939 if (PAD(s->sum_size + JFFS2_SUMMARY_FRAME_SIZE) > jeb->free_size) { in jffs2_scan_eraseblock()