Lines Matching defs:dma_pool
18 * represented by the 'struct dma_pool' which keeps a doubly-linked list of
44 struct dma_pool { /* the pool */
75 struct dma_pool *pool;
132 struct dma_pool *dma_pool_create(const char *name, struct device *dev,
135 struct dma_pool *retval;
199 static void pool_initialise_page(struct dma_pool *pool, struct dma_page *page)
215 static struct dma_page *pool_alloc_page(struct dma_pool *pool, gfp_t mem_flags)
244 static void pool_free_page(struct dma_pool *pool, struct dma_page *page)
264 void dma_pool_destroy(struct dma_pool *pool)
306 void *dma_pool_alloc(struct dma_pool *pool, gfp_t mem_flags,
354 static struct dma_page *pool_find_page(struct dma_pool *pool, dma_addr_t dma)
381 void dma_pool_free(struct dma_pool *pool, void *vaddr, dma_addr_t dma)
453 struct dma_pool *pool = *(struct dma_pool **)res;
460 return *(struct dma_pool **)res == match_data;
474 struct dma_pool *dmam_pool_create(const char *name, struct device *dev,
477 struct dma_pool **ptr, *pool;
499 void dmam_pool_destroy(struct dma_pool *pool)