Lines Matching refs:pagelist
52 page = entry->pagelist[i]; in drm_sg_cleanup()
60 kfree(entry->pagelist); in drm_sg_cleanup()
107 entry->pagelist = kcalloc(pages, sizeof(*entry->pagelist), GFP_KERNEL); in drm_legacy_sg_alloc()
108 if (!entry->pagelist) { in drm_legacy_sg_alloc()
115 kfree(entry->pagelist); in drm_legacy_sg_alloc()
123 kfree(entry->pagelist); in drm_legacy_sg_alloc()
140 entry->pagelist[j] = vmalloc_to_page((void *)i); in drm_legacy_sg_alloc()
141 if (!entry->pagelist[j]) in drm_legacy_sg_alloc()
143 SetPageReserved(entry->pagelist[j]); in drm_legacy_sg_alloc()
160 tmp = page_address(entry->pagelist[i]); in drm_legacy_sg_alloc()
178 tmp = page_address(entry->pagelist[i]); in drm_legacy_sg_alloc()