Home
last modified time | relevance | path

Searched refs:sumsize (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/fs/jffs2/
H A Dnodemgmt.c72 uint32_t *len, uint32_t sumsize);
75 uint32_t *len, int prio, uint32_t sumsize) in jffs2_reserve_space() argument
197 ret = jffs2_do_reserve_space(c, minsize, len, sumsize); in jffs2_reserve_space()
213 uint32_t *len, uint32_t sumsize) in jffs2_reserve_space_gc() argument
222 ret = jffs2_do_reserve_space(c, minsize, len, sumsize); in jffs2_reserve_space_gc()
355 uint32_t *len, uint32_t sumsize) in jffs2_do_reserve_space() argument
364 if (jffs2_sum_active() && (sumsize != JFFS2_SUMMARY_NOSUM_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()
382 sumsize = JFFS2_SUMMARY_NOSUM_SIZE; in jffs2_do_reserve_space()
[all …]
H A Dsummary.c573 struct jffs2_raw_summary *summary, uint32_t sumsize, in jffs2_sum_scan_sumnode() argument
580 ofs = c->sector_size - sumsize; in jffs2_sum_scan_sumnode()
583 jeb->offset, jeb->offset + ofs, sumsize); in jffs2_sum_scan_sumnode()
597 if (je32_to_cpu(summary->totlen) != sumsize) { in jffs2_sum_scan_sumnode()
609 crc = crc32(0, summary->sum, sumsize - sizeof(struct jffs2_raw_summary)); in jffs2_sum_scan_sumnode()
653 sum_link_node_ref(c, jeb, ofs | REF_NORMAL, sumsize, NULL); in jffs2_sum_scan_sumnode()
H A Dnodelist.h386 uint32_t *len, int prio, uint32_t sumsize);
388 uint32_t *len, uint32_t sumsize);
/openbmc/u-boot/fs/jffs2/
H A Djffs2_1pass.c1333 struct jffs2_raw_summary *summary, uint32_t sumsize, in jffs2_sum_scan_sumnode() argument
1340 ofs = part->sector_size - sumsize; in jffs2_sum_scan_sumnode()
1343 offset, offset + ofs, sumsize); in jffs2_sum_scan_sumnode()
1357 if (summary->totlen != sumsize) { in jffs2_sum_scan_sumnode()
1371 sumsize - sizeof(struct jffs2_raw_summary)); in jffs2_sum_scan_sumnode()