Searched refs:d_page (Results 1 – 1 of 1) sorted by relevance
285 static void __ttm_dma_free_page(struct dma_pool *pool, struct dma_page *d_page) in __ttm_dma_free_page() argument288 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() local304 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 …]