Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/md/
Ddm-crypt.c67 u8 *integrity_metadata; member
831 ret = bio_integrity_add_page(bio, virt_to_page(io->integrity_metadata), in dm_crypt_integrity_io_alloc()
832 tag_len, offset_in_page(io->integrity_metadata)); in dm_crypt_integrity_io_alloc()
950 return &io->integrity_metadata[*org_tag_of_dmreq(cc, dmreq) * in tag_from_dmreq()
1359 io->integrity_metadata = NULL; in crypt_io_init()
1386 mempool_free(io->integrity_metadata, &io->cc->tag_pool); in crypt_dec_pending()
1388 kfree(io->integrity_metadata); in crypt_dec_pending()
2788 unlikely(!(io->integrity_metadata = kmalloc(tag_len, in crypt_map()
2792 io->integrity_metadata = mempool_alloc(&cc->tag_pool, GFP_NOIO); in crypt_map()
Ddm-integrity.c1508 static void integrity_metadata(struct work_struct *w) in integrity_metadata() function
2031 integrity_metadata(&dio->work); in dm_integrity_map_continue()
2037 INIT_WORK(&dio->work, integrity_metadata); in dm_integrity_map_continue()