crc32 787 fs/jffs2/debug.c crc = crc32(0, &node.u, sizeof(node.u) - 4); crc32 824 fs/jffs2/debug.c crc = crc32(0, &node.i, sizeof(node.i) - 8); crc32 846 fs/jffs2/debug.c crc = crc32(0, &node.d, sizeof(node.d) - 8); crc32 350 fs/jffs2/dir.c ri->hdr_crc = cpu_to_je32(crc32(0, ri, sizeof(struct jffs2_unknown_node)-4)); crc32 353 fs/jffs2/dir.c ri->data_crc = cpu_to_je32(crc32(0, target, targetlen)); crc32 354 fs/jffs2/dir.c ri->node_crc = cpu_to_je32(crc32(0, ri, sizeof(*ri)-8)); crc32 422 fs/jffs2/dir.c rd->hdr_crc = cpu_to_je32(crc32(0, rd, sizeof(struct jffs2_unknown_node)-4)); crc32 430 fs/jffs2/dir.c rd->node_crc = cpu_to_je32(crc32(0, rd, sizeof(*rd)-8)); crc32 431 fs/jffs2/dir.c rd->name_crc = cpu_to_je32(crc32(0, dentry->d_name.name, namelen)); crc32 513 fs/jffs2/dir.c ri->node_crc = cpu_to_je32(crc32(0, ri, sizeof(*ri)-8)); crc32 567 fs/jffs2/dir.c rd->hdr_crc = cpu_to_je32(crc32(0, rd, sizeof(struct jffs2_unknown_node)-4)); crc32 575 fs/jffs2/dir.c rd->node_crc = cpu_to_je32(crc32(0, rd, sizeof(*rd)-8)); crc32 576 fs/jffs2/dir.c rd->name_crc = cpu_to_je32(crc32(0, dentry->d_name.name, namelen)); crc32 683 fs/jffs2/dir.c ri->hdr_crc = cpu_to_je32(crc32(0, ri, sizeof(struct jffs2_unknown_node)-4)); crc32 686 fs/jffs2/dir.c ri->data_crc = cpu_to_je32(crc32(0, &dev, devlen)); crc32 687 fs/jffs2/dir.c ri->node_crc = cpu_to_je32(crc32(0, ri, sizeof(*ri)-8)); crc32 741 fs/jffs2/dir.c rd->hdr_crc = cpu_to_je32(crc32(0, rd, sizeof(struct jffs2_unknown_node)-4)); crc32 752 fs/jffs2/dir.c rd->node_crc = cpu_to_je32(crc32(0, rd, sizeof(*rd)-8)); crc32 753 fs/jffs2/dir.c rd->name_crc = cpu_to_je32(crc32(0, dentry->d_name.name, namelen)); crc32 439 fs/jffs2/erase.c marker.hdr_crc = cpu_to_je32(crc32(0, &marker, sizeof(struct jffs2_unknown_node)-4)); crc32 163 fs/jffs2/file.c ri.hdr_crc = cpu_to_je32(crc32(0, &ri, sizeof(struct jffs2_unknown_node)-4)); crc32 176 fs/jffs2/file.c ri.node_crc = cpu_to_je32(crc32(0, &ri, sizeof(ri)-8)); crc32 92 fs/jffs2/fs.c ri->hdr_crc = cpu_to_je32(crc32(0, ri, sizeof(struct jffs2_unknown_node)-4)); crc32 124 fs/jffs2/fs.c ri->node_crc = cpu_to_je32(crc32(0, ri, sizeof(*ri)-8)); crc32 126 fs/jffs2/fs.c ri->data_crc = cpu_to_je32(crc32(0, mdata, mdatalen)); crc32 581 fs/jffs2/gc.c crc = crc32(0, node, sizeof(struct jffs2_unknown_node)-4); crc32 590 fs/jffs2/gc.c crc = crc32(0, node, sizeof(node->i)-8); crc32 598 fs/jffs2/gc.c crc = crc32(0, node->i.data, je32_to_cpu(node->i.csize)); crc32 608 fs/jffs2/gc.c crc = crc32(0, node, sizeof(node->d)-8); crc32 621 fs/jffs2/gc.c crc = crc32(0, node->d.name, node->d.nsize); crc32 750 fs/jffs2/gc.c ri.hdr_crc = cpu_to_je32(crc32(0, &ri, sizeof(struct jffs2_unknown_node)-4)); crc32 765 fs/jffs2/gc.c ri.node_crc = cpu_to_je32(crc32(0, &ri, sizeof(ri)-8)); crc32 766 fs/jffs2/gc.c ri.data_crc = cpu_to_je32(crc32(0, mdata, mdatalen)); crc32 796 fs/jffs2/gc.c rd.hdr_crc = cpu_to_je32(crc32(0, &rd, sizeof(struct jffs2_unknown_node)-4)); crc32 808 fs/jffs2/gc.c rd.node_crc = cpu_to_je32(crc32(0, &rd, sizeof(rd)-8)); crc32 809 fs/jffs2/gc.c rd.name_crc = cpu_to_je32(crc32(0, fd->name, rd.nsize)); crc32 845 fs/jffs2/gc.c uint32_t name_crc = crc32(0, fd->name, name_len); crc32 978 fs/jffs2/gc.c crc = crc32(0, &ri, sizeof(ri)-8); crc32 999 fs/jffs2/gc.c ri.hdr_crc = cpu_to_je32(crc32(0, &ri, sizeof(struct jffs2_unknown_node)-4)); crc32 1025 fs/jffs2/gc.c ri.node_crc = cpu_to_je32(crc32(0, &ri, sizeof(ri)-8)); crc32 1271 fs/jffs2/gc.c ri.hdr_crc = cpu_to_je32(crc32(0, &ri, sizeof(struct jffs2_unknown_node)-4)); crc32 1287 fs/jffs2/gc.c ri.node_crc = cpu_to_je32(crc32(0, &ri, sizeof(ri)-8)); crc32 1288 fs/jffs2/gc.c ri.data_crc = cpu_to_je32(crc32(0, comprbuf, cdatalen)); crc32 48 fs/jffs2/read.c crc = crc32(0, ri, sizeof(*ri)-8); crc32 120 fs/jffs2/read.c crc = crc32(0, readbuf, je32_to_cpu(ri->csize)); crc32 99 fs/jffs2/readinode.c crc = crc32(tn->partial_crc, buffer, len); crc32 589 fs/jffs2/readinode.c crc = crc32(0, rd, sizeof(*rd) - 8); crc32 698 fs/jffs2/readinode.c crc = crc32(0, rd, sizeof(*rd) - 8); crc32 769 fs/jffs2/readinode.c tn->partial_crc = crc32(0, buf, len); crc32 1033 fs/jffs2/readinode.c if (je32_to_cpu(node->u.hdr_crc) != crc32(0, node, sizeof(node->u)-4)) { crc32 1204 fs/jffs2/readinode.c crc = crc32(0, latest_node, sizeof(*latest_node)-8); crc32 325 fs/jffs2/scan.c crc = crc32(0, rx, sizeof(struct jffs2_raw_xattr) - 4); crc32 381 fs/jffs2/scan.c crc = crc32(0, rr, sizeof(*rr) - 4); crc32 730 fs/jffs2/scan.c hdr_crc = crc32(0, &crcnode, sizeof(crcnode)-4); crc32 966 fs/jffs2/scan.c crc = crc32(0, ri, sizeof(*ri)-8); crc32 1016 fs/jffs2/scan.c crc = crc32(0, rd, sizeof(*rd)-8); crc32 1042 fs/jffs2/scan.c crc = crc32(0, fd->name, rd->nsize); crc32 584 fs/jffs2/summary.c crc = crc32(0, &crcnode, sizeof(crcnode)-4); crc32 597 fs/jffs2/summary.c crc = crc32(0, summary, sizeof(struct jffs2_raw_summary)-8); crc32 604 fs/jffs2/summary.c crc = crc32(0, summary->sum, sumsize - sizeof(struct jffs2_raw_summary)); crc32 707 fs/jffs2/summary.c isum.hdr_crc = cpu_to_je32(crc32(0, &isum, sizeof(struct jffs2_unknown_node) - 4)); crc32 801 fs/jffs2/summary.c isum.sum_crc = cpu_to_je32(crc32(0, c->summary->sum_buf, datasize)); crc32 802 fs/jffs2/summary.c isum.node_crc = cpu_to_je32(crc32(0, &isum, sizeof(isum) - 8)); crc32 612 fs/jffs2/wbuf.c padnode->hdr_crc = cpu_to_je32(crc32(0, padnode, sizeof(*padnode)-4)); crc32 46 fs/jffs2/write.c ri->hdr_crc = cpu_to_je32(crc32(0, ri, sizeof(struct jffs2_unknown_node)-4)); crc32 71 fs/jffs2/write.c D1(if(je32_to_cpu(ri->hdr_crc) != crc32(0, ri, sizeof(struct jffs2_unknown_node)-4)) { crc32 103 fs/jffs2/write.c ri->node_crc = cpu_to_je32(crc32(0, ri, sizeof(*ri)-8)); crc32 214 fs/jffs2/write.c D1(if(je32_to_cpu(rd->hdr_crc) != crc32(0, rd, sizeof(struct jffs2_unknown_node)-4)) { crc32 258 fs/jffs2/write.c rd->node_crc = cpu_to_je32(crc32(0, rd, sizeof(*rd)-8)); crc32 366 fs/jffs2/write.c ri->hdr_crc = cpu_to_je32(crc32(0, ri, sizeof(struct jffs2_unknown_node)-4)); crc32 376 fs/jffs2/write.c ri->node_crc = cpu_to_je32(crc32(0, ri, sizeof(*ri)-8)); crc32 377 fs/jffs2/write.c ri->data_crc = cpu_to_je32(crc32(0, comprbuf, cdatalen)); crc32 448 fs/jffs2/write.c ri->node_crc = cpu_to_je32(crc32(0, ri, sizeof(*ri)-8)); crc32 498 fs/jffs2/write.c rd->hdr_crc = cpu_to_je32(crc32(0, rd, sizeof(struct jffs2_unknown_node)-4)); crc32 506 fs/jffs2/write.c rd->node_crc = cpu_to_je32(crc32(0, rd, sizeof(*rd)-8)); crc32 507 fs/jffs2/write.c rd->name_crc = cpu_to_je32(crc32(0, name, namelen)); crc32 561 fs/jffs2/write.c rd->hdr_crc = cpu_to_je32(crc32(0, rd, sizeof(struct jffs2_unknown_node)-4)); crc32 569 fs/jffs2/write.c rd->node_crc = cpu_to_je32(crc32(0, rd, sizeof(*rd)-8)); crc32 570 fs/jffs2/write.c rd->name_crc = cpu_to_je32(crc32(0, name, namelen)); crc32 676 fs/jffs2/write.c rd->hdr_crc = cpu_to_je32(crc32(0, rd, sizeof(struct jffs2_unknown_node)-4)); crc32 686 fs/jffs2/write.c rd->node_crc = cpu_to_je32(crc32(0, rd, sizeof(*rd)-8)); crc32 687 fs/jffs2/write.c rd->name_crc = cpu_to_je32(crc32(0, name, namelen)); crc32 63 fs/jffs2/xattr.c return crc32(xprefix, xname, name_len) ^ crc32(xprefix, xvalue, xsize); crc32 149 fs/jffs2/xattr.c crc = crc32(0, &rx, sizeof(rx) - 4); crc32 226 fs/jffs2/xattr.c crc = crc32(0, data, length); crc32 302 fs/jffs2/xattr.c rx.hdr_crc = cpu_to_je32(crc32(0, &rx, sizeof(struct jffs2_unknown_node) - 4)); crc32 309 fs/jffs2/xattr.c rx.data_crc = cpu_to_je32(crc32(0, vecs[1].iov_base, vecs[1].iov_len)); crc32 310 fs/jffs2/xattr.c rx.node_crc = cpu_to_je32(crc32(0, &rx, sizeof(struct jffs2_raw_xattr) - 4)); crc32 380 fs/jffs2/xattr.c xd->data_crc = crc32(0, data, xd->name_len + 1 + xd->value_len); crc32 459 fs/jffs2/xattr.c crc = crc32(0, &rr, sizeof(rr) - 4); crc32 510 fs/jffs2/xattr.c rr.hdr_crc = cpu_to_je32(crc32(0, &rr, sizeof(struct jffs2_unknown_node) - 4)); crc32 522 fs/jffs2/xattr.c rr.node_crc = cpu_to_je32(crc32(0, &rr, sizeof(rr) - 4)); crc32 127 fs/partitions/efi.c return (crc32(~0L, buf, len) ^ ~0L); crc32 124 fs/ubifs/io.c crc = crc32(UBIFS_CRC32_INIT, buf + 8, node_len - 8); crc32 182 fs/ubifs/io.c crc = crc32(UBIFS_CRC32_INIT, buf + 8, UBIFS_PAD_NODE_SZ - 8); crc32 238 fs/ubifs/io.c crc = crc32(UBIFS_CRC32_INIT, node + 8, len - 8); crc32 274 fs/ubifs/io.c crc = crc32(UBIFS_CRC32_INIT, node + 8, len - 8); crc32 1426 fs/ubifs/recovery.c crc = crc32(UBIFS_CRC32_INIT, (void *)ino + 8, len - 8); crc32 473 fs/ubifs/tnc.c crc = crc32(UBIFS_CRC32_INIT, buf + 8, node_len - 8); crc32 57 include/linux/efi.h u32 crc32; crc32 77 include/net/sctp/checksum.h return sctp_crc32c(crc32, buffer, length); crc32 82 include/net/sctp/checksum.h return ~crc32; crc32 39 net/ipv4/netfilter/nf_nat_proto_sctp.c __be32 crc32; crc32 59 net/ipv4/netfilter/nf_nat_proto_sctp.c crc32 = sctp_start_cksum((u8 *)hdr, skb_headlen(skb) - hdroff); crc32 61 net/ipv4/netfilter/nf_nat_proto_sctp.c crc32 = sctp_update_cksum((u8 *)skb->data, skb_headlen(skb), crc32 62 net/ipv4/netfilter/nf_nat_proto_sctp.c crc32); crc32 63 net/ipv4/netfilter/nf_nat_proto_sctp.c crc32 = sctp_end_cksum(crc32); crc32 64 net/ipv4/netfilter/nf_nat_proto_sctp.c hdr->checksum = crc32; crc32 368 net/sctp/output.c __be32 crc32 = __constant_cpu_to_be32(0); crc32 534 net/sctp/output.c crc32 = sctp_start_cksum((__u8 *)sh, cksum_buf_len); crc32 535 net/sctp/output.c crc32 = sctp_end_cksum(crc32); crc32 542 net/sctp/output.c sh->checksum = crc32; crc32 149 scripts/genksyms/genksyms.c unsigned long h = crc32(name) % HASH_BUCKETS; crc32 163 scripts/genksyms/genksyms.c unsigned long h = crc32(name) % HASH_BUCKETS;