Searched refs:summary (Results 1 – 10 of 10) sorted by relevance
30 c->summary = kzalloc(sizeof(struct jffs2_summary), GFP_KERNEL); in jffs2_sum_init()32 if (!c->summary) { in jffs2_sum_init()37 c->summary->sum_buf = kmalloc(sum_size, GFP_KERNEL); in jffs2_sum_init()39 if (!c->summary->sum_buf) { in jffs2_sum_init()41 kfree(c->summary); in jffs2_sum_init()54 jffs2_sum_disable_collecting(c->summary); in jffs2_sum_exit()56 kfree(c->summary->sum_buf); in jffs2_sum_exit()57 c->summary->sum_buf = NULL; in jffs2_sum_exit()59 kfree(c->summary); in jffs2_sum_exit()60 c->summary = NULL; in jffs2_sum_exit()[all …]
339 jffs2_sum_reset_collected(c->summary); /* reset collected summary */ in jffs2_find_nextblock()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()381 if (jffs2_sum_is_disabled(c->summary)) { in jffs2_do_reserve_space()393 if (jffs2_sum_is_disabled(c->summary)) { in jffs2_do_reserve_space()404 reserved_size = PAD(sumsize + c->summary->sum_size + JFFS2_SUMMARY_FRAME_SIZE); in jffs2_do_reserve_space()
54 bool "JFFS2 summary support"58 This feature makes it possible to use summary information61 The summary information can be inserted into a filesystem image
22 jffs2-$(CONFIG_JFFS2_SUMMARY) += summary.o
143 struct jffs2_summary *summary; /* Summary information */ member
190 struct jffs2_raw_summary *summary, uint32_t sumlen,
410 c->summary = NULL; in jffs2_do_mount_fs()
397 jffs2_sum_disable_collecting(c->summary); in jffs2_wbuf_recover()
206 jffs2_sum_reset_collected(c->summary); in jffs2_scan_medium()
4240 struct f2fs_summary *summary; in write_compacted_summaries() local4269 summary = (struct f2fs_summary *)(kaddr + written_size); in write_compacted_summaries()4270 *summary = seg_i->sum_blk->entries[j]; in write_compacted_summaries()