Home
last modified time | relevance | path

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

12

/linux-6.1.9/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-6.1.9/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-6.1.9/include/linux/
Dcrc32c.h7 extern u32 crc32c(u32 crc, const void *address, unsigned int length);
11 #define crc32c_le crc32c
/linux-6.1.9/lib/
Dlibcrc32c.c38 u32 crc32c(u32 crc, const void *address, unsigned int length) in crc32c() function
55 EXPORT_SYMBOL(crc32c);
/linux-6.1.9/arch/x86/crypto/
DMakefile73 obj-$(CONFIG_CRYPTO_CRC32C_INTEL) += crc32c-intel.o
74 crc32c-intel-y := crc32c-intel_glue.o
75 crc32c-intel-$(CONFIG_64BIT) += crc32c-pcl-intel-asm_64.o
/linux-6.1.9/arch/sparc/crypto/
DMakefile15 obj-$(CONFIG_CRYPTO_CRC32C_SPARC64) += crc32c-sparc64.o
26 crc32c-sparc64-y := crc32c_asm.o crc32c_glue.o
/linux-6.1.9/tools/testing/kunit/test_data/
Dtest_interrupted_tap_output.log13 [ 0.060000] Btrfs loaded, crc32c=crc32c-generic, debug=on, assert=on, integrity-checker=on, ref-…
/linux-6.1.9/arch/s390/crypto/
Dcrc32-vx.c195 CRC32_VX_FINUP(crc32c, crc32c_le_vx)
207 CRC32_VX_DIGEST(crc32c, crc32c_le_vx)
220 CRC32_VX_UPDATE(crc32c, crc32c_le_vx)
/linux-6.1.9/include/net/sctp/
Dchecksum.h36 return (__force __wsum)crc32c((__force __u32)sum, buff, len); in sctp_csum_update()
/linux-6.1.9/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).
/linux-6.1.9/arch/mips/crypto/
Dcrc32-mips.c27 crc32c, enumerator
74 _CRC32(crc, value, size, crc32c)
/linux-6.1.9/net/ceph/
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()
988 *crc = crc32c(0, section->iov_base, section->iov_len); in read_partial_message_section()
1060 crc = crc32c(crc, page_address(con->bounce_page), ret); in read_partial_msg_data_bounce()
1094 crc = crc32c(0, &con->v1.in_hdr, offsetof(struct ceph_msg_header, crc)); in read_partial_message()
Dmessenger_v2.c494 put_unaligned_le32(crc32c(0, start, crcp - start), crcp); in encode_preamble()
503 crc = crc32c(0, p, crcp - p); in decode_preamble()
636 crc = crc32c(-1, con->v2.in_kvecs[0].iov_base, ctrl_len); in verify_control_crc()
651 con->in_front_crc = crc32c(-1, con->in_msg->front.iov_base, in verify_epilogue_crcs()
659 con->in_middle_crc = crc32c(-1, in verify_epilogue_crcs()
1121 crc = crc32c(-1, CTRL_BODY(base), ctrl_len); in prepare_head_plain()
1123 crc = crc32c(crc, extdata, extdata_len); in prepare_head_plain()
1526 con->v2.out_epil.front_crc = crc32c(-1, msg->front.iov_base, in prepare_message_plain()
1536 crc32c(-1, msg->middle->vec.iov_base, middle_len(msg)); in prepare_message_plain()
1787 con->in_data_crc = crc32c(con->in_data_crc, in prepare_read_data_cont()
[all …]
/linux-6.1.9/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-6.1.9/net/batman-adv/
Dtranslation-table.c2491 crc_tmp = crc32c(0, &tmp_vid, sizeof(tmp_vid)); in batadv_tt_global_crc()
2497 crc_tmp = crc32c(crc_tmp, &flags, sizeof(flags)); in batadv_tt_global_crc()
2499 crc ^= crc32c(crc_tmp, tt_common->addr, ETH_ALEN); in batadv_tt_global_crc()
2550 crc_tmp = crc32c(0, &tmp_vid, sizeof(tmp_vid)); in batadv_tt_local_crc()
2556 crc_tmp = crc32c(crc_tmp, &flags, sizeof(flags)); in batadv_tt_local_crc()
2558 crc ^= crc32c(crc_tmp, tt_common->addr, ETH_ALEN); in batadv_tt_local_crc()
Dmain.c608 crc = crc32c(crc, data, len); in batadv_skb_crc32()
/linux-6.1.9/arch/arm/crypto/
DKconfig229 Drivers: crc32-arm-ce and crc32c-arm-ce
/linux-6.1.9/fs/gfs2/
Drecovery.c134 crc = crc32c(~0, (void *)lh + LH_V1_SIZE + 4, in __get_log_header()
/linux-6.1.9/drivers/md/persistent-data/
Ddm-block-manager.c640 return crc32c(~(u32) 0, data, len) ^ init_xor; in dm_bm_checksum()
/linux-6.1.9/drivers/infiniband/sw/siw/
Dsiw.h676 return (__force __wsum)crc32c((__force __u32)sum, buff, len); in siw_csum_update()
/linux-6.1.9/fs/erofs/
Dsuper.c67 crc = crc32c(~0, dsb, EROFS_BLKSIZ - EROFS_SUPER_OFFSET); in erofs_superblock_csum_verify()
/linux-6.1.9/fs/btrfs/
Dctree.h2828 return crc32c(crc, address, length); in btrfs_crc32c()
2838 return crc32c((u32)~1, name, len); in btrfs_name_hash()
2847 return (u64) crc32c(parent_objectid, name, len); in btrfs_extref_hash()

12