Searched refs:vaddr_pages (Results 1 – 2 of 2) sorted by relevance
218 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 …]
53 struct page **vaddr_pages; member