Searched refs:dm_verity (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/drivers/md/ |
D | dm-verity-fec.h | 68 extern bool verity_fec_is_enabled(struct dm_verity *v); 70 extern int verity_fec_decode(struct dm_verity *v, struct dm_verity_io *io, 74 extern unsigned int verity_fec_status_table(struct dm_verity *v, unsigned int sz, 82 struct dm_verity *v, unsigned int *argc, 85 extern void verity_fec_dtr(struct dm_verity *v); 87 extern int verity_fec_ctr_alloc(struct dm_verity *v); 88 extern int verity_fec_ctr(struct dm_verity *v); 94 static inline bool verity_fec_is_enabled(struct dm_verity *v) in verity_fec_is_enabled() 99 static inline int verity_fec_decode(struct dm_verity *v, in verity_fec_decode() 107 static inline unsigned int verity_fec_status_table(struct dm_verity *v, in verity_fec_status_table() [all …]
|
D | dm-verity.h | 36 struct dm_verity { struct 85 struct dm_verity *v; argument 111 static inline void *verity_io_hash_req(struct dm_verity *v, in verity_io_hash_req() 117 static inline u8 *verity_io_real_digest(struct dm_verity *v, in verity_io_real_digest() 123 static inline u8 *verity_io_want_digest(struct dm_verity *v, in verity_io_want_digest() 129 extern int verity_hash(struct dm_verity *v, struct dm_verity_io *io, 132 extern int verity_hash_for_block(struct dm_verity *v, struct dm_verity_io *io,
|
D | dm-verity-target.c | 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() [all …]
|
D | dm-verity-fec.c | 16 bool verity_fec_is_enabled(struct dm_verity *v) in verity_fec_is_enabled() 34 static inline u64 fec_interleave(struct dm_verity *v, u64 offset) in fec_interleave() 45 static int fec_decode_rs8(struct dm_verity *v, struct dm_verity_fec_io *fio, in fec_decode_rs8() 62 static u8 *fec_read_parity(struct dm_verity *v, u64 rsb, int index, in fec_read_parity() 105 static inline u8 *fec_buffer_rs_block(struct dm_verity *v, in fec_buffer_rs_block() 125 static int fec_decode_bufs(struct dm_verity *v, struct dm_verity_io *io, in fec_decode_bufs() 186 static int fec_is_erasure(struct dm_verity *v, struct dm_verity_io *io, in fec_is_erasure() 201 static int fec_read_bufs(struct dm_verity *v, struct dm_verity_io *io, in fec_read_bufs() 308 static int fec_alloc_bufs(struct dm_verity *v, struct dm_verity_fec_io *fio) in fec_alloc_bufs() 348 static void fec_init_bufs(struct dm_verity *v, struct dm_verity_fec_io *fio) in fec_init_bufs() [all …]
|
D | dm-verity-verify-sig.h | 27 int verity_verify_sig_parse_opt_args(struct dm_arg_set *as, struct dm_verity *v, 49 struct dm_verity *v, struct dm_verity_sig_opts *sig_opts, in verity_verify_sig_parse_opt_args()
|
D | dm-verity-verify-sig.c | 68 struct dm_verity *v, in verity_verify_sig_parse_opt_args()
|