Home
last modified time | relevance | path

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

/Linux-v6.6/fs/jffs2/
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()
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()
[all …]
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()
Dnodelist.h386 uint32_t *len, int prio, uint32_t sumsize);
388 uint32_t *len, uint32_t sumsize);