Lines Matching refs:allocation
35 size_t allocation; member
89 size_t size, size_t align, size_t allocation, int mem_flags) in pci_pool_create() argument
104 if (allocation == 0) { in pci_pool_create()
106 allocation = size; in pci_pool_create()
108 allocation = PAGE_SIZE; in pci_pool_create()
110 } else if (allocation < size) in pci_pool_create()
123 retval->allocation = allocation; in pci_pool_create()
124 retval->blocks_per_page = allocation / size; in pci_pool_create()
130 retval->blocks_per_page, allocation); in pci_pool_create()
151 pool->allocation, in pool_alloc_page()
156 memset (page->vaddr, POOL_POISON_BYTE, pool->allocation); in pool_alloc_page()
184 memset (page->vaddr, POOL_POISON_BYTE, pool->allocation); in pool_free_page()
186 pci_free_consistent (pool->dev, pool->allocation, page->vaddr, dma); in pool_free_page()
309 if (dma < (page->dma + pool->allocation)) in pool_find_page()