Searched refs:crypt_virt (Results 1 – 1 of 1) sorted by relevance
231 static struct crypt_ctl *crypt_virt; variable240 return crypt_phys + (virt - crypt_virt) * sizeof(struct crypt_ctl); in crypt_virt2phys()245 return crypt_virt + (phys - crypt_phys) / sizeof(struct crypt_ctl); in crypt_phys2virt()268 crypt_virt = dma_alloc_coherent(dev, in setup_crypt_desc()271 if (!crypt_virt) in setup_crypt_desc()285 if (unlikely(!crypt_virt)) in get_crypt_desc()287 if (unlikely(!crypt_virt)) { in get_crypt_desc()292 if (crypt_virt[i].ctl_flags == CTL_FLAG_UNUSED) { in get_crypt_desc()295 crypt_virt[i].ctl_flags = CTL_FLAG_USED; in get_crypt_desc()297 return crypt_virt + i; in get_crypt_desc()[all …]