Searched refs:queue_cache (Results 1 – 1 of 1) sorted by relevance
1557 static struct kmem_cache *queue_cache[2]; variable1561 return kmem_cache_zalloc(queue_cache[q_type - 1], GFP_KERNEL); in new_queue()1566 kmem_cache_free(queue_cache[q_type - 1], p); in free_queue()1571 if (!queue_cache[HV_NCS_QTYPE_MAU - 1]) in queue_cache_init()1572 queue_cache[HV_NCS_QTYPE_MAU - 1] = in queue_cache_init()1577 if (!queue_cache[HV_NCS_QTYPE_MAU - 1]) in queue_cache_init()1580 if (!queue_cache[HV_NCS_QTYPE_CWQ - 1]) in queue_cache_init()1581 queue_cache[HV_NCS_QTYPE_CWQ - 1] = in queue_cache_init()1586 if (!queue_cache[HV_NCS_QTYPE_CWQ - 1]) { in queue_cache_init()1587 kmem_cache_destroy(queue_cache[HV_NCS_QTYPE_MAU - 1]); in queue_cache_init()[all …]