Searched refs:pagelist (Results 1 – 10 of 10) sorted by relevance
/drivers/gpu/drm/ |
D | drm_scatter.c | 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() [all …]
|
D | drm_vm.c | 311 if (!dma->pagelist) in drm_vm_dma_fault() 317 page = virt_to_page((void *)dma->pagelist[page_nr]); in drm_vm_dma_fault() 348 if (!entry->pagelist) in drm_vm_sg_fault() 354 page = entry->pagelist[page_offset]; in drm_vm_sg_fault()
|
D | drm_dma.c | 123 kfree(dma->pagelist); in drm_legacy_dma_takedown()
|
D | drm_bufs.c | 967 sizeof(*dma->pagelist), in drm_legacy_addbufs_pci() 977 dma->pagelist, dma->page_count * sizeof(*dma->pagelist)); in drm_legacy_addbufs_pci() 1081 kfree(dma->pagelist); in drm_legacy_addbufs_pci() 1083 dma->pagelist = temp_pagelist; in drm_legacy_addbufs_pci()
|
/drivers/staging/vc04_services/interface/vchiq_arm/ |
D | vchiq_arm.c | 85 struct pagelist *pagelist; member 150 pagelistinfo->pagelist, pagelistinfo->dma_addr); in cleanup_pagelistinfo() 165 struct pagelist *pagelist; in create_pagelist() local 185 if ((size_t)num_pages > (SIZE_MAX - sizeof(struct pagelist) - in create_pagelist() 191 pagelist_size = sizeof(struct pagelist) + in create_pagelist() 200 pagelist = dma_alloc_coherent(g_dev, pagelist_size, &dma_addr, in create_pagelist() 203 vchiq_log_trace(vchiq_arm_log_level, "%s - %pK", __func__, pagelist); in create_pagelist() 205 if (!pagelist) in create_pagelist() 208 addrs = pagelist->addrs; in create_pagelist() 214 pagelist->length = count; in create_pagelist() [all …]
|
D | vchiq_pagelist.h | 11 struct pagelist { struct
|
/drivers/xen/ |
D | privcmd.c | 106 static int gather_array(struct list_head *pagelist, in gather_array() argument 129 list_add_tail(&page->lru, pagelist); in gather_array() 257 LIST_HEAD(pagelist); in privcmd_ioctl_mmap() 271 rc = gather_array(&pagelist, in privcmd_ioctl_mmap() 275 if (rc || list_empty(&pagelist)) in privcmd_ioctl_mmap() 281 struct page *page = list_first_entry(&pagelist, in privcmd_ioctl_mmap() 298 &pagelist, in privcmd_ioctl_mmap() 306 free_page_list(&pagelist); in privcmd_ioctl_mmap() 451 LIST_HEAD(pagelist); in privcmd_ioctl_mmap_batch() 482 ret = gather_array(&pagelist, m.num, sizeof(xen_pfn_t), m.arr); in privcmd_ioctl_mmap_batch() [all …]
|
/drivers/gpu/drm/radeon/ |
D | radeon_gart.c | 288 int pages, struct page **pagelist, dma_addr_t *dma_addr, in radeon_gart_bind() argument 304 rdev->gart.pages[p] = pagelist ? pagelist[i] : in radeon_gart_bind()
|
D | radeon.h | 667 int pages, struct page **pagelist,
|
/drivers/gpu/drm/r128/ |
D | ati_pcigart.c | 176 entry->busaddr[i] = pci_map_page(pdev, entry->pagelist[i], in drm_ati_pcigart_init()
|