Searched refs:ion_data (Results 1 – 2 of 2) sorted by relevance
351 struct enc_ion ion_data; variable366 ion_data.ion_device_fd = open (PMEM_DEVICE,O_RDONLY); in PmemMalloc()367 if(ion_data.ion_device_fd < 0) in PmemMalloc()373 ion_data.alloc_data.len = nSize; in PmemMalloc()374 ion_data.alloc_data.heap_id_mask = 0x1 << ION_CP_MM_HEAP_ID; in PmemMalloc()375 ion_data.alloc_data.align = 4096; in PmemMalloc()376 ion_data.alloc_data.flags = 0; in PmemMalloc()378 rc = ioctl(ion_data.ion_device_fd,ION_IOC_ALLOC,&ion_data.alloc_data); in PmemMalloc()379 if(rc || !ion_data.alloc_data.handle) { in PmemMalloc()381 ion_data.alloc_data.handle=NULL; in PmemMalloc()[all …]
380 struct enc_ion ion_data; variable395 ion_data.ion_device_fd = open (PMEM_DEVICE, O_RDONLY); in PmemMalloc()397 if (ion_data.ion_device_fd < 0) { in PmemMalloc()403 ion_data.alloc_data.len = nSize; in PmemMalloc()404 ion_data.alloc_data.heap_id_mask = 0x1 << ION_CP_MM_HEAP_ID; in PmemMalloc()405 ion_data.alloc_data.align = 4096; in PmemMalloc()406 ion_data.alloc_data.flags = ION_SECURE; in PmemMalloc()408 rc = ioctl(ion_data.ion_device_fd,ION_IOC_ALLOC,&ion_data.alloc_data); in PmemMalloc()410 if (rc || !ion_data.alloc_data.handle) { in PmemMalloc()411 E("\n ION ALLOC memory failed rc: %d, handle: %p", rc, ion_data.alloc_data.handle); in PmemMalloc()[all …]