Lines Matching defs:dma_pool
15 * represented by the 'struct dma_pool' which keeps a doubly-linked list of
48 struct dma_pool { /* the pool */
74 struct dma_pool *pool;
95 static void pool_check_block(struct dma_pool *pool, struct dma_block *block,
120 static struct dma_page *pool_find_page(struct dma_pool *pool, dma_addr_t dma)
133 static bool pool_block_err(struct dma_pool *pool, void *vaddr, dma_addr_t dma)
159 static void pool_init_page(struct dma_pool *pool, struct dma_page *page)
164 static void pool_check_block(struct dma_pool *pool, struct dma_block *block,
169 static bool pool_block_err(struct dma_pool *pool, void *vaddr, dma_addr_t dma)
176 static void pool_init_page(struct dma_pool *pool, struct dma_page *page)
181 static struct dma_block *pool_block_pop(struct dma_pool *pool)
192 static void pool_block_push(struct dma_pool *pool, struct dma_block *block,
224 struct dma_pool *dma_pool_create(const char *name, struct device *dev,
227 struct dma_pool *retval;
300 static void pool_initialise_page(struct dma_pool *pool, struct dma_page *page)
334 static struct dma_page *pool_alloc_page(struct dma_pool *pool, gfp_t mem_flags)
360 void dma_pool_destroy(struct dma_pool *pool)
404 void *dma_pool_alloc(struct dma_pool *pool, gfp_t mem_flags,
450 void dma_pool_free(struct dma_pool *pool, void *vaddr, dma_addr_t dma)
469 struct dma_pool *pool = *(struct dma_pool **)res;
476 return *(struct dma_pool **)res == match_data;
493 struct dma_pool *dmam_pool_create(const char *name, struct device *dev,
496 struct dma_pool **ptr, *pool;
518 void dmam_pool_destroy(struct dma_pool *pool)