Lines Matching refs:allocation
47 size_t allocation;
53 struct dma_page { /* cacheable header for 'allocation' bytes */
95 pages * (pool->allocation / pool->size),
127 * Return: a dma allocation pool with the requested characteristics, or
134 size_t allocation;
148 allocation = max_t(size_t, size, PAGE_SIZE);
151 boundary = allocation;
167 retval->allocation = allocation;
216 } while (offset < pool->allocation);
226 page->vaddr = dma_alloc_coherent(pool->dev, pool->allocation,
230 memset(page->vaddr, POOL_POISON_FREED, pool->allocation);
252 memset(page->vaddr, POOL_POISON_FREED, pool->allocation);
254 dma_free_coherent(pool->dev, pool->allocation, page->vaddr, dma);
326 if (page->offset < pool->allocation)
389 if ((dma - page->dma) < pool->allocation)
439 while (chain < pool->allocation) {
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)
507 pool = *ptr = dma_pool_create(name, dev, size, align, allocation);