Lines Matching refs:pagelist
56 page = entry->pagelist[i]; in drm_sg_cleanup()
64 kfree(entry->pagelist); in drm_sg_cleanup()
108 entry->pagelist = kcalloc(pages, sizeof(*entry->pagelist), GFP_KERNEL); in drm_legacy_sg_alloc()
109 if (!entry->pagelist) { in drm_legacy_sg_alloc()
116 kfree(entry->pagelist); in drm_legacy_sg_alloc()
124 kfree(entry->pagelist); in drm_legacy_sg_alloc()
141 entry->pagelist[j] = vmalloc_to_page((void *)i); in drm_legacy_sg_alloc()
142 if (!entry->pagelist[j]) in drm_legacy_sg_alloc()
144 SetPageReserved(entry->pagelist[j]); in drm_legacy_sg_alloc()
161 tmp = page_address(entry->pagelist[i]); in drm_legacy_sg_alloc()
179 tmp = page_address(entry->pagelist[i]); in drm_legacy_sg_alloc()