Lines Matching refs:C2MemoryUsage
97 size_t offset, size_t size, C2MemoryUsage usage, C2Fence *fence,
181 c2_status_t map(size_t offset, size_t size, C2MemoryUsage usage, C2Fence *fence, void **addr) { in map()
198 if (usage.expected & C2MemoryUsage::CPU_READ) { in map()
201 if (usage.expected & C2MemoryUsage::CPU_WRITE) { in map()
439 size_t offset, size_t size, C2MemoryUsage usage, C2Fence *fence, void **addr) { in map()
491 C2MemoryUsage minUsage = { 0, 0 }; in C2AllocatorIon()
492 C2MemoryUsage maxUsage = { C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE }; in C2AllocatorIon()
528 C2MemoryUsage(minUsage), C2MemoryUsage(maxUsage) in setUsageMapper()
539 C2MemoryUsage usage, size_t capacity, size_t *align, unsigned *heapMask, unsigned *flags) { in mapUsage()
552 if (usage.expected & (C2MemoryUsage::CPU_READ | C2MemoryUsage::CPU_WRITE)) { in mapUsage()
579 uint32_t capacity, C2MemoryUsage usage, std::shared_ptr<C2LinearAllocation> *allocation) { in newLinearAllocation()