Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/media/v4l2-core/
Dvideobuf-dma-sg.c218 dma->vaddr_pages = kcalloc(nr_pages, sizeof(*dma->vaddr_pages), in videobuf_dma_init_kernel()
220 if (!dma->vaddr_pages) in videobuf_dma_init_kernel()
225 kfree(dma->vaddr_pages); in videobuf_dma_init_kernel()
236 dma->vaddr_pages[i] = virt_to_page(addr); in videobuf_dma_init_kernel()
238 dma->vaddr = vmap(dma->vaddr_pages, nr_pages, VM_MAP | VM_IOREMAP, in videobuf_dma_init_kernel()
257 addr = page_address(dma->vaddr_pages[i]); in videobuf_dma_init_kernel()
262 kfree(dma->vaddr_pages); in videobuf_dma_init_kernel()
263 dma->vaddr_pages = NULL; in videobuf_dma_init_kernel()
362 addr = page_address(dma->vaddr_pages[i]); in videobuf_dma_free()
368 kfree(dma->vaddr_pages); in videobuf_dma_free()
[all …]
/linux-5.19.10/include/media/
Dvideobuf-dma-sg.h53 struct page **vaddr_pages; member