Lines Matching refs:pages
26 struct page **pages; member
105 buf->pages = kzalloc(buf->n_pages * sizeof(struct page *), in vb2_vmalloc_get_userptr()
107 if (!buf->pages) in vb2_vmalloc_get_userptr()
115 buf->pages, NULL); in vb2_vmalloc_get_userptr()
119 buf->vaddr = vm_map_ram(buf->pages, buf->n_pages, -1, in vb2_vmalloc_get_userptr()
132 put_page(buf->pages[n_pages]); in vb2_vmalloc_get_userptr()
133 kfree(buf->pages); in vb2_vmalloc_get_userptr()
147 if (buf->pages) { in vb2_vmalloc_put_userptr()
152 set_page_dirty_lock(buf->pages[i]); in vb2_vmalloc_put_userptr()
153 put_page(buf->pages[i]); in vb2_vmalloc_put_userptr()
155 kfree(buf->pages); in vb2_vmalloc_put_userptr()