Home
last modified time | relevance | path

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

/linux-6.1.9/fs/jffs2/
Dsummary.c576 struct jffs2_unknown_node crcnode; in jffs2_sum_scan_sumnode() local
586 crcnode.magic = cpu_to_je16(JFFS2_MAGIC_BITMASK); in jffs2_sum_scan_sumnode()
587 crcnode.nodetype = cpu_to_je16(JFFS2_NODETYPE_SUMMARY); in jffs2_sum_scan_sumnode()
588 crcnode.totlen = summary->totlen; in jffs2_sum_scan_sumnode()
589 crc = crc32(0, &crcnode, sizeof(crcnode)-4); in jffs2_sum_scan_sumnode()
Dscan.c448 struct jffs2_unknown_node crcnode; in jffs2_scan_eraseblock() local
759 crcnode.magic = node->magic; in jffs2_scan_eraseblock()
760 crcnode.nodetype = cpu_to_je16( je16_to_cpu(node->nodetype) | JFFS2_NODE_ACCURATE); in jffs2_scan_eraseblock()
761 crcnode.totlen = node->totlen; in jffs2_scan_eraseblock()
762 hdr_crc = crc32(0, &crcnode, sizeof(crcnode)-4); in jffs2_scan_eraseblock()