Home
last modified time | relevance | path

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

/device/soc/rockchip/common/sdk_linux/drivers/dma-buf/heaps/
H A Dcma_heap.c37 pgoff_t pagecount; member
60 ret = sg_alloc_table_from_pages(&a->table, buffer->pages, buffer->pagecount, 0, buffer->pagecount << PAGE_SHIFT, in cma_heap_attach()
165 if (vmf->pgoff > buffer->pagecount) { in cma_heap_vm_fault()
197 vaddr = vmap(buffer->pages, buffer->pagecount, VM_MAP, PAGE_KERNEL); in cma_heap_do_vmap()
255 cma_release(cma_heap->cma, buffer->cma_pages, buffer->pagecount); in cma_heap_dma_buf_release()
279 pgoff_t pagecount = size >> PAGE_SHIFT; in cma_heap_allocate() local
299 cma_pages = cma_alloc(cma_heap->cma, pagecount, align, GFP_KERNEL); in cma_heap_allocate()
306 unsigned long nr_clear_pages = pagecount; in cma_heap_allocate()
328 buffer->pages = kmalloc_array(pagecount, sizeo in cma_heap_allocate()
[all...]
/device/soc/rockchip/common/sdk_linux/include/trace/hooks/
H A Dcam_heap_hooks.h28 pgoff_t pagecount, unsigned long fd_flags, struct dma_buf *dmabuf,
30 TP_ARGS(buffer, cma_pages, cma_heap, pagecount, fd_flags, dmabuf, pcma_heap_buf_ops, heap, data));

Completed in 1 milliseconds