Lines Matching refs:pools
28 * over the DMA pools:
79 * The pool structure. There are usually six pools:
86 * @pools: The 'struct device->dma_pools' link.
94 * @dev: The device that is associated with these pools.
106 struct list_head pools; /* The 'struct device->dma_pools link */
151 * DMA pools. Guarded by _mutex->lock.
152 * @pools: The link to 'struct ttm_pool_manager->pools'
157 struct list_head pools;
163 * struct ttm_pool_manager - Holds memory pools for fast allocation
165 * @lock: Lock used when adding/removing from pools
166 * @pools: List of 'struct device' and 'struct dma_pool' tuples.
168 * @npools: Total amount of pools in existence.
173 struct list_head pools;
519 list_for_each_entry_reverse(p, &_manager->pools, pools) {
526 list_del(&p->pools);
531 list_for_each_entry_reverse(pool, &dev->dma_pools, pools) {
541 list_del(&pool->pools);
595 INIT_LIST_HEAD(&sec_pool->pools);
601 INIT_LIST_HEAD(&pool->pools);
624 list_add(&sec_pool->pools, &_manager->pools);
627 list_add(&pool->pools, &dev->dma_pools);
660 list_for_each_entry_safe(pool, tmp, &dev->dma_pools, pools) {
924 /* Get good estimation how many pages are free in pools */
931 list_for_each_entry(p, &_manager->pools, pools)
999 /* shrink pool if necessary (only on !is_cached pools)*/
1018 if (list_empty(&_manager->pools))
1023 list_for_each_entry(p, &_manager->pools, pools) {
1069 INIT_LIST_HEAD(&_manager->pools);
1095 list_for_each_entry_safe_reverse(p, t, &_manager->pools, pools) {
1120 list_for_each_entry(p, &_manager->pools, pools) {