Lines Matching refs:size
81 void *consistent_alloc(gfp_t gfp, size_t size, dma_addr_t *dma_handle)
91 /* only allocate page size areas */
92 size = PAGE_ALIGN(size);
93 order = get_order(size);
102 area = get_vm_area(size, VM_ALLOC);
122 for (i = 0; i < size && err == 0; i += PAGE_SIZE)
133 frv_cache_invalidate(va, va + size);
151 void consistent_sync(void *vaddr, size_t size, int direction)
154 unsigned long end = start + size;
177 size_t size, int direction)
182 consistent_sync(start, size, direction);