Lines Matching refs:pages
98 if (!obj->pages) in udl_gem_fault()
101 page = obj->pages[page_offset]; in udl_gem_fault()
130 if (obj->pages) in udl_gem_get_pages()
134 BUG_ON(obj->pages != NULL); in udl_gem_get_pages()
135 obj->pages = drm_malloc_ab(page_count, sizeof(struct page *)); in udl_gem_get_pages()
136 if (obj->pages == NULL) in udl_gem_get_pages()
147 obj->pages[i] = page; in udl_gem_get_pages()
153 page_cache_release(obj->pages[i]); in udl_gem_get_pages()
154 drm_free_large(obj->pages); in udl_gem_get_pages()
155 obj->pages = NULL; in udl_gem_get_pages()
165 page_cache_release(obj->pages[i]); in udl_gem_put_pages()
167 drm_free_large(obj->pages); in udl_gem_put_pages()
168 obj->pages = NULL; in udl_gem_put_pages()
180 obj->vmapping = vmap(obj->pages, page_count, 0, PAGE_KERNEL); in udl_gem_vmap()
201 if (obj->pages) in udl_gem_free_object()