Searched refs:crypt_virt (Results 1 – 1 of 1) sorted by relevance
230 static struct crypt_ctl *crypt_virt; variable239 return crypt_phys + (virt - crypt_virt) * sizeof(struct crypt_ctl); in crypt_virt2phys()244 return crypt_virt + (phys - crypt_phys) / sizeof(struct crypt_ctl); in crypt_phys2virt()269 crypt_virt = dma_alloc_coherent(dev, in setup_crypt_desc()272 if (!crypt_virt) in setup_crypt_desc()286 if (unlikely(!crypt_virt)) in get_crypt_desc()288 if (unlikely(!crypt_virt)) { in get_crypt_desc()293 if (crypt_virt[i].ctl_flags == CTL_FLAG_UNUSED) { in get_crypt_desc()296 crypt_virt[i].ctl_flags = CTL_FLAG_USED; in get_crypt_desc()298 return crypt_virt + i; in get_crypt_desc()[all …]