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()267 crypt_virt = dma_alloc_coherent(dev, in setup_crypt_desc()270 if (!crypt_virt) in setup_crypt_desc()284 if (unlikely(!crypt_virt)) in get_crypt_desc()286 if (unlikely(!crypt_virt)) { in get_crypt_desc()291 if (crypt_virt[i].ctl_flags == CTL_FLAG_UNUSED) { in get_crypt_desc()294 crypt_virt[i].ctl_flags = CTL_FLAG_USED; in get_crypt_desc()296 return crypt_virt + i; in get_crypt_desc()[all …]