Home
last modified time | relevance | path

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

/linux-6.12.1/fs/bcachefs/
Dec.c569 unsigned csum_granularity = 1U << v->csum_granularity_bits; in ec_stripe_buf_init() local
575 offset = round_down(offset, csum_granularity); in ec_stripe_buf_init()
577 round_up(end, csum_granularity)); in ec_stripe_buf_init()
602 unsigned csum_granularity = 1 << v->csum_granularity_bits; in ec_block_checksum() local
604 unsigned len = min(csum_granularity, end - offset); in ec_block_checksum()
608 BUG_ON(offset & (csum_granularity - 1)); in ec_block_checksum()
610 (len & (csum_granularity - 1))); in ec_block_checksum()
638 unsigned csum_granularity = 1 << v->csum_granularity_bits; in ec_validate_checksums() local
653 unsigned len = min(csum_granularity, end - offset); in ec_validate_checksums()