Home
last modified time | relevance | path

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

/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3Mem.cpp310 struct ion_allocation_data allocData; in allocOneBuffer() local
318 memset(&allocData, 0, sizeof(allocData)); in allocOneBuffer()
319 allocData.len = size; in allocOneBuffer()
321 allocData.len = (allocData.len + 4095U) & (~4095U); in allocOneBuffer()
322 allocData.align = 4096; in allocOneBuffer()
324 allocData.flags = ION_FLAG_CACHED; in allocOneBuffer()
326 allocData.heap_id_mask = heap_id; in allocOneBuffer()
327 rc = ioctl(main_ion_fd, ION_IOC_ALLOC, &allocData); in allocOneBuffer()
329 LOGE("ION allocation for len %d failed: %s\n", allocData.len, in allocOneBuffer()
335 ion_info_fd.handle = allocData.handle; in allocOneBuffer()
[all …]