Searched refs:crcnode (Results 1 – 2 of 2) sorted by relevance
576 struct jffs2_unknown_node crcnode; in jffs2_sum_scan_sumnode() local586 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()
448 struct jffs2_unknown_node crcnode; in jffs2_scan_eraseblock() local759 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()