Searched refs:csum_granularity (Results 1 – 1 of 1) sorted by relevance
569 unsigned csum_granularity = 1U << v->csum_granularity_bits; in ec_stripe_buf_init() local575 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() local604 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() local653 unsigned len = min(csum_granularity, end - offset); in ec_validate_checksums()