Searched refs:sumlen (Results 1 – 2 of 2) sorted by relevance
485 uint32_t sumlen; in jffs2_scan_eraseblock() local492 sumlen = c->sector_size - je32_to_cpu(sm->offset); in jffs2_scan_eraseblock()510 sumlen = c->sector_size - je32_to_cpu(sm->offset); in jffs2_scan_eraseblock()511 sumptr = buf + buf_size - sumlen; in jffs2_scan_eraseblock()514 if (sumlen > c->sector_size) in jffs2_scan_eraseblock()518 if (sumlen > buf_size) { in jffs2_scan_eraseblock()520 sumptr = kmalloc(sumlen, GFP_KERNEL); in jffs2_scan_eraseblock()523 memcpy(sumptr + sumlen - buf_len, buf + buf_size - buf_len, buf_len); in jffs2_scan_eraseblock()525 if (buf_len < sumlen) { in jffs2_scan_eraseblock()528 jeb->offset + c->sector_size - sumlen, in jffs2_scan_eraseblock()[all …]
190 struct jffs2_raw_summary *summary, uint32_t sumlen,