Lines Matching refs:crypt_ctl
78 * NPE_QLEN crypt_ctl are busy */
113 struct crypt_ctl {
215 static struct crypt_ctl *crypt_virt = NULL;
238 static inline dma_addr_t crypt_virt2phys(struct crypt_ctl *virt)
240 return crypt_phys + (virt - crypt_virt) * sizeof(struct crypt_ctl);
243 static inline struct crypt_ctl *crypt_phys2virt(dma_addr_t phys)
245 return crypt_virt + (phys - crypt_phys) / sizeof(struct crypt_ctl);
265 BUILD_BUG_ON(sizeof(struct crypt_ctl) != 64);
267 NPE_QLEN * sizeof(struct crypt_ctl),
271 memset(crypt_virt, 0, NPE_QLEN * sizeof(struct crypt_ctl));
276 static struct crypt_ctl *get_crypt_desc(void)
304 static struct crypt_ctl *get_crypt_desc_emerg(void)
308 struct crypt_ctl *desc;
348 static void finish_scattered_hmac(struct crypt_ctl *crypt)
365 struct crypt_ctl *crypt;
536 NPE_QLEN_TOTAL * sizeof( struct crypt_ctl),
604 struct crypt_ctl *crypt;
705 struct crypt_ctl *crypt;
883 struct crypt_ctl *crypt;
1008 struct crypt_ctl *crypt;