• Home
  • Raw
  • Download

Lines Matching refs:helper_buffer

6246 -	struct heap_helper_buffer *helper_buffer;
6265 - helper_buffer = kzalloc(sizeof(*helper_buffer), GFP_KERNEL);
6266 - if (!helper_buffer)
6272 - init_heap_helper_buffer(helper_buffer, cma_heap_free);
6273 - helper_buffer->heap = heap;
6274 - helper_buffer->size = len;
6303 - helper_buffer->pagecount = nr_pages;
6304 - helper_buffer->pages = kmalloc_array(helper_buffer->pagecount,
6305 - sizeof(*helper_buffer->pages),
6307 - if (!helper_buffer->pages) {
6314 - for (pg = 0; pg < helper_buffer->pagecount; pg++)
6315 - helper_buffer->pages[pg] = &cma_pages[pg];
6324 - dmabuf = heap_helper_export_dmabuf(helper_buffer, fd_flags);
6336 - helper_buffer->dmabuf = dmabuf;
6337 - helper_buffer->priv_virt = cma_pages;
6350 - kfree(helper_buffer->pages);
6355 - kfree(helper_buffer);
6473 - struct heap_helper_buffer *helper_buffer;
6485 - helper_buffer = kzalloc(sizeof(*helper_buffer), GFP_KERNEL);
6486 - if (!helper_buffer)
6522 - init_heap_helper_buffer(helper_buffer, system_heap_free);
6523 - helper_buffer->heap = heap;
6524 - helper_buffer->size = len;
6557 - helper_buffer->pagecount = len / PAGE_SIZE;
6558 - helper_buffer->pages = kmalloc_array(helper_buffer->pagecount,
6559 - sizeof(*helper_buffer->pages),
6561 - if (!helper_buffer->pages) {
6686 - for (pg = 0; pg < helper_buffer->pagecount; pg++) {
6841 - helper_buffer->pages[pg] = alloc_page(GFP_KERNEL | __GFP_ZERO);
6842 - if (!helper_buffer->pages[pg])
6856 - dmabuf = heap_helper_export_dmabuf(helper_buffer, fd_flags);
6880 - helper_buffer->dmabuf = dmabuf;
6906 - __free_page(helper_buffer->pages[--pg]);
6907 - kfree(helper_buffer->pages);
6909 - kfree(helper_buffer);