Lines Matching refs:pagecount
27 pgoff_t pagecount; member
39 if (pgoff >= ubuf->pagecount) in udmabuf_vm_fault()
69 vaddr = vm_map_ram(ubuf->pages, ubuf->pagecount, -1); in vmap_udmabuf()
83 vm_unmap_ram(map->vaddr, ubuf->pagecount); in vunmap_udmabuf()
96 ret = sg_alloc_table_from_pages(sg, ubuf->pages, ubuf->pagecount, in get_sg_table()
97 0, ubuf->pagecount << PAGE_SHIFT, in get_sg_table()
142 for (pg = 0; pg < ubuf->pagecount; pg++) in release_udmabuf()
221 ubuf->pagecount += list[i].size >> PAGE_SHIFT; in udmabuf_create()
222 if (ubuf->pagecount > pglimit) in udmabuf_create()
226 if (!ubuf->pagecount) in udmabuf_create()
229 ubuf->pages = kmalloc_array(ubuf->pagecount, sizeof(*ubuf->pages), in udmabuf_create()
267 exp_info.size = ubuf->pagecount << PAGE_SHIFT; in udmabuf_create()