Searched refs:crypt_virt (Results 1 – 1 of 1) sorted by relevance
226 static struct crypt_ctl *crypt_virt = NULL; variable237 return crypt_phys + (virt - crypt_virt) * sizeof(struct crypt_ctl); in crypt_virt2phys()242 return crypt_virt + (phys - crypt_phys) / sizeof(struct crypt_ctl); in crypt_phys2virt()264 crypt_virt = dma_alloc_coherent(dev, in setup_crypt_desc()267 if (!crypt_virt) in setup_crypt_desc()269 memset(crypt_virt, 0, NPE_QLEN * sizeof(struct crypt_ctl)); in setup_crypt_desc()282 if (unlikely(!crypt_virt)) in get_crypt_desc()284 if (unlikely(!crypt_virt)) { in get_crypt_desc()289 if (crypt_virt[i].ctl_flags == CTL_FLAG_UNUSED) { in get_crypt_desc()292 crypt_virt[i].ctl_flags = CTL_FLAG_USED; in get_crypt_desc()[all …]