Home
last modified time | relevance | path

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

/hardware/google/graphics/common/libion/test/
Dmap_test.cpp40 ASSERT_EQ(0, ion_alloc_fd(m_ionFd, size, 0, heapMask, 0, &map_fd)); in TEST_F()
65 ASSERT_EQ(0, ion_alloc_fd(m_ionFd, PAGE_SIZE * 2, 0, heapMask, 0, &map_fd)); in TEST_F()
102 ASSERT_EQ(0, ion_alloc_fd(m_ionFd, size, 0, heapMask, flags, &map_fd)); in TEST_F()
126 ASSERT_EQ(0, ion_alloc_fd(m_ionFd, 4096, 0, heapMask, ION_FLAG_NOZEROED, &map_fd)); in TEST_F()
149 ASSERT_EQ(0, ion_alloc_fd(m_ionFd, 4096, 0, heapMask, ION_FLAG_PROTECTED, &map_fd)); in TEST_F()
168 ASSERT_EQ(0, ion_alloc_fd(m_ionFd, 4096, 0, heapMask, 0, &map_fd)); in TEST_F()
/hardware/qcom/sm7250/display/gralloc/
Dgr_ion_alloc.cpp91 err = ion_alloc_fd(ion_dev_fd_, data->size, data->align, data->heap_id, flags, &fd); in AllocBuffer()
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/inc/
Dvideo_encoder_device.h96 struct ion_fd_data ion_alloc_fd; member
Dvideo_encoder_device_copper.h209 struct ion_fd_data ion_alloc_fd; member
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/test/
Dvenc_test.cpp301 struct ion_fd_data ion_alloc_fd; member
385 ion_data.ion_alloc_fd.handle = ion_data.alloc_data.handle; in PmemMalloc()
386 rc = ioctl(ion_data.ion_device_fd,ION_IOC_MAP,&ion_data.ion_alloc_fd); in PmemMalloc()
389 ion_data.ion_alloc_fd.fd =-1; in PmemMalloc()
390 ion_data.ion_alloc_fd.fd =-1; in PmemMalloc()
393 pMem->pmem_fd = ion_data.ion_alloc_fd.fd; in PmemMalloc()
414 ion_data.ion_alloc_fd.fd =-1; in PmemMalloc()
440 ion_data.ion_alloc_fd.fd =-1; in PmemFree()
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/inc/
Dvideo_encoder_device.h102 struct ion_fd_data ion_alloc_fd; member
Dvideo_encoder_device_v4l2.h423 struct ion_fd_data ion_alloc_fd; member
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/test/
Dvenc_test.cpp330 struct ion_fd_data ion_alloc_fd; member
416 ion_data.ion_alloc_fd.handle = ion_data.alloc_data.handle; in PmemMalloc()
417 rc = ioctl(ion_data.ion_device_fd,ION_IOC_MAP,&ion_data.ion_alloc_fd); in PmemMalloc()
421 ion_data.ion_alloc_fd.fd =-1; in PmemMalloc()
422 ion_data.ion_alloc_fd.fd =-1; in PmemMalloc()
426 pMem->pmem_fd = ion_data.ion_alloc_fd.fd; in PmemMalloc()
451 ion_data.ion_alloc_fd.fd =-1; in PmemMalloc()
480 ion_data.ion_alloc_fd.fd =-1; in PmemFree()
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/src/
Dvideo_encoder_device.cpp1280 recon_buff[count].ion_alloc_fd.handle = recon_buff[count].alloc_data.handle; in pmem_allocate()
1281 rc = ioctl(recon_buff[count].ion_device_fd,ION_IOC_MAP,&recon_buff[count].ion_alloc_fd); in pmem_allocate()
1284 recon_buff[count].ion_alloc_fd.fd =-1; in pmem_allocate()
1285 recon_buff[count].ion_alloc_fd.fd =-1; in pmem_allocate()
1288 pmem_fd = recon_buff[count].ion_alloc_fd.fd; in pmem_allocate()
1328 recon_buff[count].ion_alloc_fd.fd =-1; in pmem_allocate()
1391 recon_buff[cnt].ion_alloc_fd.fd =-1; in pmem_free()
Dvideo_encoder_device_copper.cpp1247 recon_buff[count].ion_alloc_fd.handle = recon_buff[count].alloc_data.handle; in pmem_allocate()
1248 rc = ioctl(recon_buff[count].ion_device_fd,ION_IOC_MAP,&recon_buff[count].ion_alloc_fd); in pmem_allocate()
1251 recon_buff[count].ion_alloc_fd.fd =-1; in pmem_allocate()
1252 recon_buff[count].ion_alloc_fd.fd =-1; in pmem_allocate()
1255 pmem_fd = recon_buff[count].ion_alloc_fd.fd; in pmem_allocate()
1293 recon_buff[count].ion_alloc_fd.fd =-1; in pmem_allocate()
1346 recon_buff[cnt].ion_alloc_fd.fd =-1; in pmem_free()
/hardware/qcom/sm8150/display/gralloc/
Dgr_ion_alloc.cpp95 err = ion_alloc_fd(ion_dev_fd_, data->size, data->align, data->heap_id, flags, &fd); in AllocBuffer()
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device.cpp1490 recon_buff[count].ion_alloc_fd.handle = recon_buff[count].alloc_data.handle; in pmem_allocate()
1491 rc = ioctl(recon_buff[count].ion_device_fd,ION_IOC_MAP,&recon_buff[count].ion_alloc_fd); in pmem_allocate()
1495 recon_buff[count].ion_alloc_fd.fd =-1; in pmem_allocate()
1496 recon_buff[count].ion_alloc_fd.fd =-1; in pmem_allocate()
1500 pmem_fd = recon_buff[count].ion_alloc_fd.fd; in pmem_allocate()
1539 recon_buff[count].ion_alloc_fd.fd =-1; in pmem_allocate()
1599 recon_buff[cnt].ion_alloc_fd.fd =-1; in pmem_free()
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device.cpp1489 recon_buff[count].ion_alloc_fd.handle = recon_buff[count].alloc_data.handle; in pmem_allocate()
1490 rc = ioctl(recon_buff[count].ion_device_fd,ION_IOC_MAP,&recon_buff[count].ion_alloc_fd); in pmem_allocate()
1494 recon_buff[count].ion_alloc_fd.fd =-1; in pmem_allocate()
1495 recon_buff[count].ion_alloc_fd.fd =-1; in pmem_allocate()
1499 pmem_fd = recon_buff[count].ion_alloc_fd.fd; in pmem_allocate()
1538 recon_buff[count].ion_alloc_fd.fd =-1; in pmem_allocate()
1598 recon_buff[cnt].ion_alloc_fd.fd =-1; in pmem_free()
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/inc/
Dvideo_encoder_device_v4l2.h323 struct ion_fd_data ion_alloc_fd; member
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/venc/inc/
Dvideo_encoder_device_v4l2.h405 struct ion_fd_data ion_alloc_fd; member
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/inc/
Dvideo_encoder_device_v4l2.h456 struct ion_fd_data ion_alloc_fd; member
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/vdec/src/
Domx_swvdec.cpp4629 rc = ion_alloc_fd(p_ion_info->dev_fd, p_ion_info->alloc_data.len, alignment, in ion_memory_alloc_map()
Domx_vdec_v4l2.cpp6734 rc = ion_alloc_fd(ion_info->dev_fd, ion_info->alloc_data.len, 0, in alloc_map_ion_memory()
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/vdec/src/
Domx_swvdec.cpp4752 rc = ion_alloc_fd(p_ion_info->dev_fd, p_ion_info->alloc_data.len, alignment, in ion_memory_alloc_map()
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/venc/src/
Domx_video_base.cpp5137 rc = ion_alloc_fd(ion_info->dev_fd, ion_info->alloc_data.len, 0, in alloc_map_ion_memory()