Searched refs:bch_csum (Results 1 – 15 of 15) sorted by relevance
/linux-6.12.1/fs/bcachefs/ |
D | checksum.h | 25 struct bch_csum bch2_checksum_merge(unsigned, struct bch_csum, 26 struct bch_csum, size_t); 34 struct bch_csum bch2_checksum(struct bch_fs *, unsigned, struct nonce, 50 struct bch_csum csum) in bch2_csum_to_text() 61 struct bch_csum expected, in bch2_csum_err_msg() 62 struct bch_csum got) in bch2_csum_err_msg() 81 struct bch_csum bch2_checksum_bio(struct bch_fs *, unsigned, 164 static inline bool bch2_crc_cmp(struct bch_csum l, struct bch_csum r) in bch2_crc_cmp()
|
D | checksum.c | 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() [all …]
|
D | ec.h | 80 static inline struct bch_csum stripe_csum_get(struct bch_stripe *s, in stripe_csum_get() 83 struct bch_csum csum = { 0 }; in stripe_csum_get() 91 struct bch_csum csum) in stripe_csum_set()
|
D | extents_types.h | 19 struct bch_csum csum;
|
D | bcachefs_format.h | 456 struct bch_csum { struct 729 struct bch_csum csum; 1240 struct bch_csum csum; 1410 struct bch_csum csum; 1453 struct bch_csum csum;
|
D | extents_format.h | 161 struct bch_csum csum;
|
D | io_write.c | 793 struct bch_csum csum; in bch2_write_decrypt() 811 op->crc.csum = (struct bch_csum) { 0, 0 }; in bch2_write_decrypt() 850 struct bch_csum csum; in bch2_write_prep_encoded_data()
|
D | journal_io.c | 84 static bool jset_csum_good(struct bch_fs *c, struct jset *j, struct bch_csum *csum) in jset_csum_good() 87 *csum = (struct bch_csum) {}; in jset_csum_good() 1091 struct bch_csum csum; in journal_read_bucket()
|
D | compress.c | 261 crc->csum = (struct bch_csum) { 0, 0 }; in bch2_bio_uncompress_inplace()
|
D | ec.c | 598 static struct bch_csum ec_block_checksum(struct ec_stripe_buf *buf, in ec_block_checksum() 654 struct bch_csum want = stripe_csum_get(v, i, j); in ec_validate_checksums() 655 struct bch_csum got = ec_block_checksum(buf, i, offset); in ec_validate_checksums()
|
D | debug.c | 226 struct bch_csum csum; in bch2_btree_node_ondisk_to_text()
|
D | backpointers.c | 510 struct bch_csum csum = bch2_checksum(c, p.crc.csum_type, nonce, data_buf, bytes); in check_extent_checksum()
|
D | btree_io.c | 1056 struct bch_csum csum = csum_vstruct(c, BSET_CSUM_TYPE(i), nonce, b->data); in bch2_btree_node_read_done() 1097 struct bch_csum csum = csum_vstruct(c, BSET_CSUM_TYPE(i), nonce, bne); in bch2_btree_node_read_done()
|
D | io_read.c | 577 struct bch_csum csum; in __bch2_read_endio()
|
D | super-io.c | 685 struct bch_csum csum = csum_vstruct(NULL, csum_type, null_nonce(), sb->sb); in read_one_super()
|