Home
last modified time | relevance | path

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

12

/linux/fs/xfs/libxfs/
H A 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/fs/bcachefs/
H A Dstr_hash.h69 u32 crc32c; member
80 ctx->crc32c = crc32c(~0, &info->siphash_key.k0, in bch2_str_hash_init()
102 ctx->crc32c = crc32c(ctx->crc32c, data, len); in bch2_str_hash_update()
121 return ctx->crc32c; in bch2_str_hash_end()
H A Dbcachefs_format.h966 x(crc32c, 0) \
979 x(crc32c, 0) \
996 x(crc32c, 5) \
1031 x(crc32c, 1) \
/linux/arch/powerpc/crypto/
H A DMakefile13 obj-$(CONFIG_CRYPTO_CRC32C_VPMSUM) += crc32c-vpmsum.o
27 crc32c-vpmsum-y := crc32c-vpmsum_asm.o crc32c-vpmsum_glue.o
/linux/include/linux/
H A Dcrc32c.h7 extern u32 crc32c(u32 crc, const void *address, unsigned int length);
10 #define crc32c_le crc32c
/linux/lib/
H A Dlibcrc32c.c38 u32 crc32c(u32 crc, const void *address, unsigned int length) in crc32c() function
55 EXPORT_SYMBOL(crc32c);
/linux/arch/x86/crypto/
H A DMakefile78 obj-$(CONFIG_CRYPTO_CRC32C_INTEL) += crc32c-intel.o
79 crc32c-intel-y := crc32c-intel_glue.o
80 crc32c-intel-$(CONFIG_64BIT) += crc32c-pcl-intel-asm_64.o
/linux/arch/sparc/crypto/
H A DMakefile15 obj-$(CONFIG_CRYPTO_CRC32C_SPARC64) += crc32c-sparc64.o
26 crc32c-sparc64-y := crc32c_asm.o crc32c_glue.o
/linux/tools/testing/kunit/test_data/
H A Dtest_interrupted_tap_output.log13 [ 0.060000] Btrfs loaded, crc32c=crc32c-generic, debug=on, assert=on, integrity-checker=on, ref-…
/linux/arch/s390/crypto/
H A Dcrc32-vx.c190 CRC32_VX_FINUP(crc32c, crc32c_le_vx)
202 CRC32_VX_DIGEST(crc32c, crc32c_le_vx)
215 CRC32_VX_UPDATE(crc32c, crc32c_le_vx)
/linux/Documentation/filesystems/ext4/
H A Dchecksums.rst9 of October 2012 the only supported algorithm is crc32c. Some data
28 (crc32c as of October 2013) unless noted otherwise.
H A Dgroup_descr.rst104 crc32c(sb_uuid+group_num+bg_desc) & 0xFFFF if the
107 and set to zero if crc32c checksum is used.
H A Difork.rst187 - Checksum of the extent block, crc32c(uuid+inum+igeneration+extentblock)
/linux/include/net/sctp/
H A Dchecksum.h36 return (__force __wsum)crc32c((__force __u32)sum, buff, len); in sctp_csum_update()
/linux/arch/mips/crypto/
H A Dcrc32-mips.c27 crc32c, enumerator
74 _CRC32(crc, value, size, crc32c)
/linux/fs/btrfs/
H A Dinode-item.h85 return (u64)crc32c(parent_objectid, name, len); in btrfs_extref_hash()
/linux/net/ceph/
H A Dmessenger_v2.c500 put_unaligned_le32(crc32c(0, start, crcp - start), crcp); in encode_preamble()
509 crc = crc32c(0, p, crcp - p); in decode_preamble()
647 crc = crc32c(-1, con->v2.in_kvecs[0].iov_base, ctrl_len); in verify_control_crc()
662 con->in_front_crc = crc32c(-1, con->in_msg->front.iov_base, in verify_epilogue_crcs()
670 con->in_middle_crc = crc32c(-1, in verify_epilogue_crcs()
1225 crc = crc32c(-1, CTRL_BODY(base), ctrl_len); in prepare_head_plain()
1227 crc = crc32c(crc, extdata, extdata_len); in prepare_head_plain()
1630 con->v2.out_epil.front_crc = crc32c(-1, msg->front.iov_base, in prepare_message_plain()
1640 crc32c(-1, msg->middle->vec.iov_base, middle_len(msg)); in prepare_message_plain()
1891 con->in_data_crc = crc32c(con->in_data_crc, in prepare_read_data_cont()
[all …]
H A Dmessenger_v1.c233 crc = crc32c(0, &m->hdr, offsetof(struct ceph_msg_header, crc)); in prepare_write_message()
238 crc = crc32c(0, m->front.iov_base, m->front.iov_len); in prepare_write_message()
241 crc = crc32c(0, m->middle->vec.iov_base, in prepare_write_message()
982 *crc = crc32c(*crc, section->iov_base, section->iov_len); in read_partial_message_chunk()
1134 crc = crc32c(crc, page_address(con->bounce_page), ret); in read_partial_msg_data_bounce()
1168 crc = crc32c(0, &con->v1.in_hdr, offsetof(struct ceph_msg_header, crc)); in read_partial_message()
/linux/drivers/block/drbd/
H A 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/net/batman-adv/
H A Dtranslation-table.c2463 crc_tmp = crc32c(0, &tmp_vid, sizeof(tmp_vid)); in batadv_tt_global_crc()
2469 crc_tmp = crc32c(crc_tmp, &flags, sizeof(flags)); in batadv_tt_global_crc()
2471 crc ^= crc32c(crc_tmp, tt_common->addr, ETH_ALEN); in batadv_tt_global_crc()
2522 crc_tmp = crc32c(0, &tmp_vid, sizeof(tmp_vid)); in batadv_tt_local_crc()
2528 crc_tmp = crc32c(crc_tmp, &flags, sizeof(flags)); in batadv_tt_local_crc()
2530 crc ^= crc32c(crc_tmp, tt_common->addr, ETH_ALEN); in batadv_tt_local_crc()
H A Dmain.c611 crc = crc32c(crc, data, len); in batadv_skb_crc32()
/linux/fs/gfs2/
H A Drecovery.c134 crc = crc32c(~0, (void *)lh + LH_V1_SIZE + 4, in __get_log_header()
/linux/drivers/md/persistent-data/
H A Ddm-block-manager.c652 return crc32c(~(u32) 0, data, len) ^ init_xor; in dm_bm_checksum()
/linux/arch/arm/crypto/
H A DKconfig237 Drivers: crc32-arm-ce and crc32c-arm-ce
/linux/drivers/infiniband/sw/siw/
H A Dsiw.h673 return (__force __wsum)crc32c((__force __u32)sum, buff, len); in siw_csum_update()

12