Lines Matching refs:data_dev_block_bits
434 io_loc.sector = cur_block << (v->data_dev_block_bits - SECTOR_SHIFT); in verity_recheck()
435 io_loc.count = 1 << (v->data_dev_block_bits - SECTOR_SHIFT); in verity_recheck()
440 r = verity_hash(v, io, buffer, 1 << v->data_dev_block_bits, in verity_recheck()
451 memcpy(dest, buffer, 1 << v->data_dev_block_bits); in verity_recheck()
498 const unsigned int block_size = 1 << v->data_dev_block_bits; in verity_verify_io()
698 cluster >>= v->data_dev_block_bits; in verity_prefetch_io()
765 ((1 << (v->data_dev_block_bits - SECTOR_SHIFT)) - 1)) { in verity_map()
771 (v->data_dev_block_bits - SECTOR_SHIFT) > v->data_blocks) { in verity_map()
782 io->block = bio->bi_iter.bi_sector >> (v->data_dev_block_bits - SECTOR_SHIFT); in verity_map()
783 io->n_blocks = bio->bi_iter.bi_size >> v->data_dev_block_bits; in verity_map()
819 1 << v->data_dev_block_bits, in verity_status()
972 if (limits->logical_block_size < 1 << v->data_dev_block_bits) in verity_io_hints()
973 limits->logical_block_size = 1 << v->data_dev_block_bits; in verity_io_hints()
975 if (limits->physical_block_size < 1 << v->data_dev_block_bits) in verity_io_hints()
976 limits->physical_block_size = 1 << v->data_dev_block_bits; in verity_io_hints()
1109 zero_data = kzalloc(1 << v->data_dev_block_bits, GFP_KERNEL); in verity_alloc_zero_digest()
1114 r = verity_hash(v, io, zero_data, 1 << v->data_dev_block_bits, in verity_alloc_zero_digest()
1463 v->data_dev_block_bits = __ffs(num); in verity_ctr()
1476 (sector_t)(num_ll << (v->data_dev_block_bits - SECTOR_SHIFT)) in verity_ctr()
1477 >> (v->data_dev_block_bits - SECTOR_SHIFT) != num_ll) { in verity_ctr()
1484 if (ti->len > (v->data_blocks << (v->data_dev_block_bits - SECTOR_SHIFT))) { in verity_ctr()