Lines Matching defs:sumlen
477 uint32_t sumlen;
484 sumlen = c->sector_size - je32_to_cpu(sm->offset);
502 sumlen = c->sector_size - je32_to_cpu(sm->offset);
503 sumptr = buf + buf_size - sumlen;
506 if (sumlen > buf_size) {
508 sumptr = kmalloc(sumlen, GFP_KERNEL);
511 memcpy(sumptr + sumlen - buf_len, buf + buf_size - buf_len, buf_len);
513 if (buf_len < sumlen) {
516 jeb->offset + c->sector_size - sumlen,
517 sumlen - buf_len);
526 err = jffs2_sum_scan_sumnode(c, jeb, sumptr, sumlen, &pseudo_random);
528 if (buf_size && sumlen > buf_size)