Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/virtio/
H A Dvirtgpu_vq.c278 static struct sg_table *vmalloc_to_sgt(char *data, uint32_t size, int *sg_ents) in vmalloc_to_sgt() argument
292 *sg_ents = DIV_ROUND_UP(size, PAGE_SIZE); in vmalloc_to_sgt()
293 ret = sg_alloc_table(sgt, *sg_ents, GFP_KERNEL); in vmalloc_to_sgt()
390 int sg_ents; in virtio_gpu_queue_fenced_ctrl_buffer() local
392 &sg_ents); in virtio_gpu_queue_fenced_ctrl_buffer()
399 elemcnt += sg_ents; in virtio_gpu_queue_fenced_ctrl_buffer()
/kernel/linux/linux-6.6/drivers/gpu/drm/virtio/
H A Dvirtgpu_vq.c275 static struct sg_table *vmalloc_to_sgt(char *data, uint32_t size, int *sg_ents) in vmalloc_to_sgt() argument
289 *sg_ents = DIV_ROUND_UP(size, PAGE_SIZE); in vmalloc_to_sgt()
290 ret = sg_alloc_table(sgt, *sg_ents, GFP_KERNEL); in vmalloc_to_sgt()
388 int sg_ents; in virtio_gpu_queue_fenced_ctrl_buffer() local
390 &sg_ents); in virtio_gpu_queue_fenced_ctrl_buffer()
397 elemcnt += sg_ents; in virtio_gpu_queue_fenced_ctrl_buffer()

Completed in 4 milliseconds