Lines Matching refs:data_dev_block_bits
410 unsigned int todo = 1 << v->data_dev_block_bits; in verity_for_io_block()
457 unsigned int todo = 1 << v->data_dev_block_bits; in verity_for_bv_block()
512 io_loc.sector = cur_block << (v->data_dev_block_bits - SECTOR_SHIFT); in verity_recheck()
513 io_loc.count = 1 << (v->data_dev_block_bits - SECTOR_SHIFT); in verity_recheck()
519 1 << v->data_dev_block_bits, in verity_recheck()
558 bio_advance_iter(bio, iter, 1 << v->data_dev_block_bits); in verity_bv_skip_block()
742 cluster >>= v->data_dev_block_bits; in verity_prefetch_io()
806 ((1 << (v->data_dev_block_bits - SECTOR_SHIFT)) - 1)) { in verity_map()
812 (v->data_dev_block_bits - SECTOR_SHIFT) > v->data_blocks) { in verity_map()
823 io->block = bio->bi_iter.bi_sector >> (v->data_dev_block_bits - SECTOR_SHIFT); in verity_map()
824 io->n_blocks = bio->bi_iter.bi_size >> v->data_dev_block_bits; in verity_map()
859 1 << v->data_dev_block_bits, in verity_status()
984 if (limits->logical_block_size < 1 << v->data_dev_block_bits) in verity_io_hints()
985 limits->logical_block_size = 1 << v->data_dev_block_bits; in verity_io_hints()
987 if (limits->physical_block_size < 1 << v->data_dev_block_bits) in verity_io_hints()
988 limits->physical_block_size = 1 << v->data_dev_block_bits; in verity_io_hints()
1072 zero_data = kzalloc(1 << v->data_dev_block_bits, GFP_KERNEL); in verity_alloc_zero_digest()
1077 r = verity_hash(v, req, zero_data, 1 << v->data_dev_block_bits, in verity_alloc_zero_digest()
1290 v->data_dev_block_bits = __ffs(num); in verity_ctr()
1303 (sector_t)(num_ll << (v->data_dev_block_bits - SECTOR_SHIFT)) in verity_ctr()
1304 >> (v->data_dev_block_bits - SECTOR_SHIFT) != num_ll) { in verity_ctr()
1311 if (ti->len > (v->data_blocks << (v->data_dev_block_bits - SECTOR_SHIFT))) { in verity_ctr()