Searched refs:vbufs (Results 1 – 2 of 2) sorted by relevance
74 vgdev->vbufs = kmem_cache_create("virtio-gpu-vbufs", in virtio_gpu_alloc_vbufs()78 if (!vgdev->vbufs) in virtio_gpu_alloc_vbufs()85 kmem_cache_destroy(vgdev->vbufs); in virtio_gpu_free_vbufs()86 vgdev->vbufs = NULL; in virtio_gpu_free_vbufs()96 vbuf = kmem_cache_zalloc(vgdev->vbufs, GFP_KERNEL | __GFP_NOFAIL); in virtio_gpu_get_vbuf()179 kmem_cache_free(vgdev->vbufs, vbuf); in free_vbuf()
227 struct kmem_cache *vbufs; member