Searched refs:d_page (Results 1 – 2 of 2) sorted by relevance
/linux-3.4.99/drivers/gpu/drm/ttm/ |
D | ttm_page_alloc_dma.c | 325 static void __ttm_dma_free_page(struct dma_pool *pool, struct dma_page *d_page) in __ttm_dma_free_page() argument 327 dma_addr_t dma = d_page->dma; in __ttm_dma_free_page() 328 dma_free_coherent(pool->dev, pool->size, d_page->vaddr, dma); in __ttm_dma_free_page() 330 kfree(d_page); in __ttm_dma_free_page() 331 d_page = NULL; in __ttm_dma_free_page() 335 struct dma_page *d_page; in __ttm_dma_alloc_page() local 337 d_page = kmalloc(sizeof(struct dma_page), GFP_KERNEL); in __ttm_dma_alloc_page() 338 if (!d_page) in __ttm_dma_alloc_page() 341 d_page->vaddr = dma_alloc_coherent(pool->dev, pool->size, in __ttm_dma_alloc_page() 342 &d_page->dma, in __ttm_dma_alloc_page() [all …]
|
/linux-3.4.99/kernel/power/ |
D | snapshot.c | 998 struct page *s_page, *d_page; in copy_data_page() local 1002 d_page = pfn_to_page(dst_pfn); in copy_data_page() 1005 dst = kmap_atomic(d_page); in copy_data_page() 1010 if (PageHighMem(d_page)) { in copy_data_page() 1015 dst = kmap_atomic(d_page); in copy_data_page() 1019 safe_copy_page(page_address(d_page), s_page); in copy_data_page()
|