Home
last modified time | relevance | path

Searched refs:crc32c (Results 1 – 25 of 25) sorted by relevance

/Linux-v5.4/fs/xfs/libxfs/
Dxfs_cksum.h20 crc = crc32c(XFS_CRC_SEED, buffer, cksum_offset); in xfs_start_cksum_safe()
23 crc = crc32c(crc, &zero, sizeof(__u32)); in xfs_start_cksum_safe()
26 return crc32c(crc, &buffer[cksum_offset + sizeof(__be32)], in xfs_start_cksum_safe()
41 return crc32c(XFS_CRC_SEED, buffer, length); in xfs_start_cksum_update()
/Linux-v5.4/arch/powerpc/crypto/
DMakefile13 obj-$(CONFIG_CRYPTO_CRC32C_VPMSUM) += crc32c-vpmsum.o
22 crc32c-vpmsum-y := crc32c-vpmsum_asm.o crc32c-vpmsum_glue.o
/Linux-v5.4/include/linux/
Dcrc32c.h7 extern u32 crc32c(u32 crc, const void *address, unsigned int length);
11 #define crc32c_le crc32c
/Linux-v5.4/lib/
Dlibcrc32c.c38 u32 crc32c(u32 crc, const void *address, unsigned int length) in crc32c() function
55 EXPORT_SYMBOL(crc32c);
/Linux-v5.4/arch/x86/crypto/
DMakefile30 obj-$(CONFIG_CRYPTO_CRC32C_INTEL) += crc32c-intel.o
109 crc32c-intel-y := crc32c-intel_glue.o
110 crc32c-intel-$(CONFIG_64BIT) += crc32c-pcl-intel-asm_64.o
/Linux-v5.4/arch/sparc/crypto/
DMakefile15 obj-$(CONFIG_CRYPTO_CRC32C_SPARC64) += crc32c-sparc64.o
26 crc32c-sparc64-y := crc32c_asm.o crc32c_glue.o
/Linux-v5.4/arch/s390/crypto/
Dcrc32-vx.c199 CRC32_VX_FINUP(crc32c, crc32c_le_vx)
211 CRC32_VX_DIGEST(crc32c, crc32c_le_vx)
224 CRC32_VX_UPDATE(crc32c, crc32c_le_vx)
/Linux-v5.4/include/net/sctp/
Dchecksum.h36 return (__force __wsum)crc32c((__force __u32)sum, buff, len); in sctp_csum_update()
/Linux-v5.4/Documentation/filesystems/ext4/
Dchecksums.rst9 of October 2012 the only supported algorithm is crc32c. Some data
28 (crc32c as of October 2013) unless noted otherwise.
Dgroup_descr.rst104 crc32c(sb\_uuid+group\_num+bg\_desc) & 0xFFFF if the
107 and set to zero if crc32c checksum is used.
Difork.rst187 - Checksum of the extent block, crc32c(uuid+inum+igeneration+extentblock)
Dsuper.rst329 - Metadata checksum algorithm type. The only valid value is 1 (crc32c).
443 crc32c(~0, $orig\_fs\_uuid).
Djournal.rst305 Journal checksum type codes are one of the following. crc32 or crc32c are the
/Linux-v5.4/arch/mips/crypto/
Dcrc32-mips.c27 crc32c, enumerator
68 _CRC32(crc, value, size, crc32c)
/Linux-v5.4/drivers/block/drbd/
Ddrbd_actlog.c35 __be32 crc32c; member
378 crc = crc32c(0, buffer, 4096); in __al_write_transaction()
379 buffer->crc32c = cpu_to_be32(crc); in __al_write_transaction()
/Linux-v5.4/fs/gfs2/
Drecovery.c136 crc = crc32c(~0, (void *)lh + LH_V1_SIZE + 4, in __get_log_header()
Dlog.c737 crc = crc32c(~0, (void *)lh + LH_V1_SIZE + 4, in gfs2_write_log_header()
/Linux-v5.4/net/ceph/
Dmessenger.c1317 crc = crc32c(0, &m->hdr, offsetof(struct ceph_msg_header, crc)); in prepare_write_message()
1322 crc = crc32c(0, m->front.iov_base, m->front.iov_len); in prepare_write_message()
1325 crc = crc32c(0, m->middle->vec.iov_base, in prepare_write_message()
1547 crc = crc32c(crc, kaddr + page_offset, length); in ceph_crc32c_page()
2314 *crc = crc32c(0, section->iov_base, section->iov_len); in read_partial_message_section()
2386 crc = crc32c(0, &con->in_hdr, offsetof(struct ceph_msg_header, crc)); in read_partial_message()
/Linux-v5.4/net/batman-adv/
Dtranslation-table.c2724 crc_tmp = crc32c(0, &tmp_vid, sizeof(tmp_vid)); in batadv_tt_global_crc()
2730 crc_tmp = crc32c(crc_tmp, &flags, sizeof(flags)); in batadv_tt_global_crc()
2732 crc ^= crc32c(crc_tmp, tt_common->addr, ETH_ALEN); in batadv_tt_global_crc()
2783 crc_tmp = crc32c(0, &tmp_vid, sizeof(tmp_vid)); in batadv_tt_local_crc()
2789 crc_tmp = crc32c(crc_tmp, &flags, sizeof(flags)); in batadv_tt_local_crc()
2791 crc ^= crc32c(crc_tmp, tt_common->addr, ETH_ALEN); in batadv_tt_local_crc()
Dmain.c629 crc = crc32c(crc, data, len); in batadv_skb_crc32()
/Linux-v5.4/drivers/md/persistent-data/
Ddm-block-manager.c637 return crc32c(~(u32) 0, data, len) ^ init_xor; in dm_bm_checksum()
/Linux-v5.4/drivers/infiniband/sw/siw/
Dsiw.h694 return (__force __wsum)crc32c((__force __u32)sum, buff, len); in siw_csum_update()
/Linux-v5.4/fs/btrfs/
Dctree.h2335 return crc32c(crc, address, length); in btrfs_crc32c()
2345 return crc32c((u32)~1, name, len); in btrfs_name_hash()
2354 return (u64) crc32c(parent_objectid, name, len); in btrfs_extref_hash()
/Linux-v5.4/crypto/
DKconfig569 See Castagnoli93. Module will be crc32c.
578 instruction. This option will create 'crc32c-intel' module,
581 Module will be crc32c-intel.
/Linux-v5.4/fs/xfs/
Dxfs_log.c1672 crc = crc32c(crc, &xhdr[i].hic_xheader, in xlog_cksum()
1678 crc = crc32c(crc, dp, size); in xlog_cksum()