Home
last modified time | relevance | path

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

/linux/fs/bcachefs/
H A Dec.c568 unsigned csum_granularity = 1U << v->csum_granularity_bits; in ec_stripe_buf_init() local
574 offset = round_down(offset, csum_granularity); in ec_stripe_buf_init()
576 round_up(end, csum_granularity)); in ec_stripe_buf_init()
601 unsigned csum_granularity = 1 << v->csum_granularity_bits; in ec_block_checksum() local
603 unsigned len = min(csum_granularity, end - offset); in ec_block_checksum()
607 BUG_ON(offset & (csum_granularity - 1)); in ec_block_checksum()
609 (len & (csum_granularity - 1))); in ec_block_checksum()
637 unsigned csum_granularity = 1 << v->csum_granularity_bits; in ec_validate_checksums() local
652 unsigned len = min(csum_granularity, end - offset); in ec_validate_checksums()