Home
last modified time | relevance | path

Searched refs:pagelist (Results 1 – 24 of 24) sorted by relevance

/drivers/gpu/drm/
Ddrm_scatter.c56 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 …]
Ddrm_vm.c300 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()
Ddrm_dma.c115 kfree(dma->pagelist); in drm_legacy_dma_takedown()
Ddrm_bufs.c846 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()
Dati_pcigart.c156 entry->busaddr[i] = pci_map_page(dev->pdev, entry->pagelist[i], in drm_ati_pcigart_init()
/drivers/xen/
Dprivcmd.c85 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/
Dfb_defio.c114 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/
Dradeon_gart.c283 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()
Dr600_cp.c203 entry->pagelist[i], 0, in r600_page_table_init()
Dradeon.h645 int pages, struct page **pagelist,
/drivers/video/fbdev/
Dhecubafb.c119 struct list_head *pagelist) in hecubafb_dpy_deferred_io() argument
Dmetronomefb.c467 struct list_head *pagelist) in metronomefb_dpy_deferred_io() argument
475 list_for_each_entry(cur, &fbdefio->pagelist, lru) { in metronomefb_dpy_deferred_io()
Dauo_k190x.c288 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()
Dxen-fbfront.c183 struct list_head *pagelist) in xenfb_deferred_io() argument
192 list_for_each_entry(page, pagelist, lru) { in xenfb_deferred_io()
Dsh_mobile_lcdcfb.c448 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()
Dbroadsheetfb.c929 struct list_head *pagelist) in broadsheetfb_dpy_deferred_io() argument
943 list_for_each_entry(cur, &fbdefio->pagelist, lru) { in broadsheetfb_dpy_deferred_io()
Dssd1307fb.c264 struct list_head *pagelist) in ssd1307fb_deferred_io() argument
Dudlfb.c706 struct list_head *pagelist) in dlfb_dpy_deferred_io() argument
733 list_for_each_entry(cur, &fbdefio->pagelist, lru) { in dlfb_dpy_deferred_io()
Dsmscufx.c959 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/
Dvmwgfx_fb.c295 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/
Dudl_fb.c88 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/
Dqxl_fb.c146 struct list_head *pagelist) in qxl_deferred_io() argument
155 list_for_each_entry(page, pagelist, lru) { in qxl_deferred_io()
/drivers/block/
Drbd.c3281 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/
Dhid-picolcd_fb.c445 static void picolcd_fb_deferred_io(struct fb_info *info, struct list_head *pagelist) in picolcd_fb_deferred_io() argument