Lines Matching refs:dm_verity

59 	struct dm_verity *v;
94 static sector_t verity_map_sector(struct dm_verity *v, sector_t bi_sector) in verity_map_sector()
105 static sector_t verity_position_at_level(struct dm_verity *v, sector_t block, in verity_position_at_level()
111 static int verity_ahash_update(struct dm_verity *v, struct ahash_request *req, in verity_ahash_update()
144 static int verity_ahash_init(struct dm_verity *v, struct ahash_request *req, in verity_ahash_init()
169 static int verity_ahash_final(struct dm_verity *v, struct ahash_request *req, in verity_ahash_final()
189 int verity_hash(struct dm_verity *v, struct dm_verity_io *io, in verity_hash()
213 static void verity_hash_at_level(struct dm_verity *v, sector_t block, int level, in verity_hash_at_level()
234 static int verity_handle_err(struct dm_verity *v, enum verity_block_type type, in verity_handle_err()
298 static int verity_verify_level(struct dm_verity *v, struct dm_verity_io *io, in verity_verify_level()
382 int verity_hash_for_block(struct dm_verity *v, struct dm_verity_io *io, in verity_hash_for_block()
416 static noinline int verity_recheck(struct dm_verity *v, struct dm_verity_io *io, in verity_recheck()
459 static int verity_handle_data_hash_mismatch(struct dm_verity *v, in verity_handle_data_hash_mismatch()
497 struct dm_verity *v = io->v; in verity_verify_io()
599 struct dm_verity *v = io->v; in verity_finish_io()
685 struct dm_verity *v = pw->v; in verity_prefetch_io()
719 static void verity_submit_prefetch(struct dm_verity *v, struct dm_verity_io *io, in verity_submit_prefetch()
758 struct dm_verity *v = ti->private; in verity_map()
805 struct dm_verity *v = ti->private; in verity_status()
951 struct dm_verity *v = ti->private; in verity_prepare_ioctl()
963 struct dm_verity *v = ti->private; in verity_iterate_devices()
970 struct dm_verity *v = ti->private; in verity_io_hints()
991 static int verity_init_sig(struct dm_verity *v, const void *sig, in verity_init_sig()
1005 static void verity_free_sig(struct dm_verity *v) in verity_free_sig()
1012 static inline int verity_init_sig(struct dm_verity *v, const void *sig, in verity_init_sig()
1018 static inline void verity_free_sig(struct dm_verity *v) in verity_free_sig()
1026 struct dm_verity *v = ti->private; in verity_dtr()
1072 static int verity_alloc_most_once(struct dm_verity *v) in verity_alloc_most_once()
1093 static int verity_alloc_zero_digest(struct dm_verity *v) in verity_alloc_zero_digest()
1131 static int verity_parse_verity_mode(struct dm_verity *v, const char *arg_name) in verity_parse_verity_mode()
1152 static int verity_parse_verity_error_mode(struct dm_verity *v, const char *arg_name) in verity_parse_verity_error_mode()
1165 static int verity_parse_opt_args(struct dm_arg_set *as, struct dm_verity *v, in verity_parse_opt_args()
1268 static int verity_setup_hash_alg(struct dm_verity *v, const char *alg_name) in verity_setup_hash_alg()
1332 static int verity_setup_salt_and_hashstate(struct dm_verity *v, const char *arg) in verity_setup_salt_and_hashstate()
1391 struct dm_verity *v; in verity_ctr()
1402 v = kzalloc(sizeof(struct dm_verity), GFP_KERNEL); in verity_ctr()
1660 struct dm_verity *v = ti->private; in dm_verity_get_mode()
1676 struct dm_verity *v = ti->private; in dm_verity_get_root_digest()
1695 struct dm_verity *v) in verity_security_set_signature()
1712 struct dm_verity *v) in verity_security_set_signature()
1728 struct dm_verity *v; in verity_preresume()