Searched refs:d_page (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.4/drivers/gpu/drm/ttm/ |
D | ttm_page_alloc_dma.c | 286 static void __ttm_dma_free_page(struct dma_pool *pool, struct dma_page *d_page) in __ttm_dma_free_page() argument 289 dma_addr_t dma = d_page->dma; in __ttm_dma_free_page() 290 d_page->vaddr &= ~VADDR_FLAG_HUGE_POOL; in __ttm_dma_free_page() 294 dma_free_attrs(pool->dev, pool->size, (void *)d_page->vaddr, dma, attrs); in __ttm_dma_free_page() 296 kfree(d_page); in __ttm_dma_free_page() 297 d_page = NULL; in __ttm_dma_free_page() 301 struct dma_page *d_page; in __ttm_dma_alloc_page() local 305 d_page = kmalloc(sizeof(struct dma_page), GFP_KERNEL); in __ttm_dma_alloc_page() 306 if (!d_page) in __ttm_dma_alloc_page() 312 vaddr = dma_alloc_attrs(pool->dev, pool->size, &d_page->dma, in __ttm_dma_alloc_page() [all …]
|
/Linux-v5.4/mm/ |
D | zsmalloc.c | 1588 struct page *s_page, *d_page; in zs_object_copy() local 1598 obj_to_location(dst, &d_page, &d_objidx); in zs_object_copy() 1610 d_addr = kmap_atomic(d_page); in zs_object_copy() 1630 d_addr = kmap_atomic(d_page); in zs_object_copy() 1637 d_page = get_next_page(d_page); in zs_object_copy() 1638 d_addr = kmap_atomic(d_page); in zs_object_copy() 1689 struct page *d_page; member 1701 struct page *d_page = cc->d_page; in migrate_zspage() local 1716 if (zspage_full(class, get_zspage(d_page))) { in migrate_zspage() 1723 free_obj = obj_malloc(class, get_zspage(d_page), handle); in migrate_zspage() [all …]
|
/Linux-v5.4/kernel/power/ |
D | snapshot.c | 1367 struct page *s_page, *d_page; in copy_data_page() local 1371 d_page = pfn_to_page(dst_pfn); in copy_data_page() 1374 dst = kmap_atomic(d_page); in copy_data_page() 1379 if (PageHighMem(d_page)) { in copy_data_page() 1385 dst = kmap_atomic(d_page); in copy_data_page() 1389 safe_copy_page(page_address(d_page), s_page); in copy_data_page()
|