/hardware/ti/omap4-aah/ion/ |
ion.h | 33 int ion_share(int fd, struct ion_handle *handle, int *share_fd); 34 int ion_import(int fd, int share_fd, struct ion_handle **handle);
|
ion.c | 130 int ion_share(int fd, struct ion_handle *handle, int *share_fd) 139 *share_fd = data.fd; 140 if (*share_fd < 0) { 147 int ion_import(int fd, int share_fd, struct ion_handle **handle) 150 .fd = share_fd,
|
ion_test.c | 153 int fd, share_fd, ret; local 158 ret = ion_share(fd, handle, &share_fd); 161 ptr = mmap(NULL, len, prot, map_flags, share_fd, 0); 170 *(int *)CMSG_DATA(cmsg) = share_fd;
|
/hardware/ti/omap4xxx/ion/ |
ion.h | 33 int ion_share(int fd, struct ion_handle *handle, int *share_fd); 34 int ion_import(int fd, int share_fd, struct ion_handle **handle);
|
ion.c | 129 int ion_share(int fd, struct ion_handle *handle, int *share_fd) 138 *share_fd = data.fd; 139 if (*share_fd < 0) { 146 int ion_import(int fd, int share_fd, struct ion_handle **handle) 149 .fd = share_fd,
|
/system/core/libion/include/ion/ |
ion.h | 41 int ion_share(int fd, ion_user_handle_t handle, int *share_fd); 42 int ion_import(int fd, int share_fd, ion_user_handle_t *handle);
|
/system/core/libion/tests/ |
formerly_valid_handle_test.cpp | 60 int share_fd; local 62 ASSERT_EQ(-EINVAL, ion_share(m_ionFd, m_handle, &share_fd));
|
invalid_values_test.cpp | 143 int share_fd; local 146 int ret = ion_share(0, m_validHandle, &share_fd); 149 EXPECT_EQ(-EBADF, ion_share(-1, m_validHandle, &share_fd)); 151 EXPECT_EQ(-EINVAL, ion_share(m_ionFd, 0, &share_fd)); 153 EXPECT_EQ(-EINVAL, ion_share(m_ionFd, m_badHandle, &share_fd)); 154 /* NULL share_fd */ 167 /* bad share_fd */ 169 /* invalid share_fd */ 182 /* bad share_fd */ 184 /* invalid share_fd */ [all...] |
/hardware/ti/omap4-aah/system-core-headers-ti/ion/ |
ion.h | 39 int ion_share(int fd, struct ion_handle *handle, int *share_fd); 40 int ion_import(int fd, int share_fd, struct ion_handle **handle);
|
/system/core/libion/ |
ion.c | 121 int ion_share(int fd, ion_user_handle_t handle, int *share_fd) 128 if (share_fd == NULL) 138 *share_fd = data.fd; 155 int ion_import(int fd, int share_fd, ion_user_handle_t *handle) 159 .fd = share_fd,
|
ion_test.c | 136 int fd, share_fd, ret; local 141 ret = ion_share(fd, handle, &share_fd); 144 ptr = mmap(NULL, len, prot, map_flags, share_fd, 0); 153 *(int *)CMSG_DATA(cmsg) = share_fd;
|
/device/linaro/hikey/gralloc/ |
gralloc_priv.h | 157 int share_fd; member in struct:private_handle_t 205 share_fd(-1), 238 share_fd(-1), 270 share_fd(-1),
|
alloc_device.cpp | 150 hnd->share_fd = shared_fd; 336 hnd->share_fd = fb_dma_buf.fd; 561 close(hnd->share_fd);
|
gralloc_module.cpp | 170 mappedAddress = (unsigned char *)mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, hnd->share_fd, 0); 174 AERR("mmap( share_fd:%d ) failed with %s", hnd->share_fd, strerror(errno)); 348 //ion_sync_fd(m->ion_client, hnd->share_fd);
|
/hardware/ti/omap4-aah/test/CameraHal/ |
surfacetexture_test.cpp | 184 int share_fd; local 198 ret = ion_share (fd, handle, &share_fd); 206 MAP_SHARED, share_fd, 0); 210 MAP_SHARED, share_fd, 0);
|