Home
last modified time | relevance | path

Searched refs:allocData (Results 1 – 1 of 1) sorted by relevance

/device/google/marlin/camera/QCamera2/HAL3/
DQCamera3Mem.cpp308 struct ion_allocation_data allocData; in allocOneBuffer() local
316 memset(&allocData, 0, sizeof(allocData)); in allocOneBuffer()
317 allocData.len = size; in allocOneBuffer()
319 allocData.len = (allocData.len + 4095U) & (~4095U); in allocOneBuffer()
320 allocData.align = 4096; in allocOneBuffer()
321 allocData.flags = ION_FLAG_CACHED; in allocOneBuffer()
322 allocData.heap_id_mask = heap_id; in allocOneBuffer()
323 rc = ioctl(main_ion_fd, ION_IOC_ALLOC, &allocData); in allocOneBuffer()
325 LOGE("ION allocation for len %d failed: %s\n", allocData.len, in allocOneBuffer()
331 ion_info_fd.handle = allocData.handle; in allocOneBuffer()
[all …]