Lines Matching full:allocation
48 size_t allocation; member
54 struct dma_page { /* cacheable header for 'allocation' bytes */
95 pages * (pool->allocation / pool->size), in pools_show()
127 * Return: a dma allocation pool with the requested characteristics, or
134 size_t allocation; in dma_pool_create() local
148 allocation = max_t(size_t, size, PAGE_SIZE); in dma_pool_create()
151 boundary = allocation; in dma_pool_create()
167 retval->allocation = allocation; in dma_pool_create()
216 } while (offset < pool->allocation); in pool_initialise_page()
226 page->vaddr = dma_alloc_coherent(pool->dev, pool->allocation, in pool_alloc_page()
230 memset(page->vaddr, POOL_POISON_FREED, pool->allocation); in pool_alloc_page()
252 memset(page->vaddr, POOL_POISON_FREED, pool->allocation); in pool_free_page()
254 dma_free_coherent(pool->dev, pool->allocation, page->vaddr, dma); in pool_free_page()
326 if (page->offset < pool->allocation) in dma_pool_alloc()
389 if ((dma - page->dma) < pool->allocation) in pool_find_page()
439 while (chain < pool->allocation) { in dma_pool_free()
490 * @allocation: returned blocks won't cross this boundary (or zero)
495 * Return: a managed dma allocation pool with the requested
499 size_t size, size_t align, size_t allocation) in dmam_pool_create() argument
507 pool = *ptr = dma_pool_create(name, dev, size, align, allocation); in dmam_pool_create()