Lines Matching refs:pagelist
61 page = entry->pagelist[i]; in drm_sg_cleanup()
69 kfree(entry->pagelist); in drm_sg_cleanup()
113 entry->pagelist = kcalloc(pages, sizeof(*entry->pagelist), GFP_KERNEL); in drm_legacy_sg_alloc()
114 if (!entry->pagelist) { in drm_legacy_sg_alloc()
121 kfree(entry->pagelist); in drm_legacy_sg_alloc()
129 kfree(entry->pagelist); in drm_legacy_sg_alloc()
146 entry->pagelist[j] = vmalloc_to_page((void *)i); in drm_legacy_sg_alloc()
147 if (!entry->pagelist[j]) in drm_legacy_sg_alloc()
149 SetPageReserved(entry->pagelist[j]); in drm_legacy_sg_alloc()
166 tmp = page_address(entry->pagelist[i]); in drm_legacy_sg_alloc()
184 tmp = page_address(entry->pagelist[i]); in drm_legacy_sg_alloc()