Home
last modified time | relevance | path

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

/linux-4.19.296/fs/jffs2/
Dscan.c486 void *sumptr = NULL; in jffs2_scan_eraseblock() local
493 sumptr = buf + je32_to_cpu(sm->offset); in jffs2_scan_eraseblock()
513 sumptr = buf + buf_size - sumlen; in jffs2_scan_eraseblock()
522 sumptr = kmalloc(sumlen, GFP_KERNEL); in jffs2_scan_eraseblock()
523 if (!sumptr) in jffs2_scan_eraseblock()
525 memcpy(sumptr + sumlen - buf_len, buf + buf_size - buf_len, buf_len); in jffs2_scan_eraseblock()
529 err = jffs2_fill_scan_buf(c, sumptr, in jffs2_scan_eraseblock()
539 if (sumptr) { in jffs2_scan_eraseblock()
540 err = jffs2_sum_scan_sumnode(c, jeb, sumptr, sumlen, &pseudo_random); in jffs2_scan_eraseblock()
543 kfree(sumptr); in jffs2_scan_eraseblock()