Home
last modified time | relevance | path

Searched refs:integrity_metadata (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/md/
H A Ddm-crypt.c76 u8 *integrity_metadata; member
1168 ret = bio_integrity_add_page(bio, virt_to_page(io->integrity_metadata), in dm_crypt_integrity_io_alloc()
1169 tag_len, offset_in_page(io->integrity_metadata)); in dm_crypt_integrity_io_alloc()
1289 return &io->integrity_metadata[*org_tag_of_dmreq(cc, dmreq) * in tag_from_dmreq()
1776 io->integrity_metadata = NULL; in crypt_io_init()
1814 mempool_free(io->integrity_metadata, &io->cc->tag_pool); in crypt_dec_pending()
1816 kfree(io->integrity_metadata); in crypt_dec_pending()
3490 io->integrity_metadata = NULL; in crypt_map()
3492 …io->integrity_metadata = kmalloc(tag_len, GFP_NOIO | __GFP_NORETRY | __GFP_NOMEMALLOC | __GFP_NOWA… in crypt_map()
3494 if (unlikely(!io->integrity_metadata)) { in crypt_map()
[all …]
H A Ddm-integrity.c1783 static void integrity_metadata(struct work_struct *w) in integrity_metadata() function
2366 integrity_metadata(&dio->work); in dm_integrity_map_continue()
2391 integrity_metadata(&dio->work); in dm_integrity_map_continue()
2396 INIT_WORK(&dio->work, integrity_metadata); in dm_integrity_map_continue()