Searched refs:d_page (Results 1 – 3 of 3) sorted by relevance
/kernel/linux/linux-5.10/drivers/gpu/drm/ttm/ |
D | ttm_page_alloc_dma.c | 285 static void __ttm_dma_free_page(struct dma_pool *pool, struct dma_page *d_page) in __ttm_dma_free_page() argument 288 dma_addr_t dma = d_page->dma; in __ttm_dma_free_page() 289 d_page->vaddr &= ~VADDR_FLAG_HUGE_POOL; in __ttm_dma_free_page() 293 dma_free_attrs(pool->dev, pool->size, (void *)d_page->vaddr, dma, attrs); in __ttm_dma_free_page() 295 kfree(d_page); in __ttm_dma_free_page() 296 d_page = NULL; in __ttm_dma_free_page() 300 struct dma_page *d_page; in __ttm_dma_alloc_page() local 304 d_page = kmalloc(sizeof(struct dma_page), GFP_KERNEL); in __ttm_dma_alloc_page() 305 if (!d_page) in __ttm_dma_alloc_page() 311 vaddr = dma_alloc_attrs(pool->dev, pool->size, &d_page->dma, in __ttm_dma_alloc_page() [all …]
|
/kernel/linux/linux-5.10/mm/ |
D | zsmalloc.c | 1545 struct page *s_page, *d_page; in zs_object_copy() local 1555 obj_to_location(dst, &d_page, &d_objidx); in zs_object_copy() 1567 d_addr = kmap_atomic(d_page); in zs_object_copy() 1587 d_addr = kmap_atomic(d_page); in zs_object_copy() 1594 d_page = get_next_page(d_page); in zs_object_copy() 1595 d_addr = kmap_atomic(d_page); in zs_object_copy() 1646 struct page *d_page; member 1658 struct page *d_page = cc->d_page; in migrate_zspage() local 1673 if (zspage_full(class, get_zspage(d_page))) { in migrate_zspage() 1680 free_obj = obj_malloc(class, get_zspage(d_page), handle); in migrate_zspage() [all …]
|
/kernel/linux/linux-5.10/kernel/power/ |
D | snapshot.c | 1373 struct page *s_page, *d_page; in copy_data_page() local 1377 d_page = pfn_to_page(dst_pfn); in copy_data_page() 1380 dst = kmap_atomic(d_page); in copy_data_page() 1385 if (PageHighMem(d_page)) { in copy_data_page() 1391 dst = kmap_atomic(d_page); in copy_data_page() 1395 safe_copy_page(page_address(d_page), s_page); in copy_data_page()
|