Home
last modified time | relevance | path

Searched refs:crc64 (Results 1 – 7 of 7) sorted by relevance

/linux/fs/bcachefs/
H A Dstr_hash.h70 u64 crc64; member
84 ctx->crc64 = crc64_be(~0, &info->siphash_key.k0, in bch2_str_hash_init()
105 ctx->crc64 = crc64_be(ctx->crc64, data, len); in bch2_str_hash_update()
123 return ctx->crc64 >> 1; in bch2_str_hash_end()
H A Dextents.h134 struct bch_extent_crc64 crc64; member
180 common_fields(crc->crc64), in bch2_extent_crc_unpack()
181 .nonce = crc->crc64.nonce, in bch2_extent_crc_unpack()
182 .csum.lo = (__force __le64) crc->crc64.csum_lo, in bch2_extent_crc_unpack()
185 *((__le16 *) &ret.csum.hi) = (__le16 __force) crc->crc64.csum_hi; in bch2_extent_crc_unpack()
H A Dextents.c543 set_common_fields(dst->crc64, src); in bch2_extent_crc_pack()
544 dst->crc64.nonce = src.nonce; in bch2_extent_crc_pack()
545 dst->crc64.csum_lo = (u64 __force) src.csum.lo; in bch2_extent_crc_pack()
546 dst->crc64.csum_hi = (u64 __force) *((__le16 *) &src.csum.hi); in bch2_extent_crc_pack()
1374 entry->crc64.csum_hi = swab16(entry->crc64.csum_hi); in bch2_ptr_swab()
1375 entry->crc64.csum_lo = swab64(entry->crc64.csum_lo); in bch2_ptr_swab()
1593 entry->crc64.offset += sub; in bch2_cut_front_s()
H A Dextents_format.h79 x(crc64, 2) \
H A Dbcachefs_format.h967 x(crc64, 1) \
980 x(crc64, 1) \
997 x(crc64, 6) \
1032 x(crc64, 2) \
/linux/lib/
H A DMakefile166 obj-$(CONFIG_CRC64) += crc64.o
172 obj-$(CONFIG_CRC64_ROCKSOFT) += crc64-rocksoft.o
323 $(obj)/crc64.o: $(obj)/crc64table.h
329 $(call cmd,crc64)
/linux/Documentation/staging/
H A Dxz.rst59 ``--check=crc64``.