Searched defs:map_fd (Results 1 - 5 of 5) sorted by relevance
/hardware/ti/omap4-aah/ion/ |
H A D | ion.c | 109 int flags, off_t offset, unsigned char **ptr, int *map_fd) 117 *map_fd = data.fd; 118 if (*map_fd < 0) { 122 *ptr = mmap(NULL, length, prot, flags, *map_fd, offset); 132 int map_fd; local 170 int flags, off_t offset, unsigned char **ptr, int *map_fd) 179 *map_fd = data.fd; 180 if (*map_fd < 0) { 184 *ptr = mmap(NULL, length, prot, flags, *map_fd, offset); 108 ion_map(int fd, struct ion_handle *handle, size_t length, int prot, int flags, off_t offset, unsigned char **ptr, int *map_fd) argument 169 ion_map_cacheable(int fd, struct ion_handle *handle, size_t length, int prot, int flags, off_t offset, unsigned char **ptr, int *map_fd) argument
|
H A D | ion_test.c | 86 int fd, map_fd, ret; local 96 ret = ion_map(fd, handle, len, prot, map_flags, 0, &ptr, &map_fd); 115 close(map_fd); 122 close(map_fd); 126 close(map_fd); 127 ret = ion_map(fd, handle, len, prot, flags, 0, &ptr, &map_fd);
|
H A D | ion_test_2.c | 156 int *map_fd; local 190 map_fd = (int *)malloc(count * sizeof(int *)); 194 ret = ion_map(fd, handle[i], len, prot, map_flags, 0, &(ptr[i]), &(map_fd[i])); 195 printf("%s(): Map handle[%d]=%p, map_fd=%d, ptr=%p\n", 196 __func__, i, handle[i], map_fd[i], ptr[i]); 216 printf("%s(): Unmap handle[%d]=%p, map_fd=%d, ptr=%p\n", 217 __func__, i, handle[i], map_fd[i], ptr[i]); 224 close(map_fd[i]); 226 free(map_fd);
|
/hardware/ti/omap4-aah/test/CameraHal/ |
H A D | surfacetexture_test.cpp | 180 int map_fd; local 214 ret = ion_map (fd, handle, SIZE, PROT_READ, 0, 0, &ptr, &map_fd);
|
/hardware/ti/omap4xxx/ion/ |
H A D | ion.c | 108 int flags, off_t offset, unsigned char **ptr, int *map_fd) 116 *map_fd = data.fd; 117 if (*map_fd < 0) { 121 *ptr = mmap(NULL, length, prot, flags, *map_fd, offset); 131 int map_fd; local 107 ion_map(int fd, struct ion_handle *handle, size_t length, int prot, int flags, off_t offset, unsigned char **ptr, int *map_fd) argument
|
Completed in 48 milliseconds