Searched refs:sumptr (Results 1 – 2 of 2) sorted by relevance
/linux/fs/jffs2/ |
H A D | scan.c | 487 void *sumptr = NULL; in jffs2_scan_eraseblock() local 494 sumptr = buf + je32_to_cpu(sm->offset); in jffs2_scan_eraseblock() 514 sumptr = buf + buf_size - sumlen; in jffs2_scan_eraseblock() 523 sumptr = kmalloc(sumlen, GFP_KERNEL); in jffs2_scan_eraseblock() 524 if (!sumptr) in jffs2_scan_eraseblock() 526 memcpy(sumptr + sumlen - buf_len, buf + buf_size - buf_len, buf_len); in jffs2_scan_eraseblock() 530 err = jffs2_fill_scan_buf(c, sumptr, in jffs2_scan_eraseblock() 535 kfree(sumptr); in jffs2_scan_eraseblock() 543 if (sumptr) { in jffs2_scan_eraseblock() 544 err = jffs2_sum_scan_sumnode(c, jeb, sumptr, sumlen, &pseudo_random); in jffs2_scan_eraseblock() [all …]
|
/linux/net/mptcp/ |
H A D | options.c | 1338 __sum16 *sumptr = data + 2; in put_len_csum() local 1343 put_unaligned(csum, sumptr); in put_len_csum()
|