/linux-master/arch/arm/crypto/ |
H A D | crct10dif-ce-glue.c | 8 #include <linux/crc-t10dif.h> 26 u16 *crc = shash_desc_ctx(desc); local 28 *crc = 0; 35 u16 *crc = shash_desc_ctx(desc); local 39 *crc = crc_t10dif_pmull(*crc, data, length); 42 *crc = crc_t10dif_generic(*crc, data, length); 50 u16 *crc = shash_desc_ctx(desc); local 52 *(u16 *)out = *crc; [all...] |
/linux-master/arch/mips/bcm63xx/ |
H A D | nvram.c | 29 u32 crc, expected_crc; local 36 if (bcm963xx_nvram_checksum(&nvram, &expected_crc, &crc)) 38 expected_crc, crc);
|
/linux-master/arch/mips/include/asm/octeon/ |
H A D | cvmx-pko-defs.h | 959 uint64_t crc:1; member in struct:cvmx_pko_mem_iport_ptrs::cvmx_pko_mem_iport_ptrs_s 983 uint64_t crc:1; 1270 uint64_t crc:1; member in struct:cvmx_pko_reg_bist_result::cvmx_pko_reg_bist_result_cn30xx 1282 uint64_t crc:1; 1367 uint64_t crc:1; member in struct:cvmx_pko_reg_bist_result::cvmx_pko_reg_bist_result_cn68xx 1405 uint64_t crc:1;
|
/linux-master/arch/nios2/boot/compressed/ |
H A D | misc.c | 130 * Write the output window window[0..outcnt-1] and update crc and bytes_out. 135 ulg c = crc; /* temporary variable */ 145 crc = c;
|
/linux-master/arch/powerpc/crypto/ |
H A D | crct10dif-vpmsum_glue.c | 9 #include <linux/crc-t10dif.h> 25 u32 __crct10dif_vpmsum(u32 crc, unsigned char const *p, size_t len); 31 u32 crc = crci; local 34 return crc_t10dif_generic(crc, p, len); 38 crc = crc_t10dif_generic(crc, p, prealign); 44 crc <<= 16; 48 crc = __crct10dif_vpmsum(crc, p, len & ~VMX_ALIGN_MASK); 52 crc >> 66 u16 *crc = shash_desc_ctx(desc); local 75 u16 *crc = shash_desc_ctx(desc); local [all...] |
/linux-master/crypto/ |
H A D | crct10dif_common.c | 27 #include <linux/crc-t10dif.h> 70 __u16 crc_t10dif_generic(__u16 crc, const unsigned char *buffer, size_t len) argument 75 crc = (crc << 8) ^ t10_dif_crc_table[((crc >> 8) ^ buffer[i]) & 0xff]; 77 return crc;
|
/linux-master/drivers/isdn/hardware/mISDN/ |
H A D | isdnhdlc.h | 27 u16 crc; member in struct:isdnhdlc_vars
|
/linux-master/drivers/net/ethernet/atheros/atlx/ |
H A D | atl2.h | 293 unsigned crc:1; /* received a packet with crc error */ member in struct:rx_pkt_status 296 * with good crc */ 298 * with bad crc */
|
/linux-master/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_vfpf.h | 77 #define BULLETIN_ATTEMPTS 5 /* crc failures before throwing towel */ 402 u32 crc; /* crc of structure to ensure is not in member in struct:pf_vf_bulletin_content
|
/linux-master/drivers/net/ethernet/dlink/ |
H A D | dl2k.h | 343 u32 crc; /* 0xfc-0xff */ member in struct:t_SROM
|
/linux-master/drivers/net/ethernet/emulex/benet/ |
H A D | be_hw.h | 226 u8 crc; member in struct:amap_eth_hdr_wrb
|
/linux-master/drivers/net/ethernet/netronome/nfp/nfpcore/ |
H A D | nfp_hwinfo.c | 131 u32 size, crc; local 140 crc = crc32_posix(db, size); 141 if (crc != get_unaligned_le32(db->start + size)) { 143 crc, get_unaligned_le32(db->start + size));
|
/linux-master/drivers/net/wireless/intersil/p54/ |
H A D | eeprom.c | 22 #include <linux/crc-ccitt.h>
|
H A D | p54usb.h | 113 __le32 crc; member in struct:x2_header
|
/linux-master/drivers/scsi/libfc/ |
H A D | fc_frame.c | 24 u32 crc; local 33 crc = ~crc32(~0, bp, len); 34 error = crc ^ fr_crc(fp);
|
H A D | fc_libfc.h | 125 u32 *crc);
|
/linux-master/drivers/w1/ |
H A D | w1_io.c | 357 u8 crc = 0; local 360 crc = w1_crc8_table[crc ^ *data++]; 362 return crc;
|
/linux-master/fs/jffs2/ |
H A D | read.c | 29 uint32_t crc; local 51 crc = crc32(0, ri, sizeof(*ri)-8); 55 crc, je32_to_cpu(ri->dsize), je32_to_cpu(ri->csize), 57 if (crc != je32_to_cpu(ri->node_crc)) { 59 je32_to_cpu(ri->node_crc), crc, ref_offset(fd->raw)); 123 crc = crc32(0, readbuf, je32_to_cpu(ri->csize)); 124 if (crc != je32_to_cpu(ri->data_crc)) { 126 je32_to_cpu(ri->data_crc), crc, ref_offset(fd->raw)); 130 jffs2_dbg(2, "Data CRC matches calculated CRC %08x\n", crc);
|
/linux-master/fs/qnx6/ |
H A D | dir.c | 18 unsigned crc = 0; local 21 crc = ((crc >> 1) + *(name++)) ^ 22 ((crc & 0x00000001) ? 0x80000000 : 0); 24 return crc;
|
/linux-master/fs/ubifs/ |
H A D | ubifs-media.h | 446 * @crc: CRC-32 checksum of the node header 458 __le32 crc; member in struct:ubifs_ch
|
/linux-master/fs/xfs/libxfs/ |
H A D | xfs_cksum.h | 9 * inside it. The offset of the 32bit crc fields is passed as the 17 uint32_t crc; local 20 crc = crc32c(XFS_CRC_SEED, buffer, cksum_offset); 23 crc = crc32c(crc, &zero, sizeof(__u32)); 26 return crc32c(crc, &buffer[cksum_offset + sizeof(__be32)], 52 xfs_end_cksum(uint32_t crc) argument 54 return ~cpu_to_le32(crc); 66 uint32_t crc = xfs_start_cksum_update(buffer, length, cksum_offset); local 68 *(__le32 *)(buffer + cksum_offset) = xfs_end_cksum(crc); 77 uint32_t crc = xfs_start_cksum_safe(buffer, length, cksum_offset); local [all...] |
/linux-master/include/linux/ |
H A D | crc-t10dif.h | 11 extern __u16 crc_t10dif_generic(__u16 crc, const unsigned char *buffer, 14 extern __u16 crc_t10dif_update(__u16 crc, unsigned char const *, size_t);
|
H A D | crc16.h | 20 extern u16 crc16(u16 crc, const u8 *buffer, size_t len); 22 static inline u16 crc16_byte(u16 crc, const u8 data) argument 24 return (crc >> 8) ^ crc16_table[(crc ^ data) & 0xff];
|
H A D | crc32.h | 11 u32 __pure crc32_le(u32 crc, unsigned char const *p, size_t len); 12 u32 __pure crc32_be(u32 crc, unsigned char const *p, size_t len); 32 u32 __attribute_const__ crc32_le_shift(u32 crc, size_t len); 39 u32 __pure __crc32c_le(u32 crc, unsigned char const *p, size_t len); 59 u32 __attribute_const__ __crc32c_le_shift(u32 crc, size_t len);
|
H A D | crc7.h | 8 static inline u8 crc7_be_byte(u8 crc, u8 data) argument 10 return crc7_be_syndrome_table[crc ^ data]; 13 extern u8 crc7_be(u8 crc, const u8 *buffer, size_t len);
|