Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/virtio/ !
Dvirtgpu_vq.c271 static struct sg_table *vmalloc_to_sgt(char *data, uint32_t size, int *sg_ents) in vmalloc_to_sgt() argument
285 *sg_ents = DIV_ROUND_UP(size, PAGE_SIZE); in vmalloc_to_sgt()
286 ret = sg_alloc_table(sgt, *sg_ents, GFP_KERNEL); in vmalloc_to_sgt()
383 int sg_ents; in virtio_gpu_queue_fenced_ctrl_buffer() local
385 &sg_ents); in virtio_gpu_queue_fenced_ctrl_buffer()
392 elemcnt += sg_ents; in virtio_gpu_queue_fenced_ctrl_buffer()