Lines Matching full:pools
28 * over the DMA pools:
77 * The pool structure. There are usually six pools:
84 * @pools: The 'struct device->dma_pools' link.
92 * @dev: The device that is associated with these pools.
104 struct list_head pools; /* The 'struct device->dma_pools link */ member
149 * DMA pools. Guarded by _mutex->lock.
150 * @pools: The link to 'struct ttm_pool_manager->pools'
155 struct list_head pools; member
161 * struct ttm_pool_manager - Holds memory pools for fast allocation
163 * @lock: Lock used when adding/removing from pools
164 * @pools: List of 'struct device' and 'struct dma_pool' tuples.
166 * @npools: Total amount of pools in existence.
171 struct list_head pools; member
517 list_for_each_entry_reverse(p, &_manager->pools, pools) { in ttm_dma_free_pool()
524 list_del(&p->pools); in ttm_dma_free_pool()
529 list_for_each_entry_reverse(pool, &dev->dma_pools, pools) { in ttm_dma_free_pool()
539 list_del(&pool->pools); in ttm_dma_free_pool()
593 INIT_LIST_HEAD(&sec_pool->pools); in ttm_dma_pool_init()
599 INIT_LIST_HEAD(&pool->pools); in ttm_dma_pool_init()
622 list_add(&sec_pool->pools, &_manager->pools); in ttm_dma_pool_init()
625 list_add(&pool->pools, &dev->dma_pools); in ttm_dma_pool_init()
658 list_for_each_entry_safe(pool, tmp, &dev->dma_pools, pools) { in ttm_dma_find_pool()
922 /* Get good estimation how many pages are free in pools */
929 list_for_each_entry(p, &_manager->pools, pools) in ttm_dma_pool_get_num_unused_pages()
997 /* shrink pool if necessary (only on !is_cached pools)*/ in ttm_dma_unpopulate()
1016 if (list_empty(&_manager->pools)) in ttm_dma_pool_mm_shrink()
1021 list_for_each_entry(p, &_manager->pools, pools) { in ttm_dma_pool_mm_shrink()
1067 INIT_LIST_HEAD(&_manager->pools); in ttm_dma_page_alloc_init()
1093 list_for_each_entry_safe_reverse(p, t, &_manager->pools, pools) { in ttm_dma_page_alloc_fini()
1118 list_for_each_entry(p, &_manager->pools, pools) { in ttm_dma_page_alloc_debugfs()