Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/virtio/
Dvirtgpu_vq.c72 vgdev->vbufs = kmem_cache_create("virtio-gpu-vbufs", in virtio_gpu_alloc_vbufs()
76 if (!vgdev->vbufs) in virtio_gpu_alloc_vbufs()
83 kmem_cache_destroy(vgdev->vbufs); in virtio_gpu_free_vbufs()
84 vgdev->vbufs = NULL; in virtio_gpu_free_vbufs()
94 vbuf = kmem_cache_zalloc(vgdev->vbufs, GFP_KERNEL | __GFP_NOFAIL); in virtio_gpu_get_vbuf()
177 kmem_cache_free(vgdev->vbufs, vbuf); in free_vbuf()
Dvirtgpu_drv.h192 struct kmem_cache *vbufs; member