Lines Matching defs:dma_pool
15 * represented by the 'struct dma_pool' which keeps a doubly-linked list of
42 struct dma_pool { /* the pool */
71 struct dma_pool *pool;
130 struct dma_pool *dma_pool_create(const char *name, struct device *dev,
133 struct dma_pool *retval;
203 static void pool_initialise_page(struct dma_pool *pool, struct dma_page *page)
219 static struct dma_page *pool_alloc_page(struct dma_pool *pool, gfp_t mem_flags)
247 static void pool_free_page(struct dma_pool *pool, struct dma_page *page)
267 void dma_pool_destroy(struct dma_pool *pool)
314 void *dma_pool_alloc(struct dma_pool *pool, gfp_t mem_flags,
382 static struct dma_page *pool_find_page(struct dma_pool *pool, dma_addr_t dma)
404 void dma_pool_free(struct dma_pool *pool, void *vaddr, dma_addr_t dma)
474 struct dma_pool *pool = *(struct dma_pool **)res;
481 return *(struct dma_pool **)res == match_data;
498 struct dma_pool *dmam_pool_create(const char *name, struct device *dev,
501 struct dma_pool **ptr, *pool;
523 void dmam_pool_destroy(struct dma_pool *pool)