/drivers/gpu/drm/ |
D | drm_scatter.c | 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() [all …]
|
D | drm_vm.c | 300 if (!dma->pagelist) in drm_do_vm_dma_fault() 305 page = virt_to_page((void *)dma->pagelist[page_nr]); in drm_do_vm_dma_fault() 336 if (!entry->pagelist) in drm_do_vm_sg_fault() 342 page = entry->pagelist[page_offset]; in drm_do_vm_sg_fault()
|
D | drm_dma.c | 115 kfree(dma->pagelist); in drm_legacy_dma_takedown()
|
D | drm_bufs.c | 846 sizeof(*dma->pagelist), GFP_KERNEL); in drm_legacy_addbufs_pci() 855 dma->pagelist, dma->page_count * sizeof(*dma->pagelist)); in drm_legacy_addbufs_pci() 943 kfree(dma->pagelist); in drm_legacy_addbufs_pci() 945 dma->pagelist = temp_pagelist; in drm_legacy_addbufs_pci()
|
D | ati_pcigart.c | 156 entry->busaddr[i] = pci_map_page(dev->pdev, entry->pagelist[i], in drm_ati_pcigart_init()
|
/drivers/xen/ |
D | privcmd.c | 85 static int gather_array(struct list_head *pagelist, in gather_array() argument 108 list_add_tail(&page->lru, pagelist); in gather_array() 204 LIST_HEAD(pagelist); in privcmd_ioctl_mmap() 214 rc = gather_array(&pagelist, in privcmd_ioctl_mmap() 218 if (rc || list_empty(&pagelist)) in privcmd_ioctl_mmap() 224 struct page *page = list_first_entry(&pagelist, in privcmd_ioctl_mmap() 241 &pagelist, in privcmd_ioctl_mmap() 249 free_page_list(&pagelist); in privcmd_ioctl_mmap() 379 LIST_HEAD(pagelist); in privcmd_ioctl_mmap_batch() 406 ret = gather_array(&pagelist, m.num, sizeof(xen_pfn_t), m.arr); in privcmd_ioctl_mmap_batch() [all …]
|
/drivers/video/fbdev/core/ |
D | fb_defio.c | 114 if (fbdefio->first_io && list_empty(&fbdefio->pagelist)) in fb_deferred_io_mkwrite() 129 list_for_each_entry(cur, &fbdefio->pagelist, lru) { in fb_deferred_io_mkwrite() 188 list_for_each_entry(cur, &fbdefio->pagelist, lru) { in fb_deferred_io_work() 195 fbdefio->deferred_io(info, &fbdefio->pagelist); in fb_deferred_io_work() 198 list_for_each_safe(node, next, &fbdefio->pagelist) { in fb_deferred_io_work() 212 INIT_LIST_HEAD(&fbdefio->pagelist); in fb_deferred_io_init()
|
/drivers/gpu/drm/radeon/ |
D | radeon_gart.c | 283 int pages, struct page **pagelist, dma_addr_t *dma_addr, in radeon_gart_bind() argument 300 rdev->gart.pages[p] = pagelist[i]; in radeon_gart_bind()
|
D | r600_cp.c | 203 entry->pagelist[i], 0, in r600_page_table_init()
|
D | radeon.h | 645 int pages, struct page **pagelist,
|
/drivers/video/fbdev/ |
D | hecubafb.c | 119 struct list_head *pagelist) in hecubafb_dpy_deferred_io() argument
|
D | metronomefb.c | 467 struct list_head *pagelist) in metronomefb_dpy_deferred_io() argument 475 list_for_each_entry(cur, &fbdefio->pagelist, lru) { in metronomefb_dpy_deferred_io()
|
D | auo_k190x.c | 288 struct list_head *pagelist) in auok190xfb_dpy_deferred_io() argument 300 if (!list_empty(pagelist)) in auok190xfb_dpy_deferred_io() 330 list_for_each_entry(cur, &fbdefio->pagelist, lru) { in auok190xfb_dpy_deferred_io()
|
D | xen-fbfront.c | 183 struct list_head *pagelist) in xenfb_deferred_io() argument 192 list_for_each_entry(page, pagelist, lru) { in xenfb_deferred_io()
|
D | sh_mobile_lcdcfb.c | 448 struct list_head *pagelist) in sh_mobile_lcdc_sginit() argument 457 list_for_each_entry(page, pagelist, lru) in sh_mobile_lcdc_sginit() 464 struct list_head *pagelist) in sh_mobile_lcdc_deferred_io() argument 487 if (!list_empty(pagelist)) { in sh_mobile_lcdc_deferred_io() 488 unsigned int nr_pages = sh_mobile_lcdc_sginit(info, pagelist); in sh_mobile_lcdc_deferred_io()
|
D | broadsheetfb.c | 929 struct list_head *pagelist) in broadsheetfb_dpy_deferred_io() argument 943 list_for_each_entry(cur, &fbdefio->pagelist, lru) { in broadsheetfb_dpy_deferred_io()
|
D | ssd1307fb.c | 264 struct list_head *pagelist) in ssd1307fb_deferred_io() argument
|
D | udlfb.c | 706 struct list_head *pagelist) in dlfb_dpy_deferred_io() argument 733 list_for_each_entry(cur, &fbdefio->pagelist, lru) { in dlfb_dpy_deferred_io()
|
D | smscufx.c | 959 struct list_head *pagelist) in ufx_dpy_deferred_io() argument 972 list_for_each_entry(cur, &fbdefio->pagelist, lru) { in ufx_dpy_deferred_io()
|
/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_fb.c | 295 struct list_head *pagelist) in vmw_deferred_io() argument 305 list_for_each_entry(page, pagelist, lru) { in vmw_deferred_io()
|
/drivers/gpu/drm/udl/ |
D | udl_fb.c | 88 struct list_head *pagelist) in udlfb_dpy_deferred_io() argument 114 list_for_each_entry(cur, &fbdefio->pagelist, lru) { in udlfb_dpy_deferred_io()
|
/drivers/gpu/drm/qxl/ |
D | qxl_fb.c | 146 struct list_head *pagelist) in qxl_deferred_io() argument 155 list_for_each_entry(page, pagelist, lru) { in qxl_deferred_io()
|
/drivers/block/ |
D | rbd.c | 3281 struct ceph_pagelist *pagelist; in rbd_obj_method_sync() local 3283 pagelist = kmalloc(sizeof (*pagelist), GFP_NOFS); in rbd_obj_method_sync() 3284 if (!pagelist) in rbd_obj_method_sync() 3287 ceph_pagelist_init(pagelist); in rbd_obj_method_sync() 3288 ceph_pagelist_append(pagelist, outbound, outbound_size); in rbd_obj_method_sync() 3290 pagelist); in rbd_obj_method_sync()
|
/drivers/hid/ |
D | hid-picolcd_fb.c | 445 static void picolcd_fb_deferred_io(struct fb_info *info, struct list_head *pagelist) in picolcd_fb_deferred_io() argument
|