Lines Matching refs:bch_csum
210 struct bch_csum bch2_checksum(struct bch_fs *c, unsigned type, in bch2_checksum()
227 return (struct bch_csum) { .lo = cpu_to_le64(bch2_checksum_final(&state)) }; in bch2_checksum()
234 struct bch_csum ret = { 0 }; in bch2_checksum()
245 return (struct bch_csum) {}; in bch2_checksum()
258 static struct bch_csum __bch2_checksum_bio(struct bch_fs *c, unsigned type, in __bch2_checksum_bio()
266 return (struct bch_csum) { 0 }; in __bch2_checksum_bio()
289 return (struct bch_csum) { .lo = cpu_to_le64(bch2_checksum_final(&state)) }; in __bch2_checksum_bio()
296 struct bch_csum ret = { 0 }; in __bch2_checksum_bio()
319 return (struct bch_csum) {}; in __bch2_checksum_bio()
323 struct bch_csum bch2_checksum_bio(struct bch_fs *c, unsigned type, in bch2_checksum_bio()
375 struct bch_csum bch2_checksum_merge(unsigned type, struct bch_csum a, in bch2_checksum_merge()
376 struct bch_csum b, size_t b_len) in bch2_checksum_merge()
409 struct bch_csum merged = { 0 }; in bch2_rechecksum_bio()
414 struct bch_csum csum; in bch2_rechecksum_bio()