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()
445 struct jffs2_unknown_node crcnode; in jffs2_scan_eraseblock() local748 crcnode.magic = node->magic; in jffs2_scan_eraseblock()749 crcnode.nodetype = cpu_to_je16( je16_to_cpu(node->nodetype) | JFFS2_NODE_ACCURATE); in jffs2_scan_eraseblock()750 crcnode.totlen = node->totlen; in jffs2_scan_eraseblock()751 hdr_crc = crc32(0, &crcnode, sizeof(crcnode)-4); in jffs2_scan_eraseblock()