/linux-master/drivers/mtd/ubi/ |
H A D | vtbl.c | 48 #include <linux/crc32.h> 101 crc = crc32(UBI_CRC32_INIT, vtbl_rec, UBI_VTBL_RECORD_SIZE_CRC); 141 crc = crc32(UBI_CRC32_INIT, vtbl_rec, 176 crc = crc32(UBI_CRC32_INIT, &vtbl[i], UBI_VTBL_RECORD_SIZE_CRC);
|
H A D | eba.c | 32 #include <linux/crc32.h> 708 uint32_t crc1 = crc32(UBI_CRC32_INIT, buf, len); 848 crc = crc32(UBI_CRC32_INIT, ubi->peb_buf, data_size); 1149 crc = crc32(UBI_CRC32_INIT, buf, data_size); 1233 crc = crc32(UBI_CRC32_INIT, buf, len); 1409 crc = crc32(UBI_CRC32_INIT, ubi->peb_buf, data_size);
|
/linux-master/fs/jffs2/ |
H A D | readinode.c | 18 #include <linux/crc32.h> 99 crc = crc32(tn->partial_crc, buffer, len); 596 crc = crc32(0, rd, sizeof(*rd) - 8); 681 crc = crc32(0, fd->name, rd->nsize); 725 crc = crc32(0, rd, sizeof(*rd) - 8); 796 tn->partial_crc = crc32(0, buf, len); 1060 if (je32_to_cpu(node->u.hdr_crc) != crc32(0, node, sizeof(node->u)-4)) { 1229 crc = crc32(0, latest_node, sizeof(*latest_node)-8); 1312 /* FIXME: Deal with it - check crc32, check for duplicate node, check times and discard the older one */
|
H A D | scan.c | 19 #include <linux/crc32.h> 338 crc = crc32(0, rx, sizeof(struct jffs2_raw_xattr) - 4); 394 crc = crc32(0, rr, sizeof(*rr) - 4); 762 hdr_crc = crc32(0, &crcnode, sizeof(crcnode)-4); 1009 crc = crc32(0, ri, sizeof(*ri)-8); 1058 crc = crc32(0, rd, sizeof(*rd)-8); 1084 crc = crc32(0, fd->name, checkedlen);
|
H A D | erase.c | 19 #include <linux/crc32.h> 431 marker.hdr_crc = cpu_to_je32(crc32(0, &marker, sizeof(struct jffs2_unknown_node)-4));
|
/linux-master/drivers/crypto/intel/qat/qat_common/ |
H A D | icp_qat_fw_comp.h | 314 __u32 crc32; member in struct:icp_qat_fw_comp_state 376 __u32 crc32; member in struct:icp_qat_fw_comp_crc_data_struct
|
/linux-master/drivers/gpu/drm/panel/ |
H A D | panel-olimex-lcd-olinuxino.c | 9 #include <linux/crc32.h> 241 checksum = ~crc32(~0, (u8 *)&lcd->eeprom, 252);
|
/linux-master/scripts/ |
H A D | Makefile.modinst | 147 cmd_xz = $(XZ) --check=crc32 --lzma2=dict=1MiB -f $<
|
/linux-master/arch/mips/crypto/ |
H A D | crc32-mips.c | 3 * crc32-mips.c - CRC32 and CRC32C using optional MIPSr6 instructions 5 * Module based on arm64/crypto/crc32-arm.c 26 crc32, enumerator in enum:crc_type 71 _CRC32(crc, value, size, crc32) 288 .cra_name = "crc32", 289 .cra_driver_name = "crc32-mips-hw",
|
/linux-master/include/linux/habanalabs/ |
H A D | hl_boot_if.h | 531 __le32 crc32; /* CRC32 of the descriptor w/o header */ member in struct:comms_desc_header 540 __le32 crc32; /* CRC32 of the message w/o header */ member in struct:comms_msg_header
|
/linux-master/drivers/video/console/ |
H A D | sticon.c | 48 #include <linux/crc32.h> 207 FNTCRC(cooked_font) = crc32(0, new_font, size + sizeof(*new_font));
|
/linux-master/drivers/accel/qaic/ |
H A D | qaic_control.c | 8 #include <linux/crc32.h> 53 __le32 crc32; /* crc of everything following this field in the message */ member in struct:wire_msg_hdr 257 crc = crc32(crc, &w->msg, w->len); 277 crc = le32_to_cpu(hdr->crc32); 278 hdr->crc32 = 0; 279 ret = (crc32(~0, msg, le32_to_cpu(hdr->len)) ^ ~0) == crc; 280 hdr->crc32 = cpu_to_le32(crc); 1220 msg->hdr.crc32 = cpu_to_le32(qdev->gen_crc(wrappers)); 1530 msg->hdr.crc32 = cpu_to_le32(qdev->gen_crc(wrappers));
|
/linux-master/fs/ubifs/ |
H A D | io.c | 61 #include <linux/crc32.h> 287 crc = crc32(UBIFS_CRC32_INIT, buf + 8, node_len - 8); 346 crc = crc32(UBIFS_CRC32_INIT, buf + 8, UBIFS_PAD_NODE_SZ - 8); 403 crc = crc32(UBIFS_CRC32_INIT, node + 8, len - 8); 486 crc = crc32(UBIFS_CRC32_INIT, node + 8, len - 8);
|
/linux-master/drivers/thunderbolt/ |
H A D | ctl.c | 9 #include <linux/crc32.h> 440 __be32 crc32; local 455 crc32 = tb_crc(pkg->buffer, frame->size); 464 if (*(__be32 *)(pkg->buffer + frame->size) != crc32) { 479 if (*(__be32 *)(pkg->buffer + frame->size) != crc32) {
|
/linux-master/fs/bcachefs/ |
H A D | extents.h | 133 struct bch_extent_crc32 crc32; member in union:bch_extent_crc 172 common_fields(crc->crc32), 175 *((__le32 *) &ret.csum.lo) = (__le32 __force) crc->crc32.csum;
|
/linux-master/block/partitions/ |
H A D | efi.c | 36 * - Ported to 2.5.2-pre11 + library crc32 patch Linus applied 71 * - Moved crc32() to linux/lib, added efi_crc32(). 86 #include <linux/crc32.h> 108 * efi_crc32() - EFI version of crc32 function 109 * @buf: buffer to calculate crc32 of 122 return (crc32(~0L, buf, len) ^ ~0L);
|
/linux-master/drivers/nvme/common/ |
H A D | auth.c | 7 #include <linux/crc32.h> 199 crc = ~crc32(~0, key->key, key_len);
|
/linux-master/arch/arm/crypto/ |
H A D | crc32-ce-glue.c | 9 #include <linux/crc32.h> 184 .base.cra_name = "crc32", 185 .base.cra_driver_name = "crc32-arm-ce", 245 MODULE_ALIAS_CRYPTO("crc32");
|
/linux-master/net/wireless/ |
H A D | lib80211_crypt_wep.c | 23 #include <linux/crc32.h>
|
/linux-master/drivers/mtd/parsers/ |
H A D | parser_imagetag.c | 14 #include <linux/crc32.h>
|
/linux-master/drivers/net/ethernet/atheros/atl1c/ |
H A D | atl1c_hw.c | 11 #include <linux/crc32.h> 205 u32 crc32; local 209 crc32 = ether_crc_le(6, mc_addr); 211 value |= (((crc32 >> i) & 1) << (31 - i));
|
/linux-master/drivers/staging/vt6656/ |
H A D | device.h | 29 #include <linux/crc32.h>
|
/linux-master/drivers/net/usb/ |
H A D | cdc_eem.c | 16 #include <linux/crc32.h>
|
H A D | asix.h | 24 #include <linux/crc32.h>
|
/linux-master/drivers/net/ethernet/chelsio/cxgb/ |
H A D | common.h | 42 #include <linux/crc32.h>
|