/src/sys/external/bsd/drm2/dist/drm/ttm/ |
ttm_page_alloc_dma.c | 290 static void __ttm_dma_free_page(struct dma_pool *pool, struct dma_page *d_page) 293 dma_addr_t dma = d_page->dma; 294 d_page->vaddr &= ~VADDR_FLAG_HUGE_POOL; 298 dma_free_attrs(pool->dev, pool->size, (void *)d_page->vaddr, dma, attrs); 300 kfree(d_page); 301 d_page = NULL; 305 struct dma_page *d_page; local in function:__ttm_dma_alloc_page 309 d_page = kmalloc(sizeof(struct dma_page), GFP_KERNEL); 310 if (!d_page) 316 vaddr = dma_alloc_attrs(pool->dev, pool->size, &d_page->dma 377 struct dma_page *d_page, *tmp; local in function:ttm_dma_pages_put 675 struct dma_page *d_page, *tmp; local in function:ttm_dma_handle_caching_state_failure 816 struct dma_page *d_page; local in function:ttm_dma_page_pool_fill_locked 842 struct dma_page *d_page = NULL; local in function:ttm_dma_pool_get_pages 897 struct dma_page *d_page; local in function:ttm_dma_populate 1001 struct dma_page *d_page, *next; local in function:ttm_dma_unpopulate [all...] |
ttm_page_alloc_dma.c | 290 static void __ttm_dma_free_page(struct dma_pool *pool, struct dma_page *d_page) 293 dma_addr_t dma = d_page->dma; 294 d_page->vaddr &= ~VADDR_FLAG_HUGE_POOL; 298 dma_free_attrs(pool->dev, pool->size, (void *)d_page->vaddr, dma, attrs); 300 kfree(d_page); 301 d_page = NULL; 305 struct dma_page *d_page; local in function:__ttm_dma_alloc_page 309 d_page = kmalloc(sizeof(struct dma_page), GFP_KERNEL); 310 if (!d_page) 316 vaddr = dma_alloc_attrs(pool->dev, pool->size, &d_page->dma 377 struct dma_page *d_page, *tmp; local in function:ttm_dma_pages_put 675 struct dma_page *d_page, *tmp; local in function:ttm_dma_handle_caching_state_failure 816 struct dma_page *d_page; local in function:ttm_dma_page_pool_fill_locked 842 struct dma_page *d_page = NULL; local in function:ttm_dma_pool_get_pages 897 struct dma_page *d_page; local in function:ttm_dma_populate 1001 struct dma_page *d_page, *next; local in function:ttm_dma_unpopulate [all...] |