Home
last modified time | relevance | path

Searched refs:dm_verity_io (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/md/
H A Ddm-verity.h77 struct dm_verity_io { struct
106 struct dm_verity_io *io) in verity_io_hash_req() argument
112 struct dm_verity_io *io) in verity_io_real_digest()
118 struct dm_verity_io *io) in verity_io_want_digest()
123 extern int verity_for_bv_block(struct dm_verity *v, struct dm_verity_io *io,
126 struct dm_verity_io *io,
132 extern int verity_hash_for_block(struct dm_verity *v, struct dm_verity_io *io,
H A Ddm-verity-fec.h71 extern int verity_fec_decode(struct dm_verity *v, struct dm_verity_io *io,
78 extern void verity_fec_finish_io(struct dm_verity_io *io);
79 extern void verity_fec_init_io(struct dm_verity_io *io);
101 struct dm_verity_io *io, in verity_fec_decode()
116 static inline void verity_fec_finish_io(struct dm_verity_io *io) in verity_fec_finish_io()
120 static inline void verity_fec_init_io(struct dm_verity_io *io) in verity_fec_init_io()
H A Ddm-verity-target.c287 static int verity_verify_level(struct dm_verity *v, struct dm_verity_io *io, in verity_verify_level()
370 int verity_hash_for_block(struct dm_verity *v, struct dm_verity_io *io, in verity_hash_for_block()
407 static int verity_for_io_block(struct dm_verity *v, struct dm_verity_io *io, in verity_for_io_block()
451 int verity_for_bv_block(struct dm_verity *v, struct dm_verity_io *io, in verity_for_bv_block()
454 struct dm_verity_io *io, u8 *data, in verity_for_bv_block()
485 static int verity_recheck_copy(struct dm_verity *v, struct dm_verity_io *io, in verity_recheck_copy()
494 static noinline int verity_recheck(struct dm_verity *v, struct dm_verity_io *io, in verity_recheck()
542 static int verity_bv_zero(struct dm_verity *v, struct dm_verity_io *io, in verity_bv_zero()
553 struct dm_verity_io *io, in verity_bv_skip_block()
564 static int verity_verify_io(struct dm_verity_io *io) in verity_verify_io()
[all …]
H A Ddm-verity-fec.c25 static inline struct dm_verity_fec_io *fec_io(struct dm_verity_io *io) in fec_io()
200 static int fec_is_erasure(struct dm_verity *v, struct dm_verity_io *io, in fec_is_erasure()
216 static int fec_read_bufs(struct dm_verity *v, struct dm_verity_io *io, in fec_read_bufs()
377 static int fec_decode_rsb(struct dm_verity *v, struct dm_verity_io *io, in fec_decode_rsb()
420 static int fec_bv_copy(struct dm_verity *v, struct dm_verity_io *io, u8 *data, in fec_bv_copy()
435 int verity_fec_decode(struct dm_verity *v, struct dm_verity_io *io, in verity_fec_decode()
502 void verity_fec_finish_io(struct dm_verity_io *io) in verity_fec_finish_io()
525 void verity_fec_init_io(struct dm_verity_io *io) in verity_fec_init_io()