Home
last modified time | relevance | path

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

/fs/bcachefs/
A Dstr_hash.h69 u64 crc64; member
83 ctx->crc64 = crc64_be(~0, &info->siphash_key.k0, in bch2_str_hash_init()
104 ctx->crc64 = crc64_be(ctx->crc64, data, len); in bch2_str_hash_update()
122 return ctx->crc64 >> 1; in bch2_str_hash_end()
A Dextents.h133 struct bch_extent_crc64 crc64; member
179 common_fields(crc->crc64), in bch2_extent_crc_unpack()
180 .nonce = crc->crc64.nonce, in bch2_extent_crc_unpack()
181 .csum.lo = (__force __le64) crc->crc64.csum_lo, in bch2_extent_crc_unpack()
184 *((__le16 *) &ret.csum.hi) = (__le16 __force) crc->crc64.csum_hi; in bch2_extent_crc_unpack()
A Dextents.c679 dst->crc64 = (struct bch_extent_crc64) { in bch2_extent_crc_pack()
1574 entry->crc64.csum_hi = swab16(entry->crc64.csum_hi); in bch2_ptr_swab()
1575 entry->crc64.csum_lo = swab64(entry->crc64.csum_lo); in bch2_ptr_swab()
1655 entry->crc64.offset += sub; in bch2_cut_front_s()
A Dbcachefs_format.h1016 x(crc64, 1) \
1029 x(crc64, 1) \
1046 x(crc64, 6) \
1081 x(crc64, 2) \
A Dextents_format.h79 x(crc64, 2) \

Completed in 22 milliseconds