Lines Matching defs:v
56 struct dm_verity *v; member
91 static sector_t verity_map_sector(struct dm_verity *v, sector_t bi_sector) in verity_map_sector()
102 static sector_t verity_position_at_level(struct dm_verity *v, sector_t block, in verity_position_at_level()
108 static int verity_ahash_update(struct dm_verity *v, struct ahash_request *req, in verity_ahash_update()
141 static int verity_ahash_init(struct dm_verity *v, struct ahash_request *req, in verity_ahash_init()
166 static int verity_ahash_final(struct dm_verity *v, struct ahash_request *req, in verity_ahash_final()
186 static int verity_ahash(struct dm_verity *v, struct dm_verity_io *io, in verity_ahash()
197 int verity_hash(struct dm_verity *v, struct dm_verity_io *io, in verity_hash()
216 static int verity_hash_mb(struct dm_verity *v, struct dm_verity_io *io, in verity_hash_mb()
244 static void verity_hash_at_level(struct dm_verity *v, sector_t block, int level, in verity_hash_at_level()
265 static int verity_handle_err(struct dm_verity *v, enum verity_block_type type, in verity_handle_err()
329 static int verity_verify_level(struct dm_verity *v, struct dm_verity_io *io, in verity_verify_level()
414 int verity_hash_for_block(struct dm_verity *v, struct dm_verity_io *io, in verity_hash_for_block()
448 static noinline int verity_recheck(struct dm_verity *v, struct dm_verity_io *io, in verity_recheck()
491 static int verity_handle_data_hash_mismatch(struct dm_verity *v, in verity_handle_data_hash_mismatch()
538 static int verity_verify_pending_blocks(struct dm_verity *v, in verity_verify_pending_blocks()
579 struct dm_verity *v = io->v; in verity_verify_io() local
678 struct dm_verity *v = io->v; in verity_finish_io() local
724 struct dm_verity *v = pw->v; in verity_prefetch_io() local
758 static void verity_submit_prefetch(struct dm_verity *v, struct dm_verity_io *io, in verity_submit_prefetch()
797 struct dm_verity *v = ti->private; in verity_map() local
843 struct dm_verity *v = ti->private; in verity_status() local
961 struct dm_verity *v = ti->private; in verity_prepare_ioctl() local
973 struct dm_verity *v = ti->private; in verity_iterate_devices() local
980 struct dm_verity *v = ti->private; in verity_io_hints() local
995 struct dm_verity *v = ti->private; in verity_dtr() local
1040 static int verity_alloc_most_once(struct dm_verity *v) in verity_alloc_most_once()
1061 static int verity_alloc_zero_digest(struct dm_verity *v) in verity_alloc_zero_digest()
1099 static int verity_parse_verity_mode(struct dm_verity *v, const char *arg_name) in verity_parse_verity_mode()
1114 static int verity_parse_opt_args(struct dm_arg_set *as, struct dm_verity *v, in verity_parse_opt_args()
1207 static int verity_setup_hash_alg(struct dm_verity *v, const char *alg_name) in verity_setup_hash_alg()
1276 static int verity_setup_salt_and_hashstate(struct dm_verity *v, const char *arg) in verity_setup_salt_and_hashstate()
1335 struct dm_verity *v; in verity_ctr() local
1597 struct dm_verity *v = ti->private; in dm_verity_get_mode() local
1613 struct dm_verity *v = ti->private; in dm_verity_get_root_digest() local