Home
last modified time | relevance | path

Searched refs:queue_cache (Results 1 – 1 of 1) sorted by relevance

/linux-5.19.10/drivers/crypto/
Dn2_core.c1550 static struct kmem_cache *queue_cache[2]; variable
1554 return kmem_cache_zalloc(queue_cache[q_type - 1], GFP_KERNEL); in new_queue()
1559 kmem_cache_free(queue_cache[q_type - 1], p); in free_queue()
1564 if (!queue_cache[HV_NCS_QTYPE_MAU - 1]) in queue_cache_init()
1565 queue_cache[HV_NCS_QTYPE_MAU - 1] = in queue_cache_init()
1570 if (!queue_cache[HV_NCS_QTYPE_MAU - 1]) in queue_cache_init()
1573 if (!queue_cache[HV_NCS_QTYPE_CWQ - 1]) in queue_cache_init()
1574 queue_cache[HV_NCS_QTYPE_CWQ - 1] = in queue_cache_init()
1579 if (!queue_cache[HV_NCS_QTYPE_CWQ - 1]) { in queue_cache_init()
1580 kmem_cache_destroy(queue_cache[HV_NCS_QTYPE_MAU - 1]); in queue_cache_init()
[all …]